|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.ll.group43.surfaceoptimization.Driver
public class Driver
This is the main class of the project, which controls the various sequencers, input, and output.
Field Summary | |
---|---|
static java.io.PrintWriter |
debug
Used to output meta data about the algorithm, such as how long certain operations take, how many objects of a certain type are created, or anything a Logger would keep track of and report on. |
static java.io.PrintWriter |
err
Used to output error information, such as when exceptions are thrown or when a sequence returned from a sequencer is invalid. |
static java.io.PrintWriter |
out
Used to output important results of the algorithm, such as delays. |
Constructor Summary | |
---|---|
Driver()
|
Method Summary | |
---|---|
static java.util.ArrayList<Aircraft> |
generateFcfsSequence(java.lang.String filename)
Use the FCFSReader to construct the FCFS list as an ArrayList of Aircraft |
static void |
main(java.lang.String[] args)
|
static void |
measureSequence(java.util.ArrayList<Aircraft> sequence)
|
static void |
outputMATLABCode(java.util.ArrayList<Aircraft> sequence)
|
static java.util.ArrayList<Aircraft> |
sequence(java.util.ArrayList<Aircraft> fcfs)
|
static void |
validateSequence(java.util.ArrayList<Aircraft> sequence)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.PrintWriter out
public static java.io.PrintWriter debug
public static java.io.PrintWriter err
Constructor Detail |
---|
public Driver()
Method Detail |
---|
public static java.util.ArrayList<Aircraft> generateFcfsSequence(java.lang.String filename) throws java.io.FileNotFoundException, InvalidFCFSReaderTypeException
java.io.FileNotFoundException
InvalidFCFSReaderTypeException
public static void outputMATLABCode(java.util.ArrayList<Aircraft> sequence)
public static java.util.ArrayList<Aircraft> sequence(java.util.ArrayList<Aircraft> fcfs) throws java.io.FileNotFoundException, InvalidSequencerTypeException, InvalidDPAlgorithmTypeException
java.io.FileNotFoundException
InvalidSequencerTypeException
InvalidDPAlgorithmTypeException
public static void measureSequence(java.util.ArrayList<Aircraft> sequence) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static void validateSequence(java.util.ArrayList<Aircraft> sequence)
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, InvalidFCFSReaderTypeException, InvalidSequencerTypeException, InvalidDPAlgorithmTypeException
java.io.FileNotFoundException
InvalidFCFSReaderTypeException
InvalidSequencerTypeException
InvalidDPAlgorithmTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |