Documentation of 'org.jgap.gp.GPFitnessFunction' Java class
GPFitnessFunction
org.jgap.gp

Class GPFitnessFunction

    • Constructor Detail

      • GPFitnessFunction

        public GPFitnessFunction()
    • Method Detail

      • GPFitnessFunction

        public void GPFitnessFunction()
        Default constructor.
        Since:
        3.3.1
      • getFitnessValue

        public final double getFitnessValue(IGPProgram a_program)
        Retrieves the fitness value of the given GPProgram. The fitness value will be a positive double.
        Parameters:
        a_program - the GPProgram for which to compute and return the fitness value
        Returns:
        the fitness value of the given GPProgram
        Since:
        3.0
      • getLastComputedFitnessValue

        public double getLastComputedFitnessValue()
        Returns:
        the last fitness value computed via method getFitnessValue( Chromosome), or NO_FITNES_VALUE if the former method has not been called yet
        Since:
        2.4

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.