| Home | Trees | Indices | Help |
|
|---|
|
|
Abstract interface for fit thread handler.
The methods in this class are called by the optimizer as the fit progresses.
Note that it is up to the optimizer to call the fit handler correctly, reporting all status changes and maintaining the 'done' flag.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
done = FalseTrue when the fit job is complete |
|
result = NoneThe current best result of the fit |
|
| Properties | |
|
Inherited from |
| Method Details |
Called when a result is observed which is better than previous results from the fit. result is a FitResult object, with parameters, #calls and fitness. |
Called each cycle of the fit, reporting the current and the expected amount of work. The meaning of these values is optimizer dependent, but they can be converted into a percent complete using (100*current)//expected. Progress is updated each iteration of the fit, whatever that means for the particular optimization algorithm. It is called after any calls to improvement for the iteration so that the update handler can control I/O bandwidth by suppressing intermediate improvements until the fit is complete. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 16 15:03:59 2009 | http://epydoc.sourceforge.net |