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

class Phenome: set of non inheritable characteristics More...

Inheritance diagram for Evolife.Ecology.Phenotype.Phenome:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, Scenario, FlagRandom=True)
 creates a dictionary of Phenes as defined by Scenario.phenemap() More...
 
def Phene_value (self, name, Value=None, Levelling=False)
 reads or sets the value of a phene More...
 
def Phene_relative_value (self, name)
 returns a Phene's value between 0 and 100 More...
 
def signature (self)
 returns phene values as a list of relative values More...
 

Public Attributes

 Scenario
 
 Phenes
 

Detailed Description

class Phenome: set of non inheritable characteristics

Definition at line 61 of file Phenotype.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Ecology.Phenotype.Phenome.__init__ (   self,
  Scenario,
  FlagRandom = True 
)

creates a dictionary of Phenes as defined by Scenario.phenemap()

Reimplemented in Evolife.Ecology.Individual.EvolifeIndividual.

Definition at line 64 of file Phenotype.py.

Member Function Documentation

◆ Phene_relative_value()

def Evolife.Ecology.Phenotype.Phenome.Phene_relative_value (   self,
  name 
)

returns a Phene's value between 0 and 100

Definition at line 76 of file Phenotype.py.

◆ Phene_value()

def Evolife.Ecology.Phenotype.Phenome.Phene_value (   self,
  name,
  Value = None,
  Levelling = False 
)

reads or sets the value of a phene

Definition at line 71 of file Phenotype.py.

◆ signature()

def Evolife.Ecology.Phenotype.Phenome.signature (   self)

returns phene values as a list of relative values

Definition at line 81 of file Phenotype.py.

Member Data Documentation

◆ Phenes

Evolife.Ecology.Phenotype.Phenome.Phenes

Definition at line 68 of file Phenotype.py.

◆ Scenario

Evolife.Ecology.Phenotype.Phenome.Scenario

Definition at line 67 of file Phenotype.py.


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