choco.kernel.solver.variables.scheduling
Class AbstractRTask
java.lang.Object
choco.kernel.solver.variables.scheduling.AbstractRTask
- All Implemented Interfaces:
- IPretty, IRTask
public abstract class AbstractRTask
- extends Object
- implements IRTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface choco.kernel.solver.variables.scheduling.IRTask |
checkConsistency, fail, getHTask, getTaskVar, setDuration, setECT, setEndingTime, setEndNotIn, setEST, setLCT, setLST, setMaxDuration, setMinDuration, setStartingTime, setStartNotIn, updateCompulsoryPart, updateDuration, updateECT, updateEndingTime, updateEndNotIn, updateEST, updateLCT, updateLST, updateMaxDuration, updateMinDuration, updateStartingTime, updateStartNotIn |
taskIdx
public final int taskIdx
taskvar
public TaskVar taskvar
usage
public IntDomainVar usage
height
public IntDomainVar height
value
protected int value
ELIMINATED
public static final int ELIMINATED
- See Also:
- Constant Field Values
REGULAR
public static final int REGULAR
- See Also:
- Constant Field Values
AbstractRTask
public AbstractRTask(int taskIdx)
getMaxHeight
public final int getMaxHeight()
getMinHeight
public final int getMinHeight()
getMaxConsumption
public final long getMaxConsumption()
getMinConsumption
public final long getMinConsumption()
getTaskIndex
public final int getTaskIndex()
- Specified by:
getTaskIndex
in interface IRTask
getStoredValue
public final int getStoredValue()
- Specified by:
getStoredValue
in interface IRTask
storeValue
public void storeValue(int val)
- Description copied from interface:
IRTask
- Utility: A filtering algorithm can store a value to perform update operations (noargs) later.
- Specified by:
storeValue
in interface IRTask
updateECT
public final boolean updateECT()
throws ContradictionException
- Description copied from interface:
IRTask
- Update using
IRTask.getStoredValue()
.
- Specified by:
updateECT
in interface IRTask
- Throws:
ContradictionException
updateEST
public final boolean updateEST()
throws ContradictionException
- Description copied from interface:
IRTask
- Update using
IRTask.getStoredValue()
.
- Specified by:
updateEST
in interface IRTask
- Throws:
ContradictionException
updateLCT
public final boolean updateLCT()
throws ContradictionException
- Description copied from interface:
IRTask
- Update using
IRTask.getStoredValue()
.
- Specified by:
updateLCT
in interface IRTask
- Throws:
ContradictionException
updateLST
public final boolean updateLST()
throws ContradictionException
- Description copied from interface:
IRTask
- Update using
IRTask.getStoredValue()
.
- Specified by:
updateLST
in interface IRTask
- Throws:
ContradictionException
getHeight
public IntDomainVar getHeight()
updateMaxHeight
public boolean updateMaxHeight(int val)
throws ContradictionException
- Throws:
ContradictionException
updateMinHeight
public boolean updateMinHeight(int val)
throws ContradictionException
- Throws:
ContradictionException
getUsage
public IntDomainVar getUsage()
isOptional
public boolean isOptional()
isRegular
public boolean isRegular()
isEliminated
public boolean isEliminated()
assign
public boolean assign()
throws ContradictionException
- Throws:
ContradictionException
remove
public boolean remove()
throws ContradictionException
- Throws:
ContradictionException
fireRemoval
public void fireRemoval()
Copyright © 2012. All Rights Reserved.