Package PyDSTool :: Package Toolbox :: Package optimizers :: Package step :: Module partial_step :: Class PartialStep
[hide private]
[frames] | no frames]

Class PartialStep

source code

object --+
         |
        PartialStep

A partial step

Instance Methods [hide private]
 
__init__(self, step, nb_chunks, indice=None)
Allows only a part of the set of parameters to be updated
source code
 
__call__(self, function, point, state)
Computes a step based on a function and a point
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, step, nb_chunks, indice=None)
(Constructor)

source code 

Allows only a part of the set of parameters to be updated

  • step is the step that will be decorated
  • nb_chunks is the number of chunks in the parameter set
  • indice is the chunk to update each time. if None, a random indice is drawn each time
Overrides: object.__init__