|
Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Simulation in batch mode (no vizualisation) #. More...
Public Member Functions | |
| def | __init__ (self, SimulationStep, Obs) |
| Stores Obs as observer and SimulationStep as the function that processes one step of the simulation. More... | |
| def | Simulation_stop (self) |
| Stops the simulation thread. More... | |
| def | Simulation_launch (self, functioning_mode) |
| (re)starts the simulation thread More... | |
| def | ReturnFromThread (self, Best) |
| The simulation thread returns the best current phenotype. More... | |
| def | Process_graph_orders (self, BestPhenotype) |
| Retrieves plot orders from observer as a list of (CurveId, Point) and add points to curves accordingly. More... | |
| def | Destruction (self, event=None) |
| Stops the simulation and dumps data into output file. More... | |
Public Attributes | |
| BestResult | |
| Results | |
| Curves | |
| simulation | |
| Obs | |
| OneStep | |
Simulation in batch mode (no vizualisation) #.
Launches Evolife in a non-interactive way. Useful for repetitive simulation to explore parameter space.
Definition at line 39 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.__init__ | ( | self, | |
| SimulationStep, | |||
| Obs | |||
| ) |
Stores Obs as observer and SimulationStep as the function that processes one step of the simulation.
Creates curves from Obs's CurveNames.
Definition at line 44 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.Destruction | ( | self, | |
event = None |
|||
| ) |
Stops the simulation and dumps data into output file.
Definition at line 95 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.Process_graph_orders | ( | self, | |
| BestPhenotype | |||
| ) |
Retrieves plot orders from observer as a list of (CurveId, Point) and add points to curves accordingly.
Definition at line 85 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.ReturnFromThread | ( | self, | |
| Best | |||
| ) |
The simulation thread returns the best current phenotype.
Definition at line 71 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.Simulation_launch | ( | self, | |
| functioning_mode | |||
| ) |
(re)starts the simulation thread
Definition at line 64 of file Evolife_Batch.py.
| def Evolife.Graphics.Evolife_Batch.Evolife_Batch.Simulation_stop | ( | self | ) |
Stops the simulation thread.
Definition at line 58 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.BestResult |
Definition at line 49 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.Curves |
Definition at line 51 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.Obs |
Definition at line 54 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.OneStep |
Definition at line 55 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.Results |
Definition at line 50 of file Evolife_Batch.py.
| Evolife.Graphics.Evolife_Batch.Evolife_Batch.simulation |
Definition at line 53 of file Evolife_Batch.py.