The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
This describes an individual gene object. See the genome structure for as general description and gene for details. More...
Public Member Functions | |
procedure, public | init_allele => allele_init_random |
init alleles with random values, labels not set here, use this function for startup initialisations of random agents See the_genome::allele_init_random() More... | |
procedure, public | create_allele => allele_create_zero |
create empty zero allele object, should be used for offspring inits as we do not need to init them with random values, they will get them from the parents using inherit function set See the_genome::allele_create_zero() More... | |
procedure, public | label_random => allele_label_init_random |
init label alleles random See the_genome::allele_label_init_random() More... | |
procedure, public | labels => allele_label_set |
set labels for the allele See the_genome::allele_label_set() More... | |
procedure, public | label_get => allele_label_get |
get the allele label See the_genome::allele_label_get() More... | |
procedure, public | set => allele_value_set |
set individual value of allele See the_genome::allele_value_set() More... | |
procedure, public | set_vector => alleles_value_vector_set |
set the vector of additive allele components See the_genome::alleles_value_vector_set() More... | |
procedure, public | get => allele_value_get |
get the value of the allele See the_genome::allele_value_get() More... | |
procedure, public | get_vector => allele_values_vector_get |
get the vector of additive allele components See the_genome::allele_values_vector_get() More... | |
procedure, public | rank => allele_rank_id_set |
set rank_id for the allele See the_genome::allele_rank_id_set() More... | |
procedure, public | mutate_point => allele_mutate_random |
Introduce a random point mutation to one (random) of the alleles See the_genome::allele_mutate_random() More... | |
procedure, public | mutate_set => allele_mutate_random_batch |
Introduce random mutations to the whole allele components set See the_genome::allele_mutate_random_batch() More... | |
Public Attributes | |
character(len=label_length) | allele_label |
sets a descriptive label of the allele, e.g its role and purpose More... | |
integer, dimension(additive_comps) | allele_value |
Sets the value of the allele that is stored and evolved. More... | |
logical | dominant |
sets if the allele is dominant More... | |
real(srp) | dominance_weight |
sets the multiplicative dominance weight More... | |
integer | rank_id |
rank_id of the gene, needed for sorting alleles within the chromosome More... | |
This describes an individual gene object. See the genome structure for as general description and gene for details.
Definition at line 34 of file m_genome.f90.
procedure, public the_genome::gene::init_allele |
init alleles with random values, labels not set here, use this function for startup initialisations of random agents See the_genome::allele_init_random()
Definition at line 65 of file m_genome.f90.
procedure, public the_genome::gene::create_allele |
create empty zero allele object, should be used for offspring inits as we do not need to init them with random values, they will get them from the parents using inherit function set See the_genome::allele_create_zero()
Definition at line 70 of file m_genome.f90.
procedure, public the_genome::gene::label_random |
init label alleles random See the_genome::allele_label_init_random()
Definition at line 73 of file m_genome.f90.
procedure, public the_genome::gene::labels |
set labels for the allele See the_genome::allele_label_set()
Definition at line 76 of file m_genome.f90.
procedure, public the_genome::gene::label_get |
get the allele label See the_genome::allele_label_get()
Definition at line 79 of file m_genome.f90.
procedure, public the_genome::gene::set |
set individual value of allele See the_genome::allele_value_set()
Definition at line 82 of file m_genome.f90.
procedure, public the_genome::gene::set_vector |
set the vector of additive allele components See the_genome::alleles_value_vector_set()
Definition at line 85 of file m_genome.f90.
procedure, public the_genome::gene::get |
get the value of the allele See the_genome::allele_value_get()
Definition at line 88 of file m_genome.f90.
procedure, public the_genome::gene::get_vector |
get the vector of additive allele components See the_genome::allele_values_vector_get()
Definition at line 91 of file m_genome.f90.
procedure, public the_genome::gene::rank |
set rank_id for the allele See the_genome::allele_rank_id_set()
Definition at line 94 of file m_genome.f90.
procedure, public the_genome::gene::mutate_point |
Introduce a random point mutation to one (random) of the alleles See the_genome::allele_mutate_random()
Definition at line 97 of file m_genome.f90.
procedure, public the_genome::gene::mutate_set |
Introduce random mutations to the whole allele components set See the_genome::allele_mutate_random_batch()
Definition at line 100 of file m_genome.f90.
character(len=label_length) the_genome::gene::allele_label |
sets a descriptive label of the allele, e.g its role and purpose
Definition at line 36 of file m_genome.f90.
integer, dimension(additive_comps) the_genome::gene::allele_value |
Sets the value of the allele that is stored and evolved.
Definition at line 54 of file m_genome.f90.
logical the_genome::gene::dominant |
sets if the allele is dominant
Definition at line 56 of file m_genome.f90.
real(srp) the_genome::gene::dominance_weight |
sets the multiplicative dominance weight
Definition at line 58 of file m_genome.f90.
integer the_genome::gene::rank_id |
rank_id of the gene, needed for sorting alleles within the chromosome
Definition at line 60 of file m_genome.f90.