SBMLEventInProgressWithDelay
public class SBMLEventInProgress extends EventInProgress
Modifier and Type | Field | Description |
---|---|---|
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?
|
execTimes, fired, lastTimeExecuted, lastTimeFired, lastTimeRecovered, values
Constructor | Description |
---|---|
SBMLEventInProgress(boolean fired) |
Creates a new EventInProcess with the given boolean value indicating
whether or not it can fire at the initial time point.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
aborted, addAssignment, addValues, clearAssignments, executed, fired, getAssignments, getFireStatus, getLastTimeExecuted, getLastTimeFired, getTime, getValues, hasExecutionTime, hasMoreAssignments, recovered, refresh
protected double priority
protected ASTNodeValue triggerObject
protected ASTNodeValue priorityObject
protected ASTNodeValue delayObject
protected List<AssignmentRuleValue> ruleObjects
protected boolean useValuesFromTriggerTime
protected boolean persistent
public SBMLEventInProgress(boolean fired)
fired
- 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()
Copyright © 2007–2018. All rights reserved.