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

class Genome: list of genes carried by individuals More...

Inheritance diagram for Evolife.Genetics.Genome.Genome:
Inheritance graph
[legend]
Collaboration diagram for Evolife.Genetics.Genome.Genome:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, Scenario)
 
def update (self)
 gene values are read from DNA and stored in Genes More...
 
def gene_value (self, name)
 absolute intensity addressed trough name More...
 
def gene_relative_value (self, name)
 relative intensity (between 0 and 100) addressed through name More...
 
def locus_value (self, locus)
 absolute intensity addressed trough locus More...
 
def locus_relative_value (self, locus)
 relative intensity (between 0 and 100) addressed through locus More...
 
def signature (self)
 returns all gene relative values - useful for statistics and display More...
 
- Public Member Functions inherited from Evolife.Genetics.DNA.DNA
def __init__ (self, Scenario, Nb_nucleotides)
 
def DNAfill (self, Nucleotides)
 fills the DNA with given Nucleotides More...
 
def hybrid (self, mother, father, number_crossover=-1)
 builds the child's DNA from the parents' DNA More...
 
def mutate (self, mutation_rate=-1)
 computing the expected number of mutations More...
 

Public Attributes

 Scenario
 
 genome
 
- Public Attributes inherited from Evolife.Genetics.DNA.DNA
 Scenario
 
 nb_nucleotides
 

Detailed Description

class Genome: list of genes carried by individuals

Definition at line 42 of file Genome.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Genetics.Genome.Genome.__init__ (   self,
  Scenario 
)

Reimplemented from Evolife.Genetics.DNA.DNA.

Reimplemented in Evolife.Ecology.Individual.EvolifeIndividual.

Definition at line 46 of file Genome.py.

Member Function Documentation

◆ gene_relative_value()

def Evolife.Genetics.Genome.Genome.gene_relative_value (   self,
  name 
)

relative intensity (between 0 and 100) addressed through name

Definition at line 66 of file Genome.py.

◆ gene_value()

def Evolife.Genetics.Genome.Genome.gene_value (   self,
  name 
)

absolute intensity addressed trough name

Definition at line 61 of file Genome.py.

◆ locus_relative_value()

def Evolife.Genetics.Genome.Genome.locus_relative_value (   self,
  locus 
)

relative intensity (between 0 and 100) addressed through locus

Definition at line 76 of file Genome.py.

◆ locus_value()

def Evolife.Genetics.Genome.Genome.locus_value (   self,
  locus 
)

absolute intensity addressed trough locus

Definition at line 71 of file Genome.py.

◆ signature()

def Evolife.Genetics.Genome.Genome.signature (   self)

returns all gene relative values - useful for statistics and display

Definition at line 81 of file Genome.py.

◆ update()

def Evolife.Genetics.Genome.Genome.update (   self)

gene values are read from DNA and stored in Genes

Definition at line 53 of file Genome.py.

Member Data Documentation

◆ genome

Evolife.Genetics.Genome.Genome.genome

Definition at line 48 of file Genome.py.

◆ Scenario

Evolife.Genetics.Genome.Genome.Scenario

Definition at line 47 of file Genome.py.


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