Finish refactor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import domain.annealing.SimulatedAnnealing;
|
||||
import domain.ant_colony.AntColonyOptimization;
|
||||
import domain.binary.algorithm.CustomGeneticAlgorithm;
|
||||
import domain.binary.algorithm.SimpleGeneticAlgorithm;
|
||||
|
||||
import java.util.Scanner;
|
||||
@@ -19,13 +20,14 @@ public class Main {
|
||||
break;
|
||||
case 2:
|
||||
SimpleGeneticAlgorithm ga = new SimpleGeneticAlgorithm(
|
||||
50,
|
||||
0.5,
|
||||
0.025,
|
||||
5,
|
||||
true,
|
||||
new byte[64]
|
||||
"1011000100000100010000100000100111001000000100000100000000001111"
|
||||
);
|
||||
ga.runAlgorithm(50, "1011000100000100010000100000100111001000000100000100000000001111");
|
||||
ga.launch();
|
||||
break;
|
||||
case 3:
|
||||
AntColonyOptimization antColony = new AntColonyOptimization(21);
|
||||
|
||||
Reference in New Issue
Block a user