|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstreamit.misc.AssertedClass
streamit.scheduler2.Schedule
public class Schedule
Constructor Summary | |
---|---|
Schedule(Iterator stream)
Create a schedule that will be used with many sub-schedules. |
|
Schedule(Object workFunction,
Iterator stream)
Create the schedule to be a bottom schedule with a single work function. |
Method Summary | |
---|---|
void |
addSubSchedule(Schedule subSchedule)
Add a schedule to the list of sub-schedules of this schedule. |
void |
addSubSchedule(Schedule subSchedule,
int numExecs)
Add a schedule to be executed a certain # of times to the list of sub-schedules of this schedule. |
int |
getNumPhases()
Get the number of phases in this schedule |
Iterator |
getStream()
Returns the stream to which this schedule phase corresponds. |
Schedule |
getSubSched(int nSched)
Get a subschedule of this schedule. |
int |
getSubSchedNumExecs(int nSched)
Get the number of times a subschedule is to be executed. |
Object |
getWorkFunc()
Returns the work function associated with a schedule. |
int |
hashCode()
Use the identifier of this stream as the hashcode, to ensure deterministic behavior in sets and containers (was causing unpredictable exceptions). |
boolean |
isBottomSchedule()
Checks if the Schedule is a bottom-level schedule. |
Methods inherited from class streamit.misc.AssertedClass |
---|
ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ERROR, ERROR, ERROR, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SERROR, SERROR, SERROR |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schedule(Iterator stream)
public Schedule(Object workFunction, Iterator stream)
Method Detail |
---|
public boolean isBottomSchedule()
public int getNumPhases()
public Schedule getSubSched(int nSched)
public int getSubSchedNumExecs(int nSched)
public void addSubSchedule(Schedule subSchedule)
public void addSubSchedule(Schedule subSchedule, int numExecs)
public Object getWorkFunc()
public Iterator getStream()
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |