//***********************************************************************************
public SweepHeiSortCumulFilter(int n, Propagator cause){
super(n,cause);
sortedTasks = new int[n];
taskSorter = new ArraySort(n,false,true);
comparator = new IntComparator() {
@Override
public int compare(int i1, int i2) {
return hlb[map[i2]]-hlb[map[i1]];
}