com.cra.bnet.engine
Class BeliefAdapter

java.lang.Object
  |
  +--com.cra.bnet.engine.BeliefAdapter
All Implemented Interfaces:
BeliefListener, EventListener

public abstract class BeliefAdapter
extends Object
implements BeliefListener

An abstract adapter class for receiving belief events. Subclasses can override whichever BeliefListener methods they wish and ignore the rest.


Constructor Summary
BeliefAdapter()
           
 
Method Summary
 void beliefsChanged(BeliefEvent event)
          Invoked when beliefs have changed.
 void beliefsInvalid(BeliefEvent event)
          Invoked when a modification was made to the Bayesian network that caused beliefs to become invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeliefAdapter

public BeliefAdapter()
Method Detail

beliefsChanged

public void beliefsChanged(BeliefEvent event)
Description copied from interface: BeliefListener
Invoked when beliefs have changed.

Specified by:
beliefsChanged in interface BeliefListener
Parameters:
event - belief event.

beliefsInvalid

public void beliefsInvalid(BeliefEvent event)
Description copied from interface: BeliefListener
Invoked when a modification was made to the Bayesian network that caused beliefs to become invalid.

Specified by:
beliefsInvalid in interface BeliefListener
Parameters:
event - belief event.