org.simulator.sbml
Class SBMLEventInProgressWithDelay

java.lang.Object
  extended by org.simulator.math.odes.EventInProgress
      extended by org.simulator.sbml.SBMLEventInProgress
          extended by org.simulator.sbml.SBMLEventInProgressWithDelay

public class SBMLEventInProgressWithDelay
extends SBMLEventInProgress

This class represents a compilation of all information calculated during simulation concerning events in SBML. An SBMLEventInProcessWithDelay especially stands for an event with delay.

Since:
0.9
Version:
$Rev: 203 $
Author:
Alexander Dörr

Field Summary
 
Fields inherited from class org.simulator.sbml.SBMLEventInProgress
assignments, delayObject, persistent, priority, priorityObject, ruleObjects, triggerObject, useValuesFromTriggerTime
 
Fields inherited from class org.simulator.math.odes.EventInProgress
execTimes, fired, lastTimeExecuted, lastTimeFired, lastTimeRecovered, values
 
Constructor Summary
SBMLEventInProgressWithDelay(boolean fired)
          Creates a new SBMLEventInProcessWithDelay with the given boolean value indicating whether or not it can fire at time point 0d.
 
Method Summary
 void aborted(double time)
          The event has been aborted between trigger and execution.
 void addValues(Double[] values, double time)
          The event associated with this class has been triggered.
 void executed(double time)
          The event associated with this class has been executed therefore reset some values.
 void refresh(boolean fired)
           
 void refresh(double currentTime)
          Refreshes the status of the event regarding the current time.
 
Methods inherited from class org.simulator.sbml.SBMLEventInProgress
addRuleObject, changePriority, clearRuleObjects, getDelayObject, getNumEventAssignments, getPersistent, getPriority, getPriorityObject, getRuleObjects, getTriggerObject, getUseValuesFromTriggerTime, setDelayObject, setPersistent, setPriorityObject, setTriggerObject, setUseValuesFromTriggerTime
 
Methods inherited from class org.simulator.math.odes.EventInProgress
addAssignment, clearAssignments, fired, getAssignments, getFireStatus, getLastTimeExecuted, getLastTimeFired, getTime, getValues, hasExecutionTime, hasMoreAssignments, recovered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SBMLEventInProgressWithDelay

public SBMLEventInProgressWithDelay(boolean fired)
Creates a new SBMLEventInProcessWithDelay with the given boolean value indicating whether or not it can fire at time point 0d.

Parameters:
fired -
Method Detail

refresh

public void refresh(boolean fired)
Overrides:
refresh in class SBMLEventInProgress

aborted

public void aborted(double time)
Description copied from class: EventInProgress
The event has been aborted between trigger and execution. For this class it has the same effect as the event has been executed.

Overrides:
aborted in class EventInProgress

addValues

public void addValues(Double[] values,
                      double time)
Description copied from class: EventInProgress
The event associated with this class has been triggered. Therefore set the time of execution and the values used at this point in time. Please note that values can be null when the event does not use values from trigger time.

Overrides:
addValues in class EventInProgress

executed

public void executed(double time)
Description copied from class: EventInProgress
The event associated with this class has been executed therefore reset some values.

Overrides:
executed in class EventInProgress

refresh

public void refresh(double currentTime)
Description copied from class: EventInProgress
Refreshes the status of the event regarding the current time.

Overrides:
refresh in class EventInProgress