Module ateams.statistics.accepts
Functions
def MetropolisHastings(model, distribution, burnIn=0)-
Args
model:Model- Evolution model we're using.
distribution:Callable- Distribution function which consumes a cocycle (a list of assignments to faces).
burnIn:int=0- How long we wait to begin the Metropolis-Hastings scheme.
Returns
A closure which decides whether the proposed state is accepted or not.
def always(model=None, distribution=None, burnIn=None)-
An acceptance function which always accepts the proposed state; we do nothing with the arguments to this function.
Args
model:Model- Optional argument; does nothing.
distribution:Callable- Optional argument; does nothing.
burnIn:int- Optional argument; does nothing.
Returns
A function which always returns True.