public class TimeCumulFilter extends CumulFilter
aCause, nbMaxTasks| Constructor and Description |
|---|
TimeCumulFilter(int nbMaxTasks,
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
|
protected void |
filterInf(IntVar start,
int dlb,
int hlb,
int min,
int max,
int[] time,
int capaMax) |
protected void |
filterSup(IntVar end,
int dlb,
int hlb,
int min,
int max,
int[] time,
int capaMax) |
public TimeCumulFilter(int nbMaxTasks,
Propagator<IntVar> cause)
public void filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks) throws ContradictionException
CumulFilterfilter in class CumulFilters - start variablesd - duration variablese - end variablesh - height variablescapa - maximum capacity variabletasks - subset of tasks to filterContradictionExceptionprotected void filterInf(IntVar start, int dlb, int hlb, int min, int max, int[] time, int capaMax) throws ContradictionException
ContradictionExceptionprotected void filterSup(IntVar end, int dlb, int hlb, int min, int max, int[] time, int capaMax) throws ContradictionException
ContradictionExceptionCopyright © 2017. All rights reserved.