-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathant_simulation_config.yaml
More file actions
33 lines (25 loc) · 1.2 KB
/
ant_simulation_config.yaml
File metadata and controls
33 lines (25 loc) · 1.2 KB
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
31
32
33
---
# define the initial environment conditions
environment_width: 50
environment_height: 50
environment_starting_tree_percent: 0.05 # should be between 0 and 1
max_food_per_location: 500
starting_population_size: 50
# set probability of new trees spawning
tree_spawn_prob: 0.01 # should be between 0 and 1
# set probability of ant following a trail vs searching for new food sources
follow_prob: 0.9 # should be between 0 and 1
# set the initial strength of a food trail
trail_depreciation_time: 20
# set the number of food pieces that an ant can bring home
num_food_brought_back_to_nest: 4
# set how long an ant will go till he is hungry
time_till_hungry: 72 # 72 (three days)
# the parameters governing the immature ants development
num_ants_laid_daily: 1
time_till_egg_hatch: 168 # 168 (one week) to 336 (two weeks)
time_till_larvae_become_pupa: 720 # 720 (one month)
time_till_pupa_become_mature_ants: 1000 # 1000 (6 weeks) to 1700 (10 weeks)
# set the depreciation rates of the ants
max_lifespan: 13140 # 8760 (one year) or 13140 (a years and a half)
max_without_food: 336 # 336 (two weeks)