forked from johnBuffer/AntSimulator
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.xml
30 lines (30 loc) · 1.79 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.1" encoding="UTF-8"?>
<antsim>
<gui>
<activate bool="false" /> <!-- activate GUI -->
<fullscreen bool="false" /> <!-- enter fullscreen mode -->
</gui>
<simulation>
<map path="map.bmp" /> <!-- path to the food map image relative to this config file -->
<steps int="500" /> <!-- number of simulation steps -->
<iterations int="20" /> <!-- number of trials to repeat -->
</simulation>
<total_ants>
<number int="1024" /> <!-- number of ants to simulatate in total -->
</total_ants>
<patience>
<activate bool="true" /> <!-- activate patience/cautionary pheromone secretion-->
<refill_period_range str_arr="5 10 100 500" /> <!-- period to reach max refill amount, in units of timesteps; multiple values possible (space delimited) -->
<max_range str_arr="50" /> <!-- maximum patience/cautionary pheromone possible; multiple values possible (space delimited) -->
<pheromone_evaporation_multiplier float="1000" /> <!-- patience/cautionary pheromone evaporation rate -->
</patience>
<malicious_ants>
<fraction float="0.02" /> <!-- fraction of ants that are malicious -->
<focus bool="false" /> <!-- activate malicious ants' focus on the food source -->
<timer int="100" /> <!-- delay after which the attack is launched -->
<pheromone_intensity_multiplier float="1" /> <!-- fake food pheromone intensity factor -->
<pheromone_evaporation_multiplier float="1.0" /> <!-- fake food pheromone evaporation rate -->
<tracing_pattern type="RANDOM" /> <!-- decide whether the mal. ants follow a specific type of pheromone; choose either: FOOD, HOME or RANDOM -->
</malicious_ants>
<csv_output prefix="temp_data/test" /> <!-- CSV output file prefix -->
</antsim>