Expand description
Constants§
- DEFAULT_
AGE_ SIGNIFICANCE - The boost that younger species (10 generations or fewer) receive to their adjusted fitness scores.
- DEFAULT_
CONNECTION_ MUTATION_ CHANCE - The likelyhood that a connection mutation will take place whenever a Genome mutates.
- DEFAULT_
CROSSOVER_ CHANCE - The likelyhood that when a Genome is mated, that it will be mated with another Genome from another Species instead of its own.
- DEFAULT_
DISABLE_ NODE_ MUTATION_ CHANCE - The likelyhood that when a Genome mutates, it will disable an existing Gene that is enabled. Note: disable mutation will only happen if neither connection mutation nor node mutation happens.
- DEFAULT_
DISJOINT_ COEFFICIENT - Used in determining whether two Genomes are the same Species
- DEFAULT_
DROPOFF_ AGE - The number of generations that a Species must exist without improving its fitness before it is considered stagnant, and receives an extreme penalty to its adjusted fitness score (making it much less likely to reproduce).
- DEFAULT_
ENABLE_ NODE_ MUTATION_ CHANCE - The likelyhood that when a Genome mutates, it will enable an existing Gene that is disabled. Note: enable mutation will only happen if neither connection mutation nor node mutation happens.
- DEFAULT_
EXCESS_ COEFFICIENT - Used in determining whether two Genomes are the same Species
- DEFAULT_
MATE_ ONLY_ RATE - The likelyhood that when a Genome is used as the basis for the next generation via mating, that the resulting offspring will not be mated.
- DEFAULT_
MUTATE_ ONLY_ RATE - The likelyhood that when a Genome is used as the basis for the next generation, that it will be cloned and mutated only (rather than mated).
- DEFAULT_
NODE_ MUTATION_ CHANCE - The likelyhood that a new node will be added whenever a Genome mutates. Note: node mutation will only happen if a connection mutation does not. Thus, if the connection mutation chance is set to 1.0 (100% chance), this will never happen.
- DEFAULT_
PERTURB_ CHANCE - The likelyhood that when a Genome mutates a weight, that
it will
perturb
it – that is to say, randomly assign it a new value between 0.0 and 1.0. - DEFAULT_
POPULATION_ SIZE - The default number of Genomes a Pool will maintain.
- DEFAULT_
SPECIES_ THRESHOLD - Used in determining whether two Genomes are the same Species
- DEFAULT_
SURVIVAL_ THRESHOLD - Used in determining how many Genomes from a Species will be used as the basis for the next generation.
- DEFAULT_
WEIGHT_ DIFF_ COEFFICIENT - Used in determining whether two Genomes are the same Species
- DEFAULT_
WEIGHT_ MUTATION_ CHANCE - The likelyhood that an existing Gene will have its weights altered whenever a Genome mutates. Note: weight mutation will only happen if neither connection mutation nor node mutation happens.
- DEFAULT_
WEIGHT_ STEP_ SIZE - The amount of change (+ or -) that a Gene’s weight will incur when a weight mutation takes place (if it has not been perturbed).