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.java
to create the classes. - The algorithm is run through the command
java numIterations maxGenerations filename algorithm
- Parameter
numIterations
represents the number of iterations to run the EAS algorithm (real number) - Parameter
maxGenerations
represents the maximum number of generations to run the GA algorithm (real number) - Parameter
filename
is the path to the testing file - Possible parameters for
algorithm
arega
,eas
, andboth
- Parameter
- Example for hybrid algorithm with 150 EAS iterations and 150 GA generations:
java SMTWTP_HYBRID 150 150 100.3.txt both