|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmapss.dif.csdf.sdf.sched.ScheduleTree
public class ScheduleTree
A binary tree expression of R-schedule. Schedule tree is a binary tree where all nodes are associated with schedule loop counts and leaves with SDF actors in addition. The alternative representation helps visualizing a schedule and devising efficient scheduling algorithms.
| Constructor Summary | |
|---|---|
ScheduleTree(mocgraph.sched.Schedule schedule)
Constructor for a given schedule. |
|
| Method Summary | |
|---|---|
ScheduleTreeNode |
leafNode(mocgraph.Node graphNode)
Get schedule tree leaf node with given graph node. |
java.util.List |
leafNodes()
Get a list of the tree leaf nodes. |
ScheduleTreeNode |
leastParent(ScheduleTreeNode uNode,
ScheduleTreeNode vNode)
The least(youngest/closet/nearest) common parent of given pair of schedule tree nodes |
java.util.List |
parents(ScheduleTreeNode uNode,
ScheduleTreeNode vNode)
Common parents for a given pair of nodes. |
ScheduleTreeNode |
root()
Get the tree root node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleTree(mocgraph.sched.Schedule schedule)
schedule - The given schedule.| Method Detail |
|---|
public ScheduleTreeNode leafNode(mocgraph.Node graphNode)
graphNode - The given graph node.
public java.util.List leafNodes()
public ScheduleTreeNode leastParent(ScheduleTreeNode uNode,
ScheduleTreeNode vNode)
uNode - The first given node.vNode - The second given node.
public java.util.List parents(ScheduleTreeNode uNode,
ScheduleTreeNode vNode)
uNode - The first node.vNode - The second node.
public ScheduleTreeNode root()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||