class StepSolution

Public Instance Methods

evaluate() click to toggle source
# File lib/gimuby/problem/step/step_solution.rb, line 7
def evaluate
  get_step.evaluate(@x_values.clone)
end

Protected Instance Methods

get_dimension_number() click to toggle source
# File lib/gimuby/problem/step/step_solution.rb, line 21
def get_dimension_number
  5
end
get_step() click to toggle source
# File lib/gimuby/problem/step/step_solution.rb, line 25
def get_step
  Step.new
end
get_x_value_max() click to toggle source
# File lib/gimuby/problem/step/step_solution.rb, line 17
def get_x_value_max
  5.12
end
get_x_value_min() click to toggle source
# File lib/gimuby/problem/step/step_solution.rb, line 13
def get_x_value_min
  -5.12
end