|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmocgraph.analysis.strategy.CachedStrategy
mapss.dif.csdf.sdf.SDFToSingleRateTransformerStrategy
public class SDFToSingleRateTransformerStrategy
A transformation to generate an SingleRateGraph from an SDFGraph.
Field Summary | |
---|---|
protected mocgraph.Graph |
_resultGraph
|
Constructor Summary | |
---|---|
SDFToSingleRateTransformerStrategy(mocgraph.Graph graph)
Construct a transformation for a given graph. |
Method Summary | |
---|---|
protected mocgraph.Edge |
_addDataflowEdge(mocgraph.Node hSource,
mocgraph.Node hSink,
int newDelay)
This method should be overridden in derived classes to change the way that edges are added to the graph constructed from an SDF graph. |
protected java.lang.Object |
_compute()
Computes the transformation of an SDFGraph to a SingleRateGraph. |
protected void |
_resetResultGraph()
This method should be overridden in derived classes to change the type of graph the resulting graph is reset to. |
boolean |
hasBackwardMapping()
Specify if this transformation has a mapping from the transformed version to the original version or not. |
boolean |
hasForwardMapping()
Specify if this transformation has a mapping from the original version to the transformed version or not. |
java.lang.Object |
originalVersionOf(java.lang.Object transformedObject)
Return the original version of given object in the transformed graph. |
java.lang.Object |
result()
Return the resulting graph after the transformation. |
java.lang.String |
toString()
Return a description of the analysis. |
java.lang.Object |
transformedVersionOf(java.lang.Object originalObject)
Return the transformed version of a given object in the original graph. |
boolean |
valid()
Check compatibility for between the analysis and the given graph. |
Methods inherited from class mocgraph.analysis.strategy.CachedStrategy |
---|
_convertResult, _result, cachingStatus, disableCaching, enableCaching, getCachedResult, graph, obsolete, reset, setCachedResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mocgraph.analysis.analyzer.GraphAnalyzer |
---|
graph |
Field Detail |
---|
protected mocgraph.Graph _resultGraph
Constructor Detail |
---|
public SDFToSingleRateTransformerStrategy(mocgraph.Graph graph)
graph
- The given graph.Method Detail |
---|
public boolean hasBackwardMapping()
hasBackwardMapping
in interface mocgraph.analysis.analyzer.Transformer
public boolean hasForwardMapping()
hasForwardMapping
in interface mocgraph.analysis.analyzer.Transformer
public java.lang.Object originalVersionOf(java.lang.Object transformedObject)
originalVersionOf
in interface mocgraph.analysis.analyzer.Transformer
transformedObject
- The given object in the transformed graph.
public java.lang.Object result()
public java.lang.String toString()
toString
in interface mocgraph.analysis.analyzer.Analyzer
toString
in class mocgraph.analysis.strategy.CachedStrategy
public java.lang.Object transformedVersionOf(java.lang.Object originalObject)
transformedVersionOf
in interface mocgraph.analysis.analyzer.Transformer
originalObject
- The given object in the original graph.
public boolean valid()
valid
in interface mocgraph.analysis.analyzer.Analyzer
SDFGraph
.protected mocgraph.Edge _addDataflowEdge(mocgraph.Node hSource, mocgraph.Node hSink, int newDelay)
hSource
- The source nodehSink
- The sink nodenewDelay
- The delay on the edgeprotected java.lang.Object _compute()
S. Sriram and S. S. Bhattacharyya. Embedded Multiprocessors: Scheduling and Synchronization. Marcel Dekker, Inc., 2000. 327 pages.
_compute
in class mocgraph.analysis.strategy.CachedStrategy
protected void _resetResultGraph()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |