public class DFSTask
extends java.util.concurrent.RecursiveAction
Constructor | Description |
---|---|
DFSTask(ScheduleGrph input,
PartialScheduleGrph current,
PartialScheduleGrph best,
CostFunction cost,
java.util.HashSet<java.lang.String> closed,
int numProcessors,
int lastAdded,
java.util.concurrent.atomic.AtomicLong lowerBound,
java.util.concurrent.atomic.AtomicLong iterations) |
Sets up the DFS task without visualization
|
DFSTask(ScheduleGrph input,
PartialScheduleGrph current,
PartialScheduleGrph best,
CostFunction cost,
java.util.HashSet<java.lang.String> closed,
int numProcessors,
int lastAdded,
java.util.concurrent.atomic.AtomicLong lowerBound,
java.util.concurrent.atomic.AtomicLong iterations,
ScheduleListener listen) |
Sets up the DFS task with visualization
|
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
public DFSTask(ScheduleGrph input, PartialScheduleGrph current, PartialScheduleGrph best, CostFunction cost, java.util.HashSet<java.lang.String> closed, int numProcessors, int lastAdded, java.util.concurrent.atomic.AtomicLong lowerBound, java.util.concurrent.atomic.AtomicLong iterations)
input
- The input graph to run the algorithm oncurrent
- The current partial schedule to explorebest
- The current best schedule foundcost
- The cost function being usedclosed
- The set of closed statesnumProcessors
- The number of available processors to schedule tasks onlastAdded
- The most recently added task on the current schedulelowerBound
- The current lower bound estimateiterations
- The current number of iterationspublic DFSTask(ScheduleGrph input, PartialScheduleGrph current, PartialScheduleGrph best, CostFunction cost, java.util.HashSet<java.lang.String> closed, int numProcessors, int lastAdded, java.util.concurrent.atomic.AtomicLong lowerBound, java.util.concurrent.atomic.AtomicLong iterations, ScheduleListener listen)
input
- The input graph to run the algorithm oncurrent
- The current partial schedule to explorebest
- The current best schedule foundcost
- The cost function being usedclosed
- The set of closed statesnumProcessors
- The number of available processors to schedule tasks onlastAdded
- The most recently added task on the current schedulelowerBound
- The current lower bound estimateiterations
- The current number of iterationslisten
- The ScheduleListener to register with this object