class documentation
class BestSolution(object):
Helper class to keep track of the best solution (minimization).
All is stored in attributes x, f, evaluation. The only reason
for this class is to prevent code duplication of the update
method.
| Method | __init__ |
Undocumented |
| Method | update |
update attributes f, x, evaluation if f < self.f |
| Instance Variable | evaluation |
Undocumented |
| Instance Variable | f |
Undocumented |
| Instance Variable | x |
Undocumented |