Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
class Phene: define a non-heritable characteristics More...
Public Member Functions | |
def | __init__ (self, Name, FlagRandom=True) |
creates a zero-valued or a random characteristics, depending on FlagRandom More... | |
def | relative_value (self) |
returns the Phene's value between 0 and 100 More... | |
def | value (self, Value=None, Levelling=False) |
sets or merely reads the Phene's value, possibly by limiting it to MaxPheneValue More... | |
Public Attributes | |
Name | |
Static Public Attributes | |
int | MaxPheneValue = 100 |
class Phene: define a non-heritable characteristics
Definition at line 30 of file Phenotype.py.
def Evolife.Ecology.Phenotype.Phene.__init__ | ( | self, | |
Name, | |||
FlagRandom = True |
|||
) |
creates a zero-valued or a random characteristics, depending on FlagRandom
Definition at line 35 of file Phenotype.py.
def Evolife.Ecology.Phenotype.Phene.relative_value | ( | self | ) |
returns the Phene's value between 0 and 100
Definition at line 44 of file Phenotype.py.
def Evolife.Ecology.Phenotype.Phene.value | ( | self, | |
Value = None , |
|||
Levelling = False |
|||
) |
sets or merely reads the Phene's value, possibly by limiting it to MaxPheneValue
Definition at line 49 of file Phenotype.py.
|
static |
Definition at line 33 of file Phenotype.py.
Evolife.Ecology.Phenotype.Phene.Name |
Definition at line 38 of file Phenotype.py.