You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Currently, each individual's culture is represented by a set of {math}`N` featur
18
18
19
19
### Neutral model
20
20
21
-
The Neutral model follows loosely the set up selected by other authors working on the spread of cultural traits (_e.g._*Patterns in space and time: simulating cultural transmission in archaeology*, Marko Porčić). While in most works the Neutral Model assumes some sort of mutation rate in the traits, in the form of errors in the process of copying traits, we assume no copying error and instead use the simplest model where one focal individual at random in each subpopulation and each generation copies one trait at random from another individual in the same sub-population. Because of the absence of mutations, given enough time, this process is expected to lead to uniformity in an isolated subpopulation.
21
+
The Neutral model follows loosely the set up selected by other authors working on the spread of cultural traits (_e.g._*Patterns in space and time: simulating cultural transmission in archaeology*, Marko Porčić). While in most works the Neutral Model assumes some sort of mutation rate in the traits, in the form of errors in the process of copying traits, we assume no copying error and instead use the simplest model where one focal individual at random in each subpopulation and each generation copies one trait at random from another individual in the same subpopulation. Because of the absence of mutations, given enough time, this process is expected to lead to uniformity in an isolated subpopulation.
Copy file name to clipboardExpand all lines: metapypulation/metapopulation.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ class Metapopulation():
24
24
carrying_capacities (List[int] | int): A list of carrying capacities (one for each subpopulation) or an integer (same carrying capacity for each subpopulation).
25
25
number_of_features (int): Total number of cultural features per individual.
26
26
number_of_traits (int, optional): Number of different possible traits for each cultural feature.
27
+
mutation_rate (float, optional): Probability of a mutation to occur.
27
28
min_trait (int, optional): Minimum value for a trait in each feature.
28
29
max_trait (int, optional): Maximum value for a trait in each feature.
carrying_capacities (List[int] | int, optional): Either a list of carrying capacities (of which the `len()` is the same as `number_of_subpopulations`) or single integer determining the same carrying capacity for all subpopulations. Defaults to 100.
46
48
number_of_features (int, optional): Total number of cultural features per individual. Defaults to 5.
47
49
number_of_traits (int, optional): Number of different possible traits for each cultural feature. Defaults to 10.
50
+
mutation_rate (float, optional): Probability of a mutation to occur. Defaults to 0.0.
48
51
min_trait (int, optional): Minimum value for a trait in each feature. Defaults to 1.
49
52
max_trait (int, optional): Maximum value for a trait in each feature. Deafults to 10.
0 commit comments