people:chris_symonds:model
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
people:chris_symonds:model [2014/11/15 20:41] – csymonds | people:chris_symonds:model [2014/11/16 23:07] (current) – [Figure 1] csymonds | ||
---|---|---|---|
Line 4: | Line 4: | ||
=====Model Description===== | =====Model Description===== | ||
- | The Paralta simulation | + | The Paralta simulation |
- | + | ||
- | We introduce Sytizen; Why stock parameters change on dreg and res | + | |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | + | ||
- | DREGs are set with the following parameters: | + | |
- | * Spawn RES with a set probability. | + | |
- | * Delete nearby Elements | + | |
- | * Spawn other DREGs with probability 0.002 | + | |
- | * Delete other DREGs with probability 0.02 | + | |
- | + | ||
- | RES are consumed by Sytizens | + | |
- | * 10 points of energy | + | |
Each Sytizen is represented by the following parameters: | Each Sytizen is represented by the following parameters: | ||
- | * Team - an integer | + | * Team - a three-bit |
- | * Energy - an integer | + | * Energy - a nine-bit |
- | * res grant 10 energy | + | * res grant 10 energy |
- | * Genotype - the genetic makeup of the Sytizen that determines its overall behavior in the world. This is represented by two 4-bit values | + | * Genotype - the genetic makeup of the Sytizen that determines its overall behavior in the world. This is represented by two, four-bit values: |
- | * Parochialism - a value 0 =< p =< 7 indicates a non-parochial | + | * Parochialism - a Sytizen with Parochial |
- | * Altruism - a value 0 =< a =< 7 indicates a non-altruistic | + | * Altruism - a Sytizen with Altruism |
- | The Genotype parameter combinations | + | The Genotype parameter combinations |
+ | Parochial Altruist (PA) will take on the genetic behavior of both Parochials and Altruists. | ||
- | Parochial | + | Parochial |
- | Parochial | + | Non-Parochial |
- | Non-Parochial Altruists (NPA): Upon encountering an in-group member with low energy within a Manhattan distance of 2, NPAs will share an amount of their resources equal to half the difference in energy, less a sharing threshold of 20. Movement is additionally biased towards in-group members. | + | Non-Parochial |
- | Non-Parochial Non-Altruists | + | ===Genetic Behavior=== |
+ | A Sytizen that falls into the Altruist category will engage in their genetic behavior once per simulation event, if the energy of the Sytizen is greater than the threshold set before the simulation begins. If so, the Sytizen will choose an in-group member at random within two Manhattan distance from herself. If the energy of that member is less than the energy of the active Sytizen | ||
+ | Any Sytizen that is considered Parochial will engage in Parochial behavior once per simulation event, if the energy of the Sytizen is greater than the threshold set before the simulation begins. This behavior will happen in addition to the Altruistic behavior, if the Sytizen is considered to be both. The Sytizen will choose one out-group member within Manhattan distance two uniformly at random. The victim will be killed with probability 0.5. If the victim is not killed, the attacker herself has a 0.5 probability of dying in the attempt. | ||
- | At the beginning of an event, a Sytizen will first pay a metabolism cost of 1 energy. If this depletes the energy to 0, the Sytizen is removed and the event ended. The neighborhood of the Sytizen is then scanned, and the location and type of any Element or empty space is recorded within a Manhattan distance of 4. The Sytizen will then consume one neighboring RES within | + | ===Simulation Events=== |
+ | At the beginning of an event, a Sytizen will first pay a metabolism cost of 1 energy. If this depletes the energy to 0, the Sytizen is removed and the event ended. The neighborhood of the Sytizen is then scanned, and the location and type of any Element or empty space is recorded within a Manhattan distance of four. The Sytizen will then consume one neighboring RES within | ||
- | If the Sytizen is still alive and their total energy is greater than 40, they will attempt to procreate. Any in-group members within a Manhattan distance of 2 are sorted by energy. If the highest energy amount is greater than 40 RES, that Sytizen is selected to breed. If an empty location is available, an offspring will appear with a starting energy of 20, and the energy of each parent reduced by 20. The offspring will inherit one of the parent' | + | If the Sytizen is still alive and their total energy is greater than 30, they will attempt to procreate. Any in-group members within a Manhattan distance of four are sorted by energy. If the highest energy amount is greater than 40 RES, that Sytizen is selected to breed. If an empty location is available, an offspring will appear with a starting energy of 20, and the energy of each parent reduced by 10. The offspring will inherit one of the parent' |
- | Finally, the Sytizen engages in movement. All Sytizens, in addition to their genetic movement bias (if any), are also movement-biased towards any RES visible to them in a given event. They take a single step, and the event is concluded. | + | Finally, the Sytizen engages in movement. All Sytizens are movement-biased towards any RES visible to them in a given event. The normalized locations of any RES within manhattan distance four are summed, and a vector is determined from the average of those locations. They take a single step, and the event is concluded. |
- | We vary the probability that DREGs produce RES in the environment to simulate various states of resource scarcity. The spawn rates are 0.02, 0.01, 0.0067, and 0.005 for the respective runs. We conduct 5 simulation runs for each scarcity category. Simulations are run for 10 kAEPS or until only 1 group remains. We then analyze the phenotype categories within the population over the life of the simulation. | + | ===Methodology=== |
+ | The energy threshold by which a Sytizen will engage | ||
[[people: | [[people: | ||
=====Figure 1===== | =====Figure 1===== | ||
- | {{: | + | {{: |
people/chris_symonds/model.1416084105.txt.gz · Last modified: 2014/11/15 20:41 by csymonds