Chromosome::FitnessComparators::GaMinFitnessComparator Class Reference

GaMinFitnessComparator can be used when objective of evolution is to minimize fitness value. More...

#include <D:/Temp/vs/gal/source/FitnessComparators.h>

Inherits Chromosome::GaFitnessComparator.

List of all members.

Public Member Functions

virtual int GACALL operator() (float fitness1, float fitness2) const
 Detailed description can be found in specification of GaFitnessComparator::operator ().


Detailed Description

GaMinFitnessComparator can be used when objective of evolution is to minimize fitness value.

This class is abstract and has no built-in synchronizator, so LOCK_OBJECT and LOCK_THIS_OBJECT macros cannot be used with instances of this class, but because all built-in crossover operations are stateless they are thread-safe.


Member Function Documentation

virtual int GACALL Chromosome::FitnessComparators::GaMinFitnessComparator::operator() ( float  fitness1,
float  fitness2 
) const [inline, virtual]

Detailed description can be found in specification of GaFitnessComparator::operator ().

Implements Chromosome::GaFitnessComparator.


The documentation for this class was generated from the following file:

Genetic Algorithm Library
Coolsoft Software Development