Module: MinFuncOfDimensionObj

Included in:
MinSingleObjectiveFuncOfDimensions
Defined in:
lib/feldtruby/optimize/problems/single_objective_problems.rb

Overview

Objectives that minimizes a function which is parameterized on a dimension parameter should include this module.

Instance Attribute Summary collapse

Instance Attribute Details

#dimensions=(value) ⇒ Object (writeonly)

Sets the attribute dimensions

Parameters:

  • value

    the value to set the attribute dimensions to.



52
53
54
# File 'lib/feldtruby/optimize/problems/single_objective_problems.rb', line 52

def dimensions=(value)
  @dimensions = value
end