class FoxholesSolution
Public Instance Methods
evaluate()
click to toggle source
# File lib/gimuby/problem/foxholes/foxholes_solution.rb, line 7 def evaluate get_foxholes.evaluate(@x_values.clone) end
Protected Instance Methods
get_dimension_number()
click to toggle source
# File lib/gimuby/problem/foxholes/foxholes_solution.rb, line 21 def get_dimension_number 2 end
get_foxholes()
click to toggle source
# File lib/gimuby/problem/foxholes/foxholes_solution.rb, line 25 def get_foxholes # load through dependency $dependencies.foxholes end
get_x_value_max()
click to toggle source
# File lib/gimuby/problem/foxholes/foxholes_solution.rb, line 17 def get_x_value_max 65536 end
get_x_value_min()
click to toggle source
# File lib/gimuby/problem/foxholes/foxholes_solution.rb, line 13 def get_x_value_min -65536 end