|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.backtrack.ui.BacktrackTransformer
public class BacktrackTransformer
Model transformer for backtracking. This class parses the MoML of the given model, and applies a renaming filter to the MoML. The actors with their backtracking versions will be replaced. Actors without existing backtracking versions will remain unchanged. Other entities in the model, such as relations between ports, are kept. The resulting model supports backtracking for the transformed actors.
Red (tfeng) |
Red (tfeng) |
Nested Class Summary | |
---|---|
private static class |
BacktrackTransformer.RenameClassMoMLFilter
The MoML filter that renames the actor classes in the model, if there are backtracking versions for them. |
Constructor Summary | |
---|---|
BacktrackTransformer()
|
Method Summary | |
---|---|
static NamedObj |
transformModel(NamedObj model)
Transform a model by replacing the actors with existing backtracking versions, and return the resulting model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BacktrackTransformer()
Method Detail |
---|
public static NamedObj transformModel(NamedObj model) throws IllegalActionException
model
- The model to be transformed.
IllegalActionException
- If the parser fails to parse the
transformed model.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |