|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.agena.minerva.model.ModelAdapter
public class ModelAdapter
Defines an adapter for Models. Any object interested in events can instantiate a subclass of this adapter rather than implementing ModelListener. Only those methods that are needed by the subclass then need to be implemented.
Constructor Summary | |
---|---|
ModelAdapter()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelAdapter()
Method Detail |
---|
public void modelInconsistentEvidencePropagated(ModelEvent ebne)
ModelListener
modelInconsistentEvidencePropagated
in interface ModelListener
ebne
- the event encapsulating the inconsistent evidence propagationpublic void modelChanged(ModelEvent ebne)
ModelListener
modelChanged
in interface ModelListener
ebne
- the event encapsulating the changepublic void modelPropagationStarting(ModelEvent me)
ModelListener
modelPropagationStarting
in interface ModelListener
public void modelPropagationFinished(ModelEvent me, boolean completionSuccessful)
ModelListener
modelPropagationFinished
in interface ModelListener
completionSuccessful
- TODO
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |