|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.kernel.solver.variables.scheduling.AbstractTask
public abstract class AbstractTask
Constructor Summary | |
---|---|
AbstractTask()
Warning: preemption should not be allowed. |
|
AbstractTask(ITimePeriodList timePeriodList)
possibly allow preemption. |
Method Summary | |
---|---|
int |
getECT()
Gets the Earliest Completion Time (ECT). |
int |
getLST()
Gets the Latest Starting Time (LST). |
String |
getName()
Gets the name of the task. |
ITimePeriodList |
getTimePeriodList()
Gets the list of time periods in which the task is executed |
boolean |
hasConstantDuration()
Checks for if the duration is constant. |
boolean |
isInterrupted()
Checks if the task is interrupted (preempted). |
boolean |
isPartiallyScheduled()
Checks whether a preemptive task has been partially scheduled. |
boolean |
isScheduled()
Checks if the task is scheduled. |
String |
pretty()
pretty printing of the object. |
String |
toDotty()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface choco.kernel.solver.variables.scheduling.ITask |
---|
getEST, getID, getLCT, getMaxDuration, getMinDuration, isPreemptionAllowed |
Constructor Detail |
---|
public AbstractTask()
public AbstractTask(ITimePeriodList timePeriodList)
Method Detail |
---|
public String getName()
ITask
getName
in interface ITask
public boolean hasConstantDuration()
ITask
hasConstantDuration
in interface ITask
public int getECT()
ITask
getECT
in interface ITask
public int getLST()
ITask
getLST
in interface ITask
public String toDotty()
toDotty
in interface IDotty
public String pretty()
IPretty
pretty
in interface IPretty
public String toString()
toString
in class Object
public boolean isScheduled()
ITask
isScheduled
in interface ITask
public final boolean isPartiallyScheduled()
ITask
isPartiallyScheduled
in interface ITask
public final boolean isInterrupted()
ITask
isInterrupted
in interface ITask
public final ITimePeriodList getTimePeriodList()
ITask
getTimePeriodList
in interface ITask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |