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.Agent Class Reference

class Agent: defines what an individual consists of More...

Public Member Functions

def __init__ (self, IdNb)
 
def move (self)
 

Public Attributes

 ID
 
 colour
 
 Size
 
 Location
 

Detailed Description

class Agent: defines what an individual consists of

Definition at line 158 of file GraphicExample.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Examples.GraphicExample.Agent.__init__ (   self,
  IdNb 
)

Definition at line 161 of file GraphicExample.py.

Member Function Documentation

◆ move()

def Evolife.Examples.GraphicExample.Agent.move (   self)

Definition at line 169 of file GraphicExample.py.

Member Data Documentation

◆ colour

Evolife.Examples.GraphicExample.Agent.colour

Definition at line 164 of file GraphicExample.py.

◆ ID

Evolife.Examples.GraphicExample.Agent.ID

Definition at line 162 of file GraphicExample.py.

◆ Location

Evolife.Examples.GraphicExample.Agent.Location

Definition at line 167 of file GraphicExample.py.

◆ Size

Evolife.Examples.GraphicExample.Agent.Size

Definition at line 166 of file GraphicExample.py.


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