Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
Public Member Functions | Public Attributes | List of all members
Evolife.Examples.GraphicExample.Population Class Reference

defines the population of agents More...

Public Member Functions

def __init__ (self, NbAgents, Observer)
 creates a population of agents More...
 
def __iter__ (self)
 
def positions (self)
 
def one_year (self)
 

Public Attributes

 Pop
 
 Obs
 
 MouseEvent
 

Detailed Description

defines the population of agents

Definition at line 174 of file GraphicExample.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Examples.GraphicExample.Population.__init__ (   self,
  NbAgents,
  Observer 
)

creates a population of agents

Definition at line 177 of file GraphicExample.py.

Member Function Documentation

◆ __iter__()

def Evolife.Examples.GraphicExample.Population.__iter__ (   self)

Definition at line 184 of file GraphicExample.py.

◆ one_year()

def Evolife.Examples.GraphicExample.Population.one_year (   self)

Definition at line 192 of file GraphicExample.py.

◆ positions()

def Evolife.Examples.GraphicExample.Population.positions (   self)

Definition at line 186 of file GraphicExample.py.

Member Data Documentation

◆ MouseEvent

Evolife.Examples.GraphicExample.Population.MouseEvent

Definition at line 182 of file GraphicExample.py.

◆ Obs

Evolife.Examples.GraphicExample.Population.Obs

Definition at line 181 of file GraphicExample.py.

◆ Pop

Evolife.Examples.GraphicExample.Population.Pop

Definition at line 180 of file GraphicExample.py.


The documentation for this class was generated from the following file: