|
Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Customized scenario. More...
Classes | |
| class | Group |
| Calls local class when creating individuals. More... | |
| class | Individual_ |
| class Individual_: defines what an individual consists of More... | |
| class | Observer |
| Observer stores display instructions and makes statistics See Evolife/Apps/GraphicExample.py for examples. More... | |
| class | Population |
| Calls local class when creating group. More... | |
| class | Scenario |
| Implement a scenario here, by instantiating Default_Scenario. More... | |
Variables | |
| Gbl = Scenario() | |
| Obs = Observer(Gbl) | |
| Pop = Population(Scenario=Gbl, Evolife_Obs=Obs) | |
| string | Capabilities = 'FGCP' |
| list | Views = [] |
| SimulationStep | |
| one_year | |
| Options | |
Customized scenario.
Use this if you REALLY need to re-implement the - Individual - Group - Observer classes. Otherwise, create a scenation named S_xxx.py as shown in the many examples contained in this directory.
| Evolife.Scenarii.CustomScenario.Capabilities = 'FGCP' |
Definition at line 99 of file CustomScenario.py.
| Evolife.Scenarii.CustomScenario.Gbl = Scenario() |
Definition at line 92 of file CustomScenario.py.
Definition at line 93 of file CustomScenario.py.
| Evolife.Scenarii.CustomScenario.one_year |
Definition at line 104 of file CustomScenario.py.
| Evolife.Scenarii.CustomScenario.Options |
Definition at line 105 of file CustomScenario.py.
| Evolife.Scenarii.CustomScenario.Pop = Population(Scenario=Gbl, Evolife_Obs=Obs) |
Definition at line 94 of file CustomScenario.py.
| Evolife.Scenarii.CustomScenario.SimulationStep |
Definition at line 104 of file CustomScenario.py.
| list Evolife.Scenarii.CustomScenario.Views = [] |
Definition at line 100 of file CustomScenario.py.