|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simulator.math.odes.EventInProgress
org.simulator.sbml.SBMLEventInProgress
public class SBMLEventInProgress
This class represents a compilation of all information calculated during simulation concerning events in SBML. It can also contain the math of the trigger, the priority and the delay.
Field Summary | |
---|---|
protected Map<Integer,Double> |
assignments
The event assignments |
protected ASTNodeValue |
delayObject
The delay math of the event |
protected boolean |
persistent
The persistent attribute of the event |
protected double |
priority
The priority of the event |
protected ASTNodeValue |
priorityObject
The priority math of the event |
protected List<AssignmentRuleValue> |
ruleObjects
The assignment rules of the event |
protected ASTNodeValue |
triggerObject
The trigger of the event |
protected boolean |
useValuesFromTriggerTime
Are the values used from trigger time? |
Fields inherited from class org.simulator.math.odes.EventInProgress |
---|
execTimes, fired, lastTimeExecuted, lastTimeFired, lastTimeRecovered, values |
Constructor Summary | |
---|---|
SBMLEventInProgress(boolean fired)
Creates a new EventInProcess with the given boolean value indicating whether or not it can fire at the initial time point. |
Method Summary | |
---|---|
void |
addRuleObject(AssignmentRuleValue assignmentRuleObject)
Adds the math of an assignment rule as an AssignmentRuleObject. |
void |
changePriority(double priority)
Change the priority. |
void |
clearRuleObjects()
Clears the assignment rule objects. |
ASTNodeValue |
getDelayObject()
|
int |
getNumEventAssignments()
|
boolean |
getPersistent()
|
Double |
getPriority()
Return the priority of the associated event. |
ASTNodeValue |
getPriorityObject()
|
List<AssignmentRuleValue> |
getRuleObjects()
|
ASTNodeValue |
getTriggerObject()
|
boolean |
getUseValuesFromTriggerTime()
Returns true if the values of the assignments are calculated at the trigger time of the event, otherwise false. |
void |
refresh(boolean fired)
|
void |
setDelayObject(ASTNodeValue delayObject)
Sets the math of the delay to a specific ASTNodeObject. |
void |
setPersistent(boolean persistent)
Sets the persistent flag of the event. |
void |
setPriorityObject(ASTNodeValue priorityObject)
Sets the math of the priority to a specific ASTNodeObject. |
void |
setTriggerObject(ASTNodeValue triggerObject)
Sets the math of the trigger to a specific ASTNodeObject. |
void |
setUseValuesFromTriggerTime(boolean useValuesFromTriggerTime)
Sets the useValuesFromTriggerTime value of the event. |
Methods inherited from class org.simulator.math.odes.EventInProgress |
---|
aborted, addAssignment, addValues, clearAssignments, executed, fired, getAssignments, getFireStatus, getLastTimeExecuted, getLastTimeFired, getTime, getValues, hasExecutionTime, hasMoreAssignments, recovered, refresh |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double priority
protected Map<Integer,Double> assignments
protected ASTNodeValue triggerObject
protected ASTNodeValue priorityObject
protected ASTNodeValue delayObject
protected List<AssignmentRuleValue> ruleObjects
protected boolean useValuesFromTriggerTime
protected boolean persistent
Constructor Detail |
---|
public SBMLEventInProgress(boolean fired)
fired
- Method Detail |
---|
public void refresh(boolean fired)
refresh
in class EventInProgress
public void changePriority(double priority)
priority
- public Double getPriority()
public void setTriggerObject(ASTNodeValue triggerObject)
triggerObject
- public ASTNodeValue getTriggerObject()
public void setPriorityObject(ASTNodeValue priorityObject)
priorityObject
- public ASTNodeValue getPriorityObject()
public void setDelayObject(ASTNodeValue delayObject)
delayObject
- public ASTNodeValue getDelayObject()
public void addRuleObject(AssignmentRuleValue assignmentRuleObject)
assignmentRuleObject
- public List<AssignmentRuleValue> getRuleObjects()
public boolean getUseValuesFromTriggerTime()
public void setUseValuesFromTriggerTime(boolean useValuesFromTriggerTime)
useValuesFromTriggerTime
- public int getNumEventAssignments()
public boolean getPersistent()
public void setPersistent(boolean persistent)
persistent
- public void clearRuleObjects()
|
Generated December 13 2012 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |