public class CumulativeUnary extends Cumulative
taskDecLctComparator, taskIncEstComparatorlimitatomicExecution, consistencyPruningEvents, constraintScope, earlyTerminationOK, increaseWeight, numberId, scope, tracequeueIndex| Constructor and Description |
|---|
CumulativeUnary(IntVar[] starts,
IntVar[] durations,
IntVar[] resources,
IntVar limit)
It creates a cumulative constraint.
|
CumulativeUnary(IntVar[] starts,
IntVar[] durations,
IntVar[] resources,
IntVar limit,
boolean doProfile)
It creates a cumulative constraint.
|
CumulativeUnary(IntVar[] starts,
IntVar[] durations,
IntVar[] resources,
IntVar limit,
boolean doProfile,
boolean doEdgeFind)
It creates a cumulative constraint.
|
CumulativeUnary(List<? extends IntVar> starts,
List<? extends IntVar> durations,
List<? extends IntVar> resources,
IntVar limit)
It creates a cumulative constraint.
|
CumulativeUnary(List<? extends IntVar> starts,
List<? extends IntVar> durations,
List<? extends IntVar> resources,
IntVar limit,
boolean doProfile)
It creates a cumulative constraint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consistency(Store store)
It is a (most probably incomplete) consistency function which removes the
values from variables domains.
|
String |
toString()
It produces a string representation of a constraint state.
|
doQuadraticEdgeFind, getDefaultConsistencyPruningEventafc, arguments, cleanAfterFailure, decompose, getConsistencyPruningEvent, getGuideConstraint, getGuideValue, getGuideVariable, grounded, grounded, id, impose, impose, imposeDecomposition, increaseWeight, intArrayToString, long2int, numberArgs, queueVariable, removeConstraint, requiresMonotonicity, setConsistencyPruningEvent, setConstraintScope, setScope, setScope, setScope, setScope, setScope, setWatchedVariableGrounded, supplyGuideFeedback, updateAFC, watchedVariableGroundedauxiliaryVariables, checkInput, checkInput, checkInputForDuplication, checkInputForDuplicationSkipSingletons, checkInputForNullness, checkInputForNullness, checkInputForNullness, derivative, getDubletonsSkipSingletons, imposeDecompositionpublic CumulativeUnary(IntVar[] starts, IntVar[] durations, IntVar[] resources, IntVar limit)
starts - variables denoting starts of the tasks.durations - variables denoting durations of the tasks.resources - variables denoting resource usage of the tasks.limit - the overall limit of resources which has to be used.public CumulativeUnary(IntVar[] starts, IntVar[] durations, IntVar[] resources, IntVar limit, boolean doProfile)
starts - variables denoting starts of the tasks.durations - variables denoting durations of the tasks.resources - variables denoting resource usage of the tasks.limit - the overall limit of resources which has to be used.doProfile - defines whether to do profile-based propagation (true) or not (false); default is falsepublic CumulativeUnary(IntVar[] starts, IntVar[] durations, IntVar[] resources, IntVar limit, boolean doProfile, boolean doEdgeFind)
starts - variables denoting starts of the tasks.durations - variables denoting durations of the tasks.resources - variables denoting resource usage of the tasks.limit - the overall limit of resources which has to be used.doProfile - defines whether to do profile-based propagation (true) or not (false);doEdgeFind - defines whether to do edge finding propagation (true) or not (false); default is truepublic CumulativeUnary(List<? extends IntVar> starts, List<? extends IntVar> durations, List<? extends IntVar> resources, IntVar limit)
starts - variables denoting starts of the tasks.durations - variables denoting durations of the tasks.resources - variables denoting resource usage of the tasks.limit - the overall limit of resources which has to be used.public CumulativeUnary(List<? extends IntVar> starts, List<? extends IntVar> durations, List<? extends IntVar> resources, IntVar limit, boolean doProfile)
starts - variables denoting starts of the tasks.durations - variables denoting durations of the tasks.resources - variables denoting resource usage of the tasks.limit - the overall limit of resources which has to be used.doProfile - defines whether to do profile-based propagation (true) or not (false); default is falsepublic void consistency(Store store)
Constraintconsistency in class Cumulativestore - constraint store within which the constraint consistency is being checked.public String toString()
ConstrainttoString in class CumulativeCopyright © 2022. All rights reserved.