ptolemy.domains.psdf.kernel
Interface PSDFScheduler.SymbolicScheduleElement

All Known Implementing Classes:
PSDFScheduler.SymbolicFiring, PSDFScheduler.SymbolicSchedule
Enclosing class:
PSDFScheduler

private static interface PSDFScheduler.SymbolicScheduleElement

An interface for schedule elements whose iteration counts are in terms of symbolic expressions.


Method Summary
 java.lang.String expression()
          Return the most recent expression that was used to set the iteration count of this symbolic 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.
 

Method Detail

expression

java.lang.String expression()
Return the most recent expression that was used to set the iteration count of this symbolic firing.

Returns:
The most recent expression.
See Also:
setIterationCount(String).

parseTree

ASTPtRootNode parseTree()
Get the parse tree of the iteration expression.

Returns:
The parse tree.

setIterationCount

void setIterationCount(java.lang.String expression)
Set the expression associated with the iteration count. The expression will probably be something like "a2::in::tokenConsumptionRate/gcd(a2::in::tokenConsumptionRate, a::out::tokenProductionRate)."

Parameters:
expression - The expression to be associated with the iteration count.