Class: MetaheuristicAlgorithms::FunctionWrappers::AbstractWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#initial_decision_variable_value_estimatesObject

For the algorithm that requires initial estimate that is depending on the particular objective function: Return value: Array



24
25
26
# File 'lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb', line 24

def initial_decision_variable_value_estimates
  raise "#{__method__} method must be implemented in the subclass"
end

#maximum_decision_variable_valuesObject

Return value: Array



8
9
10
# File 'lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb', line 8

def maximum_decision_variable_values
  raise "#{__method__} method must be implemented in the subclass"
end

#miminum_decision_variable_valuesObject

Return value: Array



13
14
15
# File 'lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb', line 13

def miminum_decision_variable_values
  raise "#{__method__} method must be implemented in the subclass"
end

#objective_function_value(decision_variable_values) ⇒ Object

Input value: Array



18
19
20
# File 'lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb', line 18

def objective_function_value(decision_variable_values)
  raise "#{__method__} method must be implemented in the subclass"
end