public abstract class CumulFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
nbMaxTasks |
| Constructor and Description |
|---|
CumulFilter(int nbMaxTasks)
An object which can filter subset of tasks for the cumulative constraint
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
filter(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
ISet tasks,
Propagator<IntVar> aCause)
Filters the cumulative constraint over the subset of tasks induced by tasks
|
public CumulFilter(int nbMaxTasks)
nbMaxTasks - maximum number of taskspublic abstract void filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause) throws ContradictionException
s - start variablesd - duration variablese - end variablesh - height variablescapa - maximum capacity variabletasks - subset of tasks to filteraCause - a cumulative propagatorContradictionExceptionCopyright © 2018. All rights reserved.