These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

PushProgram : PushGPIndividual

Class description:

A class used by PushGP, this is a single individual in a PushGP run. It is not typically used directly by the user.

Methods:

  • getErrors
  • getFitness
  • setErrors
  • setFitness
  • setInterpreter
    getErrors( self )

    Returns the current list of errors for an individual as determined by the fitness test.


    getFitness( self )

    Returns the fitness of this GP individual.


    setErrors( self, errorList )


    setFitness( self, newFitness )

    Sets the fitness of this object to newFitness. You shouldn't call this method unless you're implementing your own GP system.


    setInterpreter( self, newInterpreter )