Documentation of 'org.encog.ml.prg.species.PrgSpeciation' Java class
PrgSpeciation
org.encog.ml.prg.species

Class PrgSpeciation

  • All Implemented Interfaces:
    java.io.Serializable, Speciation


    public class PrgSpeciation
    extends ThresholdSpeciation
    Perform speciation for two Encog programs. This is a threshold based speciation, similar to that used for NEAT. Any genomes with a compatibility score below a specified threshold will be in the same species.
    See Also:
    Serialized Form
    • Constructor Detail

      • PrgSpeciation

        public PrgSpeciation()
    • Method Detail

      • getCompatibilityScore

        public double getCompatibilityScore(Genome genome1,
                                            Genome genome2)
        Determine how compatible two genomes are. More compatible genomes will be placed into the same species. The lower the number, the more compatible.
        Specified by:
        getCompatibilityScore in class ThresholdSpeciation
        Parameters:
        genome1 - The first genome.
        genome2 - The second genome.
        Returns:
        The compatability level.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.