| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
dict --+
|
_CMAStopDict
keep and update a termination condition dictionary, which is "usually" empty and returned by CMAEvolutionStrategy.stop(). The class methods entirely depend on CMAEvolutionStrategy class attributes.
This class is not relevant for the end-user and could be a nested class, but nested classes cannot be serialized.
>>> import cma >>> es = cma.CMAEvolutionStrategy(4 * [1], 1, {'verbose':-1}) >>> print(es.stop()) {} >>> es.optimize(cma.fcts.sphere, verb_disp=0) >>> print(es.stop()) {'tolfun': 1e-11}
See Also: OOOptimizer.stop(), CMAEvolutionStrategy.stop()
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
| None |
|
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Remove all items from D.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Mar 3 01:17:17 2015 | http://epydoc.sourceforge.net |