GEP::Core::Float::MatingProbabilityFunctions::SogartarParabolicMappingFitnessToProbability Class Reference

The mapping function is composed of halfs of two parabolas. More...

Inheritance diagram for GEP::Core::Float::MatingProbabilityFunctions::SogartarParabolicMappingFitnessToProbability:

Inheritance graph
[legend]
Collaboration diagram for GEP::Core::Float::MatingProbabilityFunctions::SogartarParabolicMappingFitnessToProbability:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SogartarParabolicMappingFitnessToProbability (bool fitnessCloserToZeroIsBetter)
override void SetMatingProbability (Common.Population population)
abstract void SetMatingProbability (Population population)
 Evaluates and assigns Genotype.MatingProbabilitys to all genotypes in population .

Protected Attributes

Random _random = new Random()


Detailed Description

The mapping function is composed of halfs of two parabolas.

Sketch of the mapping:

        mating
        probability
         ^                                               
         |                                              parabola 2
        1.                                             |                   .
         |                                                            .
         |                                             |          .
         |                                                     .
         |                                             |     .             |
         |                                                 .
         |                                               .                 |
         |                                              .
        1|                                             .                   |
        -.      -      -      -      -       -         :  -   -  -  -  -  -
        2|                                            .
         |                                          .                      |
         |                                       .
         |                                   . 
         |             parabola 1       .              |                   |
         |                         .
         |                   .
         |             .                               |                   |
        0|     .
         :---------------------------------------------.-------------------.---------------->
         |worst fitness                     median average fitness        best fitness     fitness

Definition at line 43 of file SogartarParabolicMappingFitnessToProbability.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo