|
|||||||||
| 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.Schedule
ptolemy.domains.psdf.kernel.PSDFScheduler.SymbolicSchedule
private class PSDFScheduler.SymbolicSchedule
A schedule whose iteration count is given by an expression.
| Field Summary | |
|---|---|
private java.lang.String |
_expression
|
private ASTPtRootNode |
_parseTree
|
| Fields inherited from class ptolemy.actor.sched.Schedule |
|---|
_schedule |
| Fields inherited from class ptolemy.actor.sched.ScheduleElement |
|---|
_parent |
| Constructor Summary | |
|---|---|
PSDFScheduler.SymbolicSchedule(java.lang.String expression)
Construct a symbolic schedule with 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 symbolic schedule. |
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()
Return a string representation of this symbolic schedule. |
| Methods inherited from class ptolemy.actor.sched.Schedule |
|---|
actorIterator, add, add, firingIterator, get, iterator, remove, size |
| 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.SymbolicSchedule(java.lang.String expression)
expression - A string expression representing the
number of times to execute the schedule.| 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 Schedule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||