com.cra.bnet.engine
Interface EvidenceListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
EvidenceAdapter

public interface EvidenceListener
extends EventListener

A listener for receiving events when evidence is posted to or retracted from a Bayesian network.


Method Summary
 void allEvidenceRetracted(EvidenceEvent event)
          Invoked when all evidence was retracted from a Bayesian network.
 void evidencePosted(EvidenceEvent event)
          Invoked when evidence was posted to a node in a Bayesian network.
 void evidenceRetracted(EvidenceEvent event)
          Invoked when evidence was retracted from a node in a Bayesian network.
 

Method Detail

allEvidenceRetracted

public void allEvidenceRetracted(EvidenceEvent event)
Invoked when all evidence was retracted from a Bayesian network.

Parameters:
event - evidence event.

evidencePosted

public void evidencePosted(EvidenceEvent event)
Invoked when evidence was posted to a node in a Bayesian network.

Parameters:
event - evidence event.

evidenceRetracted

public void evidenceRetracted(EvidenceEvent event)
Invoked when evidence was retracted from a node in a Bayesian network.

Parameters:
event - evidence event.