uk.co.agena.minerva.model
Class Propagation.PropagationEventGenerator

java.lang.Object
  extended by uk.co.agena.minerva.model.Propagation.PropagationEventGenerator
Enclosing class:
Propagation

public class Propagation.PropagationEventGenerator
extends java.lang.Object

The PropagationEventGenerator is used to inform listeners of events relating to propagation.


Constructor Summary
Propagation.PropagationEventGenerator()
           
 
Method Summary
 void firePropagationIncremented(Propagation msmp, int timePeriodPropagated)
          Fires a Propagation event to indicate that a cycle of a Propagation has finished.
 void fireSimulationFinished(Propagation msmp, boolean completedSuccessfully, java.util.List propagatedExtendedBNs)
          Fires a Propagation event to indicate that a Propagation has finished.
 void fireSimulationStarted(Propagation msmp)
          Fires a Propagation event to indicate that a 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

Propagation.PropagationEventGenerator

public Propagation.PropagationEventGenerator()
Method Detail

fireSimulationFinished

public void fireSimulationFinished(Propagation msmp,
                                   boolean completedSuccessfully,
                                   java.util.List propagatedExtendedBNs)
Fires a Propagation event to indicate that a Propagation has finished.

Parameters:
msmp - the Propagation whose execution has finished

fireSimulationStarted

public void fireSimulationStarted(Propagation msmp)
Fires a Propagation event to indicate that a Propagation is about to start.

Parameters:
msmp - the Propagation whose execution has finished

firePropagationIncremented

public void firePropagationIncremented(Propagation msmp,
                                       int timePeriodPropagated)
Fires a Propagation event to indicate that a cycle of a Propagation has finished.

Parameters:
msmp - the Propagation whose cycle has finished
timePeriodPropagated - the index of the cycle that occurred


Copyright © 2006 Agena Ltd. All Rights Reserved.