module Ga_types: sig
.. end
Types used in the genetic algorithm.
type 'a
chromosome = {
|
mutable r_fit : float Lazy.t ; |
|
mutable s_fit : float ; |
|
data : 'a ; |
}
The type of the population elements.
type 'a
population = 'a chromosome array
The type of a population.
type
scaling =
| |
No_scaling |
| |
Sigma_truncation |
| |
Power_low |
| |
Ranking |
type
sharing = {
|
protected : int list ; |
|
clusters : int ; |
|
optima : int ; |
|
dmean : float ; |
}
Type for the output of the sharing phase.
type
gvars = {
|
seed : int ; |
|
nbgens : int ; |
|
nbelems : int ; |
|
pcross : float ; |
|
pmut : float ; |
|
scaling : scaling ; |
|
elitist : bool ; |
|
sharing : float ; |
|
complex_sharing : float ; |
|
evolutive : bool ; |
}
Type for the genetic algorithm parameters.