class documentation

class BestSolution(object):

View In Hierarchy

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
def __init__(self):

Undocumented

def update(self, f, x, evaluation):

update attributes f, x, evaluation if f < self.f

evaluation =

Undocumented

f =

Undocumented

x =

Undocumented