Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Agriterix
simulator
Commits
531f08f8
Commit
531f08f8
authored
Jul 20, 2021
by
Loris Croce
Browse files
config
parent
b1dfb078
Pipeline
#37831
failed with stages
in 5 minutes and 20 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
data/in/config/evolutions.csv
0 → 100644
View file @
531f08f8
0, Ble, 1.2, Inputs, minimal
0, Conserves, 0.5 , Produced, minimal
365, Fromage, 2, Produced, minimal
365, Raisin, 0.8, Inputs, minimal
730, Lait, 1.3, Required, minimal
730, Vin, 1.1, Produced, minimal
1095, Pain, 1.1, Produced, minimal
1095, Carottes, 0.9, Required, minimal
data/in/config/import_export.csv
0 → 100644
View file @
531f08f8
0, minimal, 0.5, 0.7
365, minimal, 0.5, 0.7
730, minimal, 0.5, 0.7
\ No newline at end of file
data/in/config/population.xml
0 → 100644
View file @
531f08f8
<POPULATION_CONFIG>
<RETIREMENT_AGE>
62
</RETIREMENT_AGE>
<RETIREMENT_AGE>
18
</RETIREMENT_AGE>
<MIN_AGE_TAKEOVER>
45
</MIN_AGE_TAKEOVER>
<MAX_AGE_TAKEOVER>
4
</MAX_AGE_TAKEOVER>
<NEWCOMERS>
0.5
</NEWCOMERS>
<TAKEOVER_CHANCE>
0.05
</TAKEOVER_CHANCE>
<YOUNG_DEPARTURE_CHANCE>
0.05
</YOUNG_DEPARTURE_CHANCE>
<OLD_DEPARTURE_CHANCE>
0.25
</OLD_DEPARTURE_CHANCE>
<P>
0.125
</P>
<PATCH_CHANGE_CHANCE>
0.25
</PATCH_CHANGE_CHANCE>
</POPULATION_CONFIG>
data/in/config/population.yaml
0 → 100644
View file @
531f08f8
---
retirement_age
:
62
min_age_takeover
:
18
max_age_takeover
:
45
newcomers
:
4
takeover_chance
:
0.5
young_departure_chance
:
0.05
old_departure_chance
:
0.25
p
:
0.125
patch_change_chance
:
0.25
\ No newline at end of file
data/in/config/products.xml
0 → 100644
View file @
531f08f8
<fr.inrae.agriterix.simulator.Product-array>
<fr.inrae.agriterix.simulator.Product>
<label>
Blé
</label>
<unit>
Kg
</unit>
<tags/>
<yield>
1.0
</yield>
</fr.inrae.agriterix.simulator.Product>
<fr.inrae.agriterix.simulator.Product>
<label>
Carottes
</label>
<unit>
Kg
</unit>
<tags/>
<yield>
1.0
</yield>
</fr.inrae.agriterix.simulator.Product>
<fr.inrae.agriterix.simulator.Product>
<label>
Raisins
</label>
<unit>
Kg
</unit>
<tags/>
<yield>
1.0
</yield>
</fr.inrae.agriterix.simulator.Product>
</fr.inrae.agriterix.simulator.Product-array>
\ No newline at end of file
data/in/config/transitions.xml
0 → 100644
View file @
531f08f8
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Légumes
</string>
<double>
0.3
</double>
</entry>
<entry>
<string>
Fourrage
</string>
<double>
0.3
</double>
</entry>
<entry>
<string>
Maïs
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Blé
</string>
<double>
0.1
</double>
</entry>
</concurrent-hash-map>
</entry>
<entry>
<string>
Légumes
</string>
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<double>
0.5
</double>
</entry>
<entry>
<string>
Légumes
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Fourrage
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Maïs
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Blé
</string>
<double>
0.1
</double>
</entry>
</concurrent-hash-map>
</entry>
<entry>
<string>
Fourrage
</string>
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<double>
0.3
</double>
</entry>
<entry>
<string>
Légumes
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Fourrage
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Maïs
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Blé
</string>
<double>
0.3
</double>
</entry>
</concurrent-hash-map>
</entry>
<entry>
<string>
Maïs
</string>
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Légumes
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Fourrage
</string>
<double>
0.3
</double>
</entry>
<entry>
<string>
Maïs
</string>
<double>
0.2
</double>
</entry>
<entry>
<string>
Blé
</string>
<double>
0.1
</double>
</entry>
</concurrent-hash-map>
</entry>
<entry>
<string>
Blé
</string>
<concurrent-hash-map>
<entry>
<string>
Verger
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Légumes
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Fourrage
</string>
<double>
0.1
</double>
</entry>
<entry>
<string>
Maïs
</string>
<double>
0.3
</double>
</entry>
<entry>
<string>
Blé
</string>
<double>
0.4
</double>
</entry>
</concurrent-hash-map>
</entry>
</concurrent-hash-map>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment