Package PyDSTool :: Package Toolbox :: Package optimizers :: Package criterion :: Module criteria :: Class AbsoluteParametersCriterion
[hide private]
[frames] | no frames]

Class AbsoluteParametersCriterion

source code

object --+
         |
        AbsoluteParametersCriterion

The absolute criterion stops the optimization when the relative error of the parameters is below a certain level (xtol)

Instance Methods [hide private]
 
__init__(self, xtol, weight=None)
Initializes the criterion with an error fraction and the weight assigned for each parameter
source code
 
__call__(self, state, **kwargs)
Computes the stopping criterion
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, xtol, weight=None)
(Constructor)

source code 

Initializes the criterion with an error fraction and the weight assigned for each parameter

Overrides: object.__init__