|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.actor.sched.ScheduleElement
ptolemy.actor.sched.Firing
ptolemy.domains.psdf.kernel.PSDFScheduler.SymbolicFiring
private class PSDFScheduler.SymbolicFiring
An actor firing with an iteration count that is determined by a symbolic expression.
| Field Summary | |
|---|---|
private java.lang.String |
_expression
|
private ASTPtRootNode |
_parseTree
|
| Fields inherited from class ptolemy.actor.sched.ScheduleElement |
|---|
_parent |
| Constructor Summary | |
|---|---|
PSDFScheduler.SymbolicFiring(Actor actor,
java.lang.String expression)
Construct a firing with the given actor and the given expression. |
|
| Method Summary | |
|---|---|
java.lang.String |
expression()
Return the most recent expression that was used to set the iteration count of this symbolic firing. |
int |
getIterationCount()
Return the current iteration count of this firing. |
ASTPtRootNode |
parseTree()
Get the parse tree of the iteration expression. |
void |
setIterationCount(java.lang.String expression)
Set the expression associated with the iteration count. |
java.lang.String |
toString()
Output a string representation of this symbolic firing. |
| Methods inherited from class ptolemy.actor.sched.Firing |
|---|
actorIterator, firingIterator, getActor, setActor |
| Methods inherited from class ptolemy.actor.sched.ScheduleElement |
|---|
_getVersion, _incrementVersion, setIterationCount, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String _expression
private ASTPtRootNode _parseTree
| Constructor Detail |
|---|
public PSDFScheduler.SymbolicFiring(Actor actor,
java.lang.String expression)
actor - The actor in the firing.expression - A string expression representing the
number of times to fire the actor.| Method Detail |
|---|
public java.lang.String expression()
expression in interface PSDFScheduler.SymbolicScheduleElementsetIterationCount(String).public int getIterationCount()
getIterationCount in class ScheduleElementScheduleElement.setIterationCount(int)public ASTPtRootNode parseTree()
parseTree in interface PSDFScheduler.SymbolicScheduleElementpublic void setIterationCount(java.lang.String expression)
setIterationCount in interface PSDFScheduler.SymbolicScheduleElementexpression - The expression to be associated with the
iteration count.public java.lang.String toString()
toString in class Firing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||