|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.DIFEdgeWeight
mapss.dif.csdf.CSDFEdgeWeight
mapss.dif.csdf.sdf.SDFEdgeWeight
mapss.dif.csdf.sdf.SingleRateEdgeWeight
public class SingleRateEdgeWeight
Information associated with an single rate graph edge.
SingleRateEdgeWeights are objects associated with Edge
s
that represent Single Rate edges in Graph
s.
Single Rate Graphs are special cases of SDF Graphs in which the production and
consumption rates on its edges are equal. This graphs are a minor
generalization of HSDF graphs.
This class is intended for use with analysis/synthesis algorithms that operate
on Single Rate SDF Graphs.
Edge
,
SDFEdgeWeight
,
HSDFEdgeWeight
Constructor Summary | |
---|---|
SingleRateEdgeWeight()
Construct an edge weight for a homogeneous, zero-delay edge. |
|
SingleRateEdgeWeight(int tokenRate,
int delay)
Construct an edge weight for a given token production/consumption rate, and delay. |
Method Summary | |
---|---|
int |
getSingleRate()
Returns the token production/consumption rate of the associated Single Rate Edge. |
void |
setSingleConsumptionRate(int tokenRate)
Set the token production/consumption rate of the associated Single Rate Edge. |
void |
setSingleProductionRate(int tokenRate)
Set the tokenproduction/consumption rate of the associated Single Rate Edge. |
void |
setSingleRate(int tokenRate)
Set the token production/consumption rate of the associated Single Rate Edge. |
Methods inherited from class mapss.dif.csdf.sdf.SDFEdgeWeight |
---|
getSDFConsumptionRate, getSDFProductionRate, setConsumptionRate, setCSDFConsumptionRates, setCSDFProductionRates, setProductionRate, setSDFConsumptionRate, setSDFProductionRate, toString |
Methods inherited from class mapss.dif.csdf.CSDFEdgeWeight |
---|
consumptionPeriodRate, consumptionPhaseCount, getCSDFConsumptionRate, getCSDFConsumptionRates, getCSDFProductionRate, getCSDFProductionRates, getIntDelay, productionPeriodRate, productionPhaseCount, setCSDFConsumptionRate, setCSDFProductionRate, setDelay, setDelay |
Methods inherited from class mapss.dif.DIFEdgeWeight |
---|
_getConsumptionRate, _getDelay, _getProductionRate, _setConsumptionRate, _setDelay, _setProductionRate, clone, getConsumptionRate, getDelay, getProductionRate, getSinkPort, getSourcePort, setSinkPort, setSourcePort |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SingleRateEdgeWeight()
public SingleRateEdgeWeight(int tokenRate, int delay)
tokenRate
- The token consumption/production rate of this Edge.delay
- The delay associated to this Edge.Method Detail |
---|
public void setSingleConsumptionRate(int tokenRate)
tokenRate
- The token consumption/production rate of this Edge.public void setSingleProductionRate(int tokenRate)
tokenRate
- The token consumption/production rate of this Edge.public void setSingleRate(int tokenRate)
tokenRate
- The token consumption and production rate of this
Edge.public int getSingleRate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |