Module purecma :: Class BestSolution
[hide private]
[frames] | no frames]

Class BestSolution

source code

object --+
         |
        BestSolution

container to keep track of the best solution seen
Instance Methods [hide private]
 
__init__(self, x=None, f=None, evals=None)
take x, f, and evals to initialize the best solution
source code
 
update(self, x, f, evals=None)
update the best solution if f < self.f
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  all
(x, f, evals) of the best seen solution

Inherited from object: __class__

Method Details [hide private]

__init__(self, x=None, f=None, evals=None)
(Constructor)

source code 
take x, f, and evals to initialize the best solution
Overrides: object.__init__

Property Details [hide private]

all

(x, f, evals) of the best seen solution
Get Method:
unreachable.all(self) - (x, f, evals) of the best seen solution