StructureEngine

 
StructureEngine = class StructureEngine(Engine)
    StructureEngine(walkers, errdis, slow=None, copy=None, seed=23455, verbose=0)
 
The StructureEngine varies the internal structure of the model.
 
Only for Models that are Modifiable.
 
The member is kept when the logLikelihood > lowLhood.
 
Attributes
----------
None of its own
 
Attributes from Engine
----------------------
walkers, errdis, slow, maxtrials, rng,
         report, unitRange, unitMin, verbose

 
Author       Do Kester.
 
 
Method resolution order:
StructureEngine
Engine
builtins.object

Constructor:
StructureEngine( walkers, errdis, slow=None, copy=None, seed=23455, verbose=0)
Constructor.
 
Parameters
----------
walkers : list of Walker
    walkers to be diffused
errdis : ErrorDistribution
    error distribution to be used
slow : None or int > 0
    Run this engine every slow-th iteration. None for all.
copy : StructureEngine
    to be copied
seed : int
    for random number generator
Methods defined here:
copy()
Return copy of this.
execute( kw, lowLhood, append=False, iteration=0)
Execute the engine by changing a component.
 
Parameters
----------
kw : int
    index of walker to diffuse
lowLhood : float
    lower limit in logLikelihood
append : bool
    set walker in place or append in walkerlist
iteration : int
    iteration number
 
Returns
-------
int : the number of successfull moves
executeOnce( wlkrid, lowLhood, update, location=None )
One execution call.

Methods inherited from Engine: