Class: MinMulti2ObjectiveFuncOfDimensions
- Inherits:
-
MinFuncOfDimensionObj
- Object
- MinFuncOfDimensionObj
- MinMulti2ObjectiveFuncOfDimensions
- Defined in:
- lib/feldtruby/optimize/problems/multi_objective_problems.rb
Instance Method Summary collapse
- #calc_func1(x) ⇒ Object
- #calc_func2(x) ⇒ Object
-
#min_solutions ⇒ Object
Known optima that gives the minimum value.
- #minimum1 ⇒ Object
- #minimum2 ⇒ Object
- #objective_min_func1(x) ⇒ Object
- #objective_min_func2(x) ⇒ Object
Instance Method Details
#calc_func1(x) ⇒ Object
25 26 27 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 25 def calc_func1(x) raise NotImplementedError end |
#calc_func2(x) ⇒ Object
29 30 31 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 29 def calc_func2(x) raise NotImplementedError end |
#min_solutions ⇒ Object
Known optima that gives the minimum value.
13 14 15 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 13 def min_solutions @min_solutions ||= ([[0.0] * dimension]) end |
#minimum1 ⇒ Object
4 5 6 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 4 def minimum1 0.0 end |
#minimum2 ⇒ Object
8 9 10 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 8 def minimum2 0.0 end |
#objective_min_func1(x) ⇒ Object
17 18 19 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 17 def objective_min_func1(x) calc_func1(x) - minimum1 end |
#objective_min_func2(x) ⇒ Object
21 22 23 |
# File 'lib/feldtruby/optimize/problems/multi_objective_problems.rb', line 21 def objective_min_func2(x) calc_func2(x) - minimum2 end |