Forked from here.
-
Download ABAGAIL from here into this github root folder.
-
Copy files in "ABAGAIL_root" folder to the "ABAGAIL/" root folder you just downloaded.
-
Copy files in "ABAGAIL_test" folder to "ABAGAIL/src/opt/test/" folder.
-
Rebuild ABAGAIL project using ANT
Note: After changing any code, rerun ANT to rebuild project before running.
- To run the three algorithms (RHC, SA, GA) on the white wine dataset, run the command: "java -cp ABAGAIL.jar opt.test.WhiteWineTest"
You can also edit the java file to run individual algorithms on the wine dataset instead of all three at once. Remember to rebuild using ANT.
-
To run all four algorithms (including MIMIC) on the Traveling Salesman problem, run the command: "java -cp ABAGAIL.jar opt.test.TravelingSalesmanTest".
-
To run all four algorithms (including MIMIC) on the Continuous Peaks problem, run the command: "java -cp ABAGAIL.jar opt.test.ContinuousPeaksTest".
-
To run all four algorithms (including MIMIC) on the Max K Coloring problem, run the command: "java -cp ABAGAIL.jar opt.test.MaxKColoringTest".
-
To create the figures and graphs for the data, see plot.py. Uncomment the corresponding functions and run. The outputted figures will be saved in the "ABAGAIL/figures/.../" directory.