Navigation
| class StartEngine( Engine ) | Source |
|---|
StartEngine generates a random trial sample.
It is used to initialize the set of trial samples.
Attributes from Engine
walkers, errdis, maxtrials, nstep, slow, rng, report, phantoms, verbose
Author Do Kester.
| StartEngine( walkers, errdis, copy=None, **kwargs ) |
|---|
Constructor.
Parameters
- walkers : WalkerList
list of walkers to be initiated - errdis : ErrorDistribution
error distribution to be used - copy : StartEngine
engine to be copied
| copy( ) |
|---|
| execute( kw, lowLhood ) |
|---|
Parameters
- kw : int
index in the WalkerList - lowLhood : float
lower limit in logLikelihood
Returns
- int : the number of successfull moves
| Methods inherited from Engine |
|---|
- bestBoost( problem, myFitter=None )
- setWalker( kw, problem, allpars, logL, walker=None, fitIndex=None )
- noBoost( walker )
- doBoost( walker )
- domain2Unit( problem, dval, kpar=None )
- unit2Domain( problem, uval, kpar=None )
- startJourney( unitStart )
- calcJourney( unitDistance )
- reportJourney( )
- makeIndex( np, val )
- reportCall( )
- reportSuccess( )
- reportReject( )
- reportFailed( )
- reportBest( )
- printReport( best=False )
- successRate( )
- getUnitMinmax( problem, lowLhood )
- getUnitRange( problem, lowLhood )