public class SweepHeiSortCumulFilter extends SweepCumulFilter
SweepCumulFilter.Eventdlb, ECP, elb, eub, eventComparator, events, FIXPOINT, hlb, map, nbEvents, PRU, SCP, slb, sort, sub, tasksToUSe, temp, tpruneaCause, nbMaxTasks| Constructor and Description |
|---|
SweepHeiSortCumulFilter(int n,
Propagator<IntVar> cause) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkSort(IntVar[] h,
int nbT) |
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 |
generateMinEvents(int nbT) |
protected boolean |
sweep(IntVar capamax,
IntVar[] h,
int nbT) |
pruneMax, pruneMin, removeNullDurationspublic SweepHeiSortCumulFilter(int n,
Propagator<IntVar> cause)
public void filter(IntVar[] s, IntVar[] d, IntVar[] e, IntVar[] h, IntVar capa, ISet tasks) throws ContradictionException
CumulFilterfilter in class SweepCumulFilters - start variablesd - duration variablese - end variablesh - height variablescapa - maximum capacity variabletasks - subset of tasks to filterContradictionExceptionprotected boolean sweep(IntVar capamax, IntVar[] h, int nbT) throws ContradictionException
sweep in class SweepCumulFilterContradictionExceptionprotected void generateMinEvents(int nbT)
generateMinEvents in class SweepCumulFilterprotected boolean checkSort(IntVar[] h, int nbT)
Copyright © 2017. All rights reserved.