uk.co.agena.minerva.model
Interface PropagationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Model

public interface PropagationListener
extends java.util.EventListener

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


Field Summary
static boolean successfulSimulationCompletion
          This boolean should be set to true if the simulation is completed sucessfully, false otherwise.
 
Method Summary
 void propagationIncremented(PropagationEvent ebne, int timePeriodPropagated)
          Fired whenever a cycle of a Propagation has finished.
 void simulationFinished(PropagationEvent ebne, boolean completedSuccessfully, java.util.List propagatedExtendedBNs)
          Fired whenever an execution of a Propagation has finished.
 void simulationStarted(PropagationEvent msmpe)
          Fired whenever an execution of a Propagation is about to be Started.
 

Field Detail

successfulSimulationCompletion

static final boolean successfulSimulationCompletion
This boolean should be set to true if the simulation is completed sucessfully, false otherwise.

See Also:
Constant Field Values
Method Detail

simulationFinished

void simulationFinished(PropagationEvent ebne,
                        boolean completedSuccessfully,
                        java.util.List propagatedExtendedBNs)
Fired whenever an execution of a Propagation has finished.

Parameters:
ebne - an event encapsulating the completion of the Propagation execution
propagatedExtendedBNs - TODO

propagationIncremented

void propagationIncremented(PropagationEvent ebne,
                            int timePeriodPropagated)
Fired whenever a cycle of a Propagation has finished.

Parameters:
ebne - an event encapsulating the completion of the Propagation cycle

simulationStarted

void simulationStarted(PropagationEvent msmpe)
Fired whenever an execution of a Propagation is about to be Started.

Parameters:
msmpe -


Copyright © 2006 Agena Ltd. All Rights Reserved.