→ summary
******************************************************************************************
Module Evolife.Ecology.Phenotype:
================================
EVOLIFE: Module Phenotype:
Definition of phenotype as non inheritable characters
******************************************************************************************
**************************************************************************************
Class Phene:
===========
class Phene: define a non-heritable characteristics
**************************************************************************************
----------------------------------------------------------------------------------
Method Phene.__init__:
=====================
creates a zero-valued or a random characteristics, depending on FlagRandom
----------------------------------------------------------------------------------
Arguments:
. Name
. FlagRandom
----------------------------------------------------------------------------------
Method Phene.relative_value:
===========================
returns the Phene’s value between 0 and 100
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
Method Phene.value:
==================
sets or merely reads the Phene’s value, possibly by limiting it to MaxPheneValue
----------------------------------------------------------------------------------
Arguments:
. Value
. Levelling
**************************************************************************************
Class Phenome:
=============
class Phenome: set of non inheritable characteristics
**************************************************************************************
----------------------------------------------------------------------------------
Method Phenome.__init__:
=======================
creates a dictionary of Phenes as defined by Scenario.phenemap()
----------------------------------------------------------------------------------
Arguments:
. Scenario
. FlagRandom
----------------------------------------------------------------------------------
Method Phenome.Phene_value:
==========================
reads or sets the value of a phene
----------------------------------------------------------------------------------
Arguments:
. name
. Value
. Levelling
----------------------------------------------------------------------------------
Method Phenome.Phene_relative_value:
===================================
returns a Phene’s value between 0 and 100
----------------------------------------------------------------------------------
Arguments:
. name
----------------------------------------------------------------------------------
Method Phenome.signature:
========================
returns phene values as a list of relative values
----------------------------------------------------------------------------------
Back to Evolife