Documentation of 'org.encog.ml.ea.genome.BasicGenome' Java class
BasicGenome
org.encog.ml.ea.genome

Class BasicGenome

    • Constructor Detail

      • BasicGenome

        public BasicGenome()
    • Method Detail

      • getAdjustedScore

        public double getAdjustedScore()
        Description copied from interface: Genome
        Get the adjusted score, this considers old-age penalties and youth bonuses. If there are no such bonuses or penalties, this is the same as the score.
        Specified by:
        getAdjustedScore in interface Genome
        Returns:
        The adjusted score, which considers bonuses.
      • getBirthGeneration

        public int getBirthGeneration()
        Specified by:
        getBirthGeneration in interface Genome
        Returns:
        the birthGeneration
      • getScore

        public double getScore()
        Specified by:
        getScore in interface Genome
        Returns:
        The score.
      • setAdjustedScore

        public void setAdjustedScore(double theAdjustedScore)
        Set the adjusted score.
        Specified by:
        setAdjustedScore in interface Genome
        Parameters:
        theAdjustedScore - The score.
      • setBirthGeneration

        public void setBirthGeneration(int birthGeneration)
        Description copied from interface: Genome
        Set the birth genertion (or iteration).
        Specified by:
        setBirthGeneration in interface Genome
        Parameters:
        birthGeneration - the birthGeneration to set
      • setPopulation

        public void setPopulation(Population thePopulation)
        Description copied from interface: Genome
        Set the population that this genome belongs to.
        Specified by:
        setPopulation in interface Genome
        Parameters:
        thePopulation - the population to set
      • setScore

        public void setScore(double theScore)
        Set the score.
        Specified by:
        setScore in interface Genome
        Parameters:
        theScore - Set the score.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setSpecies

        public void setSpecies(Species s)
        Description copied from interface: Genome
        Set the species for this genome.
        Specified by:
        setSpecies in interface Genome
        Parameters:
        s - the species to set
      • getSource

        public java.lang.String getSource()
        Specified by:
        getSource in interface Genome
        Returns:
        The source of this genome.
      • setSource

        public void setSource(java.lang.String theSource)
        Set the source of this genome.
        Specified by:
        setSource in interface Genome
        Parameters:
        theSource - The source.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.