Tom Lucy, Jake Rourke, Luca Ostertag-Hill
Nature Inspired Computation: Final Project
December 15, 2018
The SMTWTP_HYBRID.java file is the main class for the hybrid. To run the either GA, EAS, or the hybrid:
- Type
javac SMTWTP_HYBRID.javato create the classes. - The algorithm is run through the command
java numIterations maxGenerations filename algorithm- Parameter
numIterationsrepresents the number of iterations to run the EAS algorithm (real number) - Parameter
maxGenerationsrepresents the maximum number of generations to run the GA algorithm (real number) - Parameter
filenameis the path to the testing file - Possible parameters for
algorithmarega,eas, andboth
- Parameter
- Example for hybrid algorithm with 150 EAS iterations and 150 GA generations:
java SMTWTP_HYBRID 150 150 100.3.txt both