|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmapss.dif.csdf.sdf.sched.Procedure
public class Procedure
A class modeling procedure instantiation in software synthesis.
| Constructor Summary | |
|---|---|
Procedure()
Constructor without any argument. |
|
| Method Summary | |
|---|---|
void |
addCallee(int index,
Procedure callee,
int iterations)
Add a callee with a loop iteration at the specific call index. |
void |
addCallee(Procedure callee,
int iterations)
Add (append) a callee with a loop iteration. |
void |
addCaller(Procedure caller)
Add the caller. |
int |
calleeCount()
Get the number of callees. |
int |
callerCount()
Get the number of callers. |
Procedure |
getCallee(int index)
Get the callee given an index. |
int |
getCalleeIndex(Procedure callee)
Get index of the callee. |
int |
getCalleeIterations(int index)
Get the number of iterations of a callee. |
int |
getCalleeIterations(Procedure callee)
Get the number of iterations of a callee. |
java.util.List |
getCallees()
Get the callees. |
java.util.Collection |
getCallers()
Get the callers. |
mocgraph.sched.ScheduleElement |
getSchedule()
Get the corresponding schedule. |
void |
removeCallee(Procedure callee)
Remove the given callee. |
void |
removeCaller(Procedure caller)
Remove the given caller. |
void |
setSchedule(mocgraph.sched.ScheduleElement schedule)
Set the corresponding schedule. |
java.lang.String |
toString()
Display the program structure, including calles with iterations, in text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Procedure()
| Method Detail |
|---|
public void addCallee(Procedure callee,
int iterations)
callee - The callee.iterations - Loop iterations of the callee.
public void addCallee(int index,
Procedure callee,
int iterations)
index - The call index.callee - The callee.iterations - Loop iterations of the callee.public void addCaller(Procedure caller)
caller - The caller.public int calleeCount()
public int callerCount()
public Procedure getCallee(int index)
index - The callee index.
public java.util.List getCallees()
List.public java.util.Collection getCallers()
Collection.public int getCalleeIndex(Procedure callee)
The - callee.
public int getCalleeIterations(Procedure callee)
callee - The callee.
public int getCalleeIterations(int index)
index - The callee index.
public mocgraph.sched.ScheduleElement getSchedule()
public void removeCallee(Procedure callee)
callee - The callee.public void removeCaller(Procedure caller)
callee - The caller.public void setSchedule(mocgraph.sched.ScheduleElement schedule)
schedule - The schedule.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||