|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.DIFScheduleStrategy
mapss.dif.csdf.sdf.sched.TwoNodeStrategy
public class TwoNodeStrategy
A recursive scheduler for two-node graphs. The recursive method aims at minimal buffer requirement (Absolute Buffer Memory Lower Bound, ABMLB) and minimal procedure code space (i.e. polynomial space cost). However, run time performance is still high (maybe exponential). Because of the minimal buffer result, the schedule is generally of multiple appearances.
The class does NOT provide procedure synthesis. Since the 'two nodes' may be two schedules (with their own loop structures), the synthesis process might generate unexpected results. Therefore, only scheduling results are available in this class.
Field Summary |
---|
Fields inherited from class mapss.dif.DIFScheduleStrategy |
---|
_clusterManager |
Constructor Summary | |
---|---|
TwoNodeStrategy(int productionRate,
int consumptionRate)
Constructor for two token exchanging rates. |
|
TwoNodeStrategy(mocgraph.sched.ScheduleElement element1,
mocgraph.sched.ScheduleElement element2)
Constructor for two schedule elements. |
|
TwoNodeStrategy(SDFGraph twoNodeGraph)
Constructor for a two-node SDF graph. |
Method Summary | |
---|---|
mocgraph.sched.Schedule |
schedule()
Construct the recursive procedural implementation schedule. |
java.lang.String |
toString()
A desrciption of the scheduler. |
Methods inherited from class mapss.dif.DIFScheduleStrategy |
---|
getClusterManager, graph, valid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TwoNodeStrategy(mocgraph.sched.ScheduleElement element1, mocgraph.sched.ScheduleElement element2)
element1
- The first schedule element.element2
- The second schedule element.public TwoNodeStrategy(int productionRate, int consumptionRate)
productionRate
- The production rate of the only SDF edge.consumptionRate
- The consumption rate of the only SDF edge.public TwoNodeStrategy(SDFGraph twoNodeGraph)
twoNodeGraph
- The given graph.Method Detail |
---|
public mocgraph.sched.Schedule schedule()
schedule
in interface mocgraph.sched.ScheduleAnalyzer
schedule
in class DIFScheduleStrategy
public java.lang.String toString()
toString
in interface mocgraph.analysis.analyzer.Analyzer
toString
in class DIFScheduleStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |