|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CTTransparentDirector
Interface for CT transparent directors. This director extends the CTGeneralDirector interface.
Transparent directors in the CT domain can transfer their internal step size control information to the executive director. This interface defines methods to support the step size control queries by the executive CTDirector, such that after the internal CT subsystem finishes one integration step, its step size control information will be accessible by the outside CT director.
Directors that implement this interface are typically contained by CTCompositeActors.
CTCompositeActor
Green (hyzheng) |
Green (hyzheng) |
Method Summary | |
---|---|
void |
emitCurrentStates()
Implementations of this method should emit the current states of the dynamic actors executed by this director. |
void |
goToMarkedState()
Implementations of this method should ask all stateful actors executed by this director to go to their marked states. |
boolean |
hasCurrentEvent()
Implementations of this method should return true if there is an event at the current time. |
boolean |
isOutputAccurate()
Implementations of this method should return true if all output actors declare the current integration step size is accurate. |
boolean |
isStateAccurate()
Implementations of this method should return true if all stateful actors declare the current integration step size is accurate. |
void |
markState()
Implementations of this method should mark the current state of the actors under the control of this director. |
double |
predictedStepSize()
Implementations of this method should return the predicted next step size if this step is accurate. |
boolean |
prefireDynamicActors()
Implementations of this method should prefire the dynamic actors under the control of this director. |
double |
refinedStepSize()
Implementations of this method should return the refined step size if this step is not accurate. |
Methods inherited from interface ptolemy.domains.ct.kernel.CTGeneralDirector |
---|
getCurrentStepSize, getErrorTolerance, getExecutionPhase, getExecutiveCTGeneralDirector, getIterationBeginTime, getODESolverClassName, isDiscretePhase |
Method Detail |
---|
void emitCurrentStates() throws IllegalActionException
IllegalActionException
- If the data transfer is not
completed.void goToMarkedState() throws IllegalActionException
IllegalActionException
- If there is no marked state.boolean hasCurrentEvent()
boolean isOutputAccurate()
boolean isStateAccurate()
void markState()
double predictedStepSize()
boolean prefireDynamicActors() throws IllegalActionException
IllegalActionException
- If the scheduler throws it, or a
dynamic actor throws it in its prefire() method, or it can not be
prefired.double refinedStepSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |