Skip to content

Latest commit

 

History

History
88 lines (71 loc) · 4.43 KB

File metadata and controls

88 lines (71 loc) · 4.43 KB




class OrderEngine( Engine )[source]

The OrderEngine is the base engine for all order problems

Attributes from Engine
walkers, errdis, maxtrials, nstep, slow, rng, report, phantoms, verbose

Author Do Kester.

OrderEngine( walkers, errdis, copy=None, **kwargs ) [source]

Constructor.

Parameters

  • walkers : SampleList
         walkers to be diffused
  • errdis : ErrorDistribution
         error distribution to be used
  • copy : OrderEngine
         to be copied
  • kwargs : dict for Engine
         "phantoms", "slow", "seed", "verbose"

copy( ) [source]

Return copy of this.

execute( kw, lowLhood, iteration=0 ) [source]
Execute the engine by diffusing the parameters.

Parameters

  • kw : walker-id
         walker to diffuse
  • lowLhood : float
         lower limit in logLikelihood
  • append : bool
         not used here
  • iteration : int
         iteration number

Returns

  • int : the number of successfull moves
       

calculateUnitRange( ) [source]
Irrelevant for OrderProblems
Methods inherited from Engine