mapss.dif.psdf
Class PSDFNodeWeight
java.lang.Object
mapss.dif.DIFNodeWeight
mapss.dif.psdf.PSDFNodeWeight
- All Implemented Interfaces:
- java.lang.Cloneable
public class PSDFNodeWeight
- extends DIFNodeWeight
Information associated with a PSDF node.
PSDFNodeWeight
s are objects associated with Node
s
that represent PSDF nodes in Graph
s.
This class caches frequently-used data associated with PSDF nodes.
It is also useful for representing intermediate PSDF graph representations
that do not correspond to Ptolemy II models, and performing graph
analyses such as quasi-static scheduling.
It is intended for use with analysis/synthesis algorithms that operate
on generic graph representations of PSDF models.
- Version:
- $Id: PSDFNodeWeight.java 409 2007-05-13 19:47:16Z plishker $
- Author:
- Shuvra S. Bhattacharyya
- See Also:
Node
,
DIFNodeWeight
,
PSDFEdgeWeight
Constructor Summary |
PSDFNodeWeight()
Construct a PSDF node weight with no computation to be represented
by the associated PSDF node. |
PSDFNodeWeight(java.lang.Object computation)
Create a PSDF node weight given a computation that is to be represented
by the PSDF node. |
Method Summary |
java.lang.String |
toString()
Return a string representation of the PSDF node that is represented
by this node weight. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PSDFNodeWeight
public PSDFNodeWeight(java.lang.Object computation)
- Create a PSDF node weight given a computation that is to be represented
by the PSDF node. The computation may be
any Object that represents
a computation in some way (or null if no computation is to be
represented by the node).
The represented computation may, for example, be a Ptolemy II
AtomicActor.
- Parameters:
computation
- the computation to be represented by the PSDF node.
PSDFNodeWeight
public PSDFNodeWeight()
- Construct a PSDF node weight with no computation to be represented
by the associated PSDF node.
toString
public java.lang.String toString()
- Return a string representation of the PSDF node that is represented
by this node weight.
- Overrides:
toString
in class DIFNodeWeight
- Returns:
- the string representation.