Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
Classes | Namespaces | Functions | Variables
Evolife_Window.py File Reference

Go to the source code of this file.

Classes

class  Evolife.Graphics.Evolife_Window.Simulation_Control
 Interface with the simulation thread #. More...
 
class  Evolife.Graphics.Evolife_Window.Simulation_Control_Frame
 Minimal control panel with [Run] [Step] [Help] and [quit] buttons. More...
 
class  Evolife.Graphics.Evolife_Window.Simulation_Display_Control_Frame
 This class combines a control panel and a slider for controlling display period. More...
 
class  Evolife.Graphics.Evolife_Window.Simulation_Frame
 This class combines a control panel and a space to display curves. More...
 
class  Evolife.Graphics.Evolife_Window.Evolife_Frame
 Defines Evolife main window by modification of the generic Simulation Frame. More...
 

Namespaces

namespace  Evolife
 
namespace  Evolife.Graphics
 
namespace  Evolife.Graphics.Evolife_Window
 Evolife Window system

 

Functions

def Evolife.Graphics.Evolife_Window.Raise (self)
 if self.closeEvent(None): QtCore.QCoreApplication.instance().quit() More...
 
def Evolife.Graphics.Evolife_Window.closeEvent (self, event)
 close satelite windows and stops the simulation More...
 
def Evolife.Graphics.Evolife_Window.SWDestroyed (self, SW)
 A satellite window has been destroyed - removes it from the list. More...
 
def Evolife.Graphics.Evolife_Window.ReturnFromThread (self)
 Processes graphic orders if in visible state returns -1 if Observer says the simulation is over. More...
 
def Evolife.Graphics.Evolife_Window.Process_graph_orders (self)
 Just let Observer know that display has taken place. More...
 
def Evolife.Graphics.Evolife_Window.keyPressEvent (self, e)
 processes actions such as Run, Step, Help... More...
 
def Evolife.Graphics.Evolife_Window.EventInterpreter (self, Event)
 Sends event to observer (useful for mouse events) More...
 
def Evolife.Graphics.Evolife_Window.Start (SimulationStep, Obs, Capabilities='C', Options={})
 SimulationStep is a function that performs a simulation step Obs is the observer that stores statistics Capabilities (curves, genome display, trajectory display...) = any string of letters from: CFGNTP C = Curves F = Field (2D seasonal display) (excludes R) G = Genome display I = Image (same as Field, but no slider) L = Log Terminal N = social network display P = Photo (screenshot) R = Region (2D ongoing display) (excludes F) T = Trajectory display. More...
 

Variables

string Evolife.Graphics.Evolife_Window.DefaultIconName = 'Graphics/EvolifeIcon.png'
 
string Evolife.Graphics.Evolife_Window.HelpFileName = 'Help.txt'
 
 Evolife.Graphics.Evolife_Window.Screen_ = None
 
 Evolife.Graphics.Evolife_Window.Finish
 
 Evolife.Graphics.Evolife_Window.simulation_steady_mode
 
 Evolife.Graphics.Evolife_Window.PhotoMode