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

Class IterationCriterion

source code

object --+
         |
        IterationCriterion

A simple criterion that stops when the iteration limit is reached

Instance Methods [hide private]
 
__init__(self, iterations_max)
Initializes the criterion with a max number of iterations (iterations_max)
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, iterations_max)
(Constructor)

source code 

Initializes the criterion with a max number of iterations (iterations_max)

Overrides: object.__init__