|
|
|
Description |
Operations on the chromosomes of individuals. The following assumptions
are made.
- Symbols are numbered 1 through n for a chromosome of length n.
- Genes are numbered 0 through m-1 for a chromosome with m genes.
The functions provided in this module are purely functional. See
GEP.MonadicGeneOperations for code that invokes these from within the
GEP.Rmonad monad.
|
|
Synopsis |
|
|
|
Documentation |
|
|
:: ([Symbol], [Symbol]) | Pair of individuals before crossover
| -> Int | Crossover point
| -> ([Symbol], [Symbol]) | Pair of individuals after crossover
| One-point crossover
|
|
|
|
:: ([Symbol], [Symbol]) | Pair of individuals before crossover
| -> Int | Crossover point 1
| -> Int | Crossover point 2
| -> ([Symbol], [Symbol]) | Pair of individuals after crossover
| Two-point crossover
|
|
|
|
:: ([Symbol], [Symbol]) | Pair of individuals before crossover
| -> Int | Gene number for crossover
| -> Int | Gene length in symbols
| -> ([Symbol], [Symbol]) | Pair of individuals after crossover
| Gene crossover
|
|
|
|
:: [Symbol] | Chromosome
| -> Genome | Genome
| -> Int | Gene number
| -> [Symbol] | Resulting chromosome
| Gene transposition.
|
|
|
|
:: [Symbol] | Chromosome
| -> Genome | Genome
| -> Int | Gene number
| -> Int | Position to take from within a gene
| -> Int | Length to take
| -> Int | Position to put within a gene
| -> [Symbol] | Resulting chromosome
| Insertion sequence transposition.
|
|
|
|
:: [Symbol] | Sequence to perform RIS transposition on
| -> Genome | Genome information
| -> Int | Gene to perform RIS transposition within
| -> Int | Position within gene to start search for
RIS for transposition
| -> Int | Length of RIS
| -> [Symbol] | Sequence after RIS transposition performed
| Root insertion sequence transposition.
|
|
|
Produced by Haddock version 2.6.1 |