class documentation

class BestSolution(object):

View In Hierarchy

container to keep track of the best solution seen

Method __init__ take x, f, and evals to initialize the best solution
Method update update the best solution if f < self.f
Instance Variable evals Undocumented
Instance Variable f Undocumented
Instance Variable x Undocumented
Property all (x, f, evals) of the best seen solution
def __init__(self, x=None, f=None, evals=None):

take x, f, and evals to initialize the best solution

def update(self, x, f, evals=None):

update the best solution if f < self.f

evals =

Undocumented

f =

Undocumented

x =

Undocumented

@property
all =

(x, f, evals) of the best seen solution