Name of parameter | Name within the code | Parameter value |
Number of ants | num_of_ants | 30 |
Total amount of pheromones | Q | 10 |
Weight parameter 1 | alpha | 1 |
Weight parameter 2 | beta | 1 |
Weight parameter 3 | gamma | 0.5 |
Limit of the distance of zones without bus stops | nonstop_lim | 1000 |
Dijkstra distance | dijL | (The route distance obtained in Dijkstra’s algorithm) |
Distance magnification | nL | 3 |
Dijkstra’s number of turns | dijturn | (The number of turns obtained in Dijkstra’s algorithm) |
Magnification of the number of turns | mL | 4 |
Turns weight | tns_weight | 50 |
Evaporation coefficient | rou | 0.9 |
Number of trials | max_iterations | 500 |
Starting point node | initial_vertex | (The starting point node of each route) |
Goal point node | dest_vertex | (The goal point node of each route) |
Minimum pheromone value | tau_min | 0.1 |
Maximum pheromone value | tau_max | 100 |
Random selection probability | ant_prob_random | 0.1 |
Reset cycle number | super_not_change | 50 |
Turn arrangement list | tf | (The list of turn information on each route) |
Bus stop edge list | stz | (The list of bus stop edges set in each route) |
Location coordinates list | pos | (The dictionary-type list of location coordinates of each road network) |