|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MirrorTransformer
Base interface for a mirror transformer for graphs.
In the cloneWeight(boolean)
method, users can also specify whether to clone node
and edge weights. For non cloneable
weights a CloneNotSupportedException
will be thrown by
the virtual machine.
MirrorTransformation
Red (ssb) |
Red (shahrooz) |
Method Summary | |
---|---|
void |
cloneWeight(boolean status)
Changes the status of the graph returned by the mirror() method. |
Graph |
mirror()
Create a mirror of the graph associated with this analyzer with the same runtime class. |
Graph |
mirror(Graph graph,
boolean cloneWeights)
Return a mirror of this graph in the form of the argument graph type (i.e., the run-time type of the returned graph is that of the argument graph). |
Methods inherited from interface ptolemy.graph.analysis.analyzer.Transformer |
---|
hasBackwardMapping, hasForwardMapping, originalVersionOf, transformedVersionOf |
Methods inherited from interface ptolemy.graph.analysis.analyzer.GraphAnalyzer |
---|
graph |
Methods inherited from interface ptolemy.graph.analysis.analyzer.Analyzer |
---|
toString, valid |
Method Detail |
---|
void cloneWeight(boolean status)
mirror()
method.
If set to true, the weights will also be cloned in the next calls to the
mirror()
method.
status
- If set to true, the weights will also be cloned.Graph mirror()
Graph mirror(Graph graph, boolean cloneWeights)
graph
- The type of the graph which the graph associated with
this analyzer is being mirrored to.cloneWeights
- If set true, the weights will also be cloned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |