uk.co.agena.minerva.model
Interface ModelListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DynDiscPropagation, MarginalDataStore, ModelAdapter

public interface ModelListener
extends java.util.EventListener

Defines a listener for ModelEvents. Any object interested in such events should implement this interface.


Method Summary
 void modelChanged(ModelEvent ebne)
          Called whenever a Model changes.
 void modelInconsistentEvidencePropagated(ModelEvent ebne)
          Called whenever inconsistent evidence is propagated in one of the ExtendedBNs in a Model.
 void modelPropagationFinished(ModelEvent me, boolean completionSuccessful)
          Called whenever the propagation has finished.
 void modelPropagationStarting(ModelEvent me)
          Called whenever the propagation is about to start.
 

Method Detail

modelInconsistentEvidencePropagated

void modelInconsistentEvidencePropagated(ModelEvent ebne)
Called whenever inconsistent evidence is propagated in one of the ExtendedBNs in a Model.

Parameters:
ebne - the event encapsulating the inconsistent evidence propagation

modelChanged

void modelChanged(ModelEvent ebne)
Called whenever a Model changes.

Parameters:
ebne - the event encapsulating the change

modelPropagationStarting

void modelPropagationStarting(ModelEvent me)
Called whenever the propagation is about to start.

Parameters:
me -

modelPropagationFinished

void modelPropagationFinished(ModelEvent me,
                              boolean completionSuccessful)
Called whenever the propagation has finished.

Parameters:
me -
completionSuccessful - TODO


Copyright © 2006 Agena Ltd. All Rights Reserved.