public abstract class CumulFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Propagator<IntVar> |
aCause |
protected int |
nbMaxTasks |
| Constructor and Description |
|---|
CumulFilter(int nbMaxTasks,
Propagator<IntVar> cause)
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)
Filters the cumulative constraint over the subset of tasks induced by tasks
|
protected Propagator<IntVar> aCause
protected int nbMaxTasks
public CumulFilter(int nbMaxTasks,
Propagator<IntVar> cause)
nbMaxTasks - maximum number of taskscause - a cumulative propagatorpublic abstract void filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks) throws ContradictionException
s - start variablesd - duration variablese - end variablesh - height variablescapa - maximum capacity variabletasks - subset of tasks to filterContradictionExceptionCopyright © 2017. All rights reserved.