|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.DIFNodeWeight
public class DIFNodeWeight
Information associated with an DIF node. DIFNodeWeight
s are objects
associated with Node
s
that represent DIF nodes in Graph
s.
This class caches frequently-used data associated with DIF nodes.
It is also useful for representing intermediate DIF graph representations
that do not correspond to Ptolemy II models, and performing graph
transformations (e.g. conversion to and manipulation of single-rate graphs).
It is intended for use with analysis/synthesis algorithms that operate
on generic graph representations of DIF models.
Node
,
DIFEdgeWeight
Constructor Summary | |
---|---|
DIFNodeWeight()
Construct a DIF node weight that is not associated with any computation. |
|
DIFNodeWeight(java.lang.Object computation)
Construct a DIF node weight that is associated with the given computation. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Overrides the protected method Object.clone(). |
java.lang.Object |
getComputation()
Return the computation that is represented by the CSDF node. |
void |
setComputation(java.lang.Object computation)
Set the computation to be represented by the CSDF node. |
java.lang.String |
toString()
Returns the string "DIFNodeWeight". |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DIFNodeWeight()
public DIFNodeWeight(java.lang.Object computation)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.Object getComputation()
public void setComputation(java.lang.Object computation)
computation
- the computation.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |