com.cra.bnet.engine
Interface TopologyListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
TopologyAdapter

public interface TopologyListener
extends EventListener

A listener for receiving events when the topology of a Bayesian network changes.


Method Summary
 void edgeAdded(TopologyEvent event)
          Invoked when an edge has been added to a Bayesian network.
 void edgeRemoved(TopologyEvent event)
          Invoked when an edge has been removed from a Bayesian network.
 void nodeAdded(TopologyEvent event)
          Invoked when a node has been added to a Bayesian network.
 void nodeRemoved(TopologyEvent event)
          Invoked when a node has been removed from a Bayesian network.
 

Method Detail

nodeAdded

public void nodeAdded(TopologyEvent event)
Invoked when a node has been added to a Bayesian network.

Parameters:
event - the node added event.

nodeRemoved

public void nodeRemoved(TopologyEvent event)
Invoked when a node has been removed from a Bayesian network.

Parameters:
event - the node removed event.

edgeAdded

public void edgeAdded(TopologyEvent event)
Invoked when an edge has been added to a Bayesian network.

Parameters:
event - the edge added event.

edgeRemoved

public void edgeRemoved(TopologyEvent event)
Invoked when an edge has been removed from a Bayesian network.

Parameters:
event - the edge removed event.