-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.java
More file actions
24 lines (21 loc) · 1012 Bytes
/
Config.java
File metadata and controls
24 lines (21 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public class Config
{
public static final double initial_pheromone = 0.33, evaporation_rate = 0.5;
public static final double pheromone_weight = 1, heuristic_weight = 2;
public static final int num_exec = 1;
public static long rand_seed = 1234567;
////////////////////////////////////////////////////////////////////////////
public static final int max_iterations = 300; // 50 , 150 , 300
public static final int num_ants = 150; // 20 , 50 , 150
public static final int num_threads = 3; // 1 , 2 , 3 , 4 , 5 , 6
public static final String input_file = "input/gr431_opt171414.txt";
public static final boolean computed_dist_table = false;
public static final int num_cities = 431;
public static final long known_optimum = 171414;
// dantzig42_opt699_disttable.txt
// gr96_opt55209.txt
// gr229_opt134602.txt
// gr431_opt171414.txt
// gr666_opt294358.txt
////////////////////////////////////////////////////////////////////////////
}