Class: MetaheuristicAlgorithms::FunctionWrappers::AbstractWrapper
- Inherits:
-
Object
- Object
- MetaheuristicAlgorithms::FunctionWrappers::AbstractWrapper
- Defined in:
- lib/metaheuristic_algorithms/function_wrappers/abstract_wrapper.rb
Direct Known Subclasses
EasomFunctionWrapper, MichaelwiczFunctionWrapper, NonsmoothMultipeakFunctionWrapper, RosenbrookFunctionWrapper
Instance Method Summary collapse
-
#initial_decision_variable_value_estimates ⇒ Object
For the algorithm that requires initial estimate that is depending on the particular objective function: Return value: Array.
-
#maximum_decision_variable_values ⇒ Object
Return value: Array.
-
#miminum_decision_variable_values ⇒ Object
Return value: Array.
-
#objective_function_value(decision_variable_values) ⇒ Object
Input value: Array.
Instance Method Details
#initial_decision_variable_value_estimates ⇒ Object
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_values ⇒ Object
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_values ⇒ Object
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 |