Module cma :: Class BaseDataLogger
[hide private]
[frames] | no frames]

Class BaseDataLogger

source code

object --+
         |
        BaseDataLogger
Known Subclasses:

"abstract" base class for a data logger that can be used with an OOOptimizer

Details: attribute modulo is used in OOOptimizer.optimize

Instance Methods [hide private]
 
add(self, optim=None, more_data=[])
abstract method, add a "data point" from the state of optim into the logger, the argument optim can be omitted if it was register()-ed before, acts like an event handler
source code
 
register(self, optim)
abstract method, register an optimizer optim, only needed if add() is called without a value for the optim argument
source code
 
disp(self)
display some data trace (not implemented)
source code
 
plot(self)
plot data (not implemented)
source code
 
data(self)
return logged data in a dictionary (not implemented)
source code

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

Properties [hide private]

Inherited from object: __class__