org.omegahat.Simulation.MCMC.Listeners
Class DistanceListener
java.lang.Object
|
+--org.omegahat.Simulation.MCMC.Listeners.DistanceListener
- All Implemented Interfaces:
- MCMCListener, ResettableListener
- Direct Known Subclasses:
- DistanceWriter
- public class DistanceListener
- extends java.lang.Object
- implements MCMCListener, ResettableListener
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
cumExpectedAcceptance
protected double cumExpectedAcceptance
cumExpectedDistance
protected double cumExpectedDistance
cumsumAll
protected double cumsumAll
niterAll
protected int niterAll
cumsumAccepted
protected double cumsumAccepted
niterAccepted
protected int niterAccepted
numChain
protected int numChain
DistanceListener
public DistanceListener()
expectedDistance
public double expectedDistance()
expectedAcceptance
public double expectedAcceptance()
averageDistance
public double averageDistance()
conditionalDistance
public double conditionalDistance()
acceptance
public double acceptance()
notify
public void notify(MCMCEvent e)
- Description copied from interface:
MCMCListener
- Function to be called for notification
- Specified by:
notify
in interface MCMCListener
reset
public void reset()
- Description copied from interface:
ResettableListener
- Reset any stored state to the initial condition
- Specified by:
reset
in interface ResettableListener