|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omegahat.Simulation.MCMC.NotifyingMCMCObject
A simple class providing methods implementing the interface NotifyingObject
Inner Class Summary | |
class |
NotifyingMCMCObject.MyHandle
|
Field Summary | |
protected java.util.Hashtable |
listeners
|
Constructor Summary | |
NotifyingMCMCObject()
|
Method Summary | |
protected abstract MCMCState |
generate(MCMCState current)
Generate the next state from the current one |
protected void |
notifyAll(MCMCEvent e)
|
MCMCListenerHandle |
registerListener(MCMCListener listener)
Register a listener to be notified of events. |
void |
unregisterListener(MCMCListenerHandle handle)
Unregister a listener to be notified of events. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.util.Hashtable listeners
Constructor Detail |
public NotifyingMCMCObject()
Method Detail |
public MCMCListenerHandle registerListener(MCMCListener listener)
NotifyingObject
registerListener
in interface NotifyingObject
public void unregisterListener(MCMCListenerHandle handle)
NotifyingObject
unregisterListener
in interface NotifyingObject
protected void notifyAll(MCMCEvent e)
protected abstract MCMCState generate(MCMCState current)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |