public class NaiveTimeCumulFilter extends CumulFilter
nbMaxTasks
Constructor and Description |
---|
NaiveTimeCumulFilter(int nbMaxTasks) |
Modifier and Type | Method and Description |
---|---|
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 void filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks, Propagator<IntVar> aCause) throws ContradictionException
CumulFilter
filter
in class CumulFilter
s
- start variablesd
- duration variablese
- end variablesh
- height variablescapa
- maximum capacity variabletasks
- subset of tasks to filteraCause
- a cumulative propagatorContradictionException
Copyright © 2018. All rights reserved.