|
Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Calls local class when creating group. More...


Public Member Functions | |
| def | createGroup (self, ID=0, Size=0) |
| This version of 'createGroup' calls the 'EvolifeGroup' class instead of the 'Group' class. More... | |
| def | season_initialization (self) |
Public Member Functions inherited from Evolife.Ecology.Population.EvolifePopulation | |
| def | __init__ (self, Scenario, Evolife_Obs) |
| Creation of groups. More... | |
| def | createGroup (self, ID=0, Size=0) |
| This version of 'createGroup' calls the 'EvolifeGroup' class instead of the 'Group' class. More... | |
| def | reproduction (self) |
| launches reproduction in groups More... | |
| def | life_game (self) |
| Calls local 'life_game' in groups. More... | |
| def | one_year (self) |
| Population's 'one_year' + calls to 'reproduction' and 'life_game'. More... | |
Public Member Functions inherited from Evolife.Ecology.Population.Population | |
| def | __init__ (self, Scenario, Observer) |
| Creation of the groups - calls createGroup. More... | |
| def | createGroup (self, ID=0, Size=0) |
| Calls class 'Group'. More... | |
| def | selectIndividual (self) |
| random selection of an individual in the population More... | |
| def | lottery (self) |
| random selection of an individual by number in the population More... | |
| def | season (self) |
| increments 'year' and calls Oberver's season and groups' season More... | |
| def | migration (self) |
| migration between groups of some percentage of individuals More... | |
| def | group_splitting (self) |
| groups that are too big are split in two, and groups that are too small are dispersed More... | |
Additional Inherited Members | |
Public Attributes inherited from Evolife.Ecology.Population.EvolifePopulation | |
| popSize | |
Public Attributes inherited from Evolife.Ecology.Population.Population | |
| Scenario | |
| popSize | |
| groupMaxSize | |
| groups | |
| year | |
| Observer | |
| best_score | |
Calls local class when creating group.
Definition at line 76 of file CustomScenario.py.
| def Evolife.Scenarii.CustomScenario.Population.createGroup | ( | self, | |
ID = 0, |
|||
Size = 0 |
|||
| ) |
This version of 'createGroup' calls the 'EvolifeGroup' class instead of the 'Group' class.
Reimplemented from Evolife.Ecology.Population.EvolifePopulation.
Definition at line 79 of file CustomScenario.py.
| def Evolife.Scenarii.CustomScenario.Population.season_initialization | ( | self | ) |
Definition at line 82 of file CustomScenario.py.