|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.DIFEdgeWeight
public class DIFEdgeWeight
Information associated with an DIF edge.
DIFEdgeWeights are objects associated with Edge
s
that represent DIF edges in Graph
s.
This class caches frequently-used data associated with DIF edges.
It is also useful for performing graph
transformations (e.g., vectorization and re-timing).
It is intended for use with analysis/synthesis algorithms that operate
on generic graph representations of DIF models.
Edge
Constructor Summary | |
---|---|
DIFEdgeWeight()
Construct an edge weight for a homogeneous, zero-delay edge. |
|
DIFEdgeWeight(java.lang.Object productionRate,
java.lang.Object consumptionRate,
java.lang.Object delay)
Construct an edge weight for a specified production, consumption, and delay. |
|
DIFEdgeWeight(java.lang.Object sourcePort,
java.lang.Object sinkPort,
java.lang.Object productionRate,
java.lang.Object consumptionRate,
java.lang.Object delay)
Construct an edge weight for a specified production, consumption, and delay. |
Method Summary | |
---|---|
protected java.lang.Object |
_getConsumptionRate()
Return the token consumption rate of the associated DIF edge. |
protected java.lang.Object |
_getDelay()
Return the delay of the associated DIF edge. |
protected java.lang.Object |
_getProductionRate()
Return the token production rate of the associated DIF edge. |
protected void |
_setConsumptionRate(java.lang.Object consumptionRate)
Set the token consumption rate of the associated DIF edge. |
protected void |
_setDelay(java.lang.Object delay)
Set the delay of the associated DIF edge. |
protected void |
_setProductionRate(java.lang.Object productionRate)
Set the token production rate of the associated DIF edge. |
java.lang.Object |
clone()
Clone this DIFEdgeWeight object or the derived class object. |
java.lang.Object |
getConsumptionRate()
Return the token consumption rate of the associated DIF edge. |
java.lang.Object |
getDelay()
Return the delay of the associated DIF edge. |
java.lang.Object |
getProductionRate()
Return the token production rate of the associated DIF edge. |
java.lang.Object |
getSinkPort()
Get the sink port of the associated DIF edge . |
java.lang.Object |
getSourcePort()
Get the source port of the associated DIF edge . |
void |
setConsumptionRate(java.lang.Object consumptionRate)
Set the token consumption rate of the associated DIF edge. |
void |
setDelay(java.lang.Object delay)
Set the delay of the associated DIF edge. |
void |
setProductionRate(java.lang.Object productionRate)
Set the token production rate of the associated DIF edge. |
void |
setSinkPort(java.lang.Object sinkPort)
Set the sink port of the associated DIF edge to a port that is represented by the sink of the edge. |
void |
setSourcePort(java.lang.Object sourcePort)
Set the source port of the associated DIF edge to a port that is represented by the source of the edge. |
java.lang.String |
toString()
Return a string representation of the edge weight (an empty string). |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DIFEdgeWeight()
public DIFEdgeWeight(java.lang.Object productionRate, java.lang.Object consumptionRate, java.lang.Object delay)
productionRate
- The production objectconsumptionRate
- The consumption object.delay
- The delay object.public DIFEdgeWeight(java.lang.Object sourcePort, java.lang.Object sinkPort, java.lang.Object productionRate, java.lang.Object consumptionRate, java.lang.Object delay)
sourcePort
- The source port.sinkPort
- The sink port.productionRate
- The production object.consumptionRate
- The consumption object.delay
- The delay object.Method Detail |
---|
public java.lang.Object clone()
setProductionRate(java.lang.Object)
, setConsumptionRate(java.lang.Object)
, and
setDelay(java.lang.Object)
.
clone
in class java.lang.Object
public java.lang.Object getConsumptionRate()
public java.lang.Object getDelay()
public java.lang.Object getProductionRate()
public java.lang.Object getSinkPort()
public java.lang.Object getSourcePort()
public void setConsumptionRate(java.lang.Object consumptionRate)
consumptionRate
- The new token consumption rates.public void setDelay(java.lang.Object delay)
delay
- The new delay object.public void setProductionRate(java.lang.Object productionRate)
productionRate
- The new token production rates.public void setSinkPort(java.lang.Object sinkPort)
sinkPort
- The sink port.public void setSourcePort(java.lang.Object sourcePort)
sourcePort
- The source port.public java.lang.String toString()
toString
in class java.lang.Object
protected final java.lang.Object _getConsumptionRate()
protected final java.lang.Object _getDelay()
protected final java.lang.Object _getProductionRate()
protected final void _setConsumptionRate(java.lang.Object consumptionRate)
consumptionRate
- The new token consumption rate.protected final void _setDelay(java.lang.Object delay)
productionRate
- The delay.protected final void _setProductionRate(java.lang.Object productionRate)
productionRate
- The new token production rate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |