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