public class NRJCumulFilter extends CumulFilter
Modifier and Type | Field and Description |
---|---|
protected IntComparator |
comparator |
protected int[] |
dlb |
protected int[] |
eub |
protected int[] |
hlb |
protected int[] |
slb |
protected int[] |
sor_array |
protected ArraySort |
sorter |
aCause, nbMaxTasks
Constructor and Description |
---|
NRJCumulFilter(int n,
Propagator cause) |
protected int[] sor_array
protected ArraySort sorter
protected IntComparator comparator
protected int[] slb
protected int[] dlb
protected int[] eub
protected int[] hlb
public NRJCumulFilter(int n, Propagator 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 © 2015. All rights reserved.