Package PyDSTool :: Package Toolbox :: Package optimizers :: Package step :: Module local_brute_force_1dstep :: Class LocalBruteForce1DStep
[hide private]
[frames] | no frames]

Class LocalBruteForce1DStep

source code

object --+
         |
        LocalBruteForce1DStep

Local brute force search for 1D parameter (sub-)space, making no use of gradient information. Takes a "step" in a local neighbourhood to the minimum in that neighbourhood. Specify the neighbourhood by absolute limits as a pair or Interval object, and either the resolution (for uniform sampling of the interval) or the explicit sample values (as a strictly increasing sequence), via keyword args 'resolution' or 'samples'.

Use in conjunction with SimpleLineSearch.

Instance Methods [hide private]
 
__init__(self, interval, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, function, point, state)
Assumes 1D parameter input
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, interval, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)