Compares one Evolvable to another. Used in TOURNAMENT selection.
GeneticEngine implements this with a simple getFitness comparison, used by default in TOURNAMENT selection
public function compareFitness(e1:Evolvable , e2:Evolvable ):int
Compare one Evolvable to another of the same type. It is not necessarily an error to pass two different types of
Evolvables, but it is discouraged.
Parameters
Returns
Information on this site is by default visible to everyone within GODPAPER. Please ensure you apply appropriate access controls when posting GODPAPER Confidential information.Copyright © by GODPAPER. All material on this collaboration platform is the property of GODPAPER. Thu Jan 16 2014, 01:11 PM +08:00