| Trees | Indices | Help |
|
|---|
|
|
This is your basic stepper class. It's a base class containing common features; it is not used directly.
| Instance Methods | |||
|
|||
|
|||
numpy.ndarray
|
|
||
|
|||
|
|||
| int |
|
||
|
|||
| position_base |
|
||
|
Inherited from |
|||
| Instance Variables | |
|
acceptable Acceptable is a function that decides whether or not a step is OK. |
|
|
last_failed It should reflect the success or failure of the most recently completed step. |
|
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
Called internally to mark when the optimization has found a new minimum. Note: You might also call it if the function you are minimizing changes. |
Use this to tell if the stepper has been reset since you last looked at it.
|
Decides if we we need a reset. This checks to see if we have a new
|
|
| Instance Variable Details |
acceptableAcceptable is a function that decides whether or not a step is OK. You can replace it if you want, but the class should be equivalent to T_acceptor. |
last_failedIt should reflect the success or failure of the most recently completed step. It is None if the last step succeeded; it is the most recently rejected position_base object if the last step failed. This is intended for debugging mostly. It is not used by code in this module. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:07 2011 | http://epydoc.sourceforge.net |