gui
Class SecondStepSolverThread

java.lang.Object
  extended byjava.lang.Thread
      extended bygui.SecondStepSolverThread
All Implemented Interfaces:
java.lang.Runnable

public final class SecondStepSolverThread
extends java.lang.Thread

A thread used to solve the second step of the scheduling algorithm.

Author:
Piotrek

Field Summary
private  java.util.ArrayList firstStepSolutions
          A list of the solutions found by the first step of the travel scheduling algorithm.
private  MainDialog mainDialog
          The main dialog to be notified of the results.
private  TravelConstraints travelConstraints
          The travel constraints.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SecondStepSolverThread(MainDialog mainDialog, java.util.ArrayList firstStepSolutions, TravelConstraints travelConstraints)
          Constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainDialog

private MainDialog mainDialog
The main dialog to be notified of the results.


firstStepSolutions

private java.util.ArrayList firstStepSolutions
A list of the solutions found by the first step of the travel scheduling algorithm.


travelConstraints

private TravelConstraints travelConstraints
The travel constraints.

Constructor Detail

SecondStepSolverThread

public SecondStepSolverThread(MainDialog mainDialog,
                              java.util.ArrayList firstStepSolutions,
                              TravelConstraints travelConstraints)
Constructor.

Parameters:
mainDialog - The main dialog to be notified of the results.
firstStepSolutions - A list of travel divisions found by the first step of the travel scheduling algorithm.
travelConstraints - The travel constraints to be applied.
Method Detail

run

public void run()
See Also:
Runnable.run()