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