Population::ScalingOperations::GaNormalizationScaling Class Reference

GaNormalizationScaling operation calculates scaled fitness based on ranking of chromosome. This scaling operation doesn't require any parameters. More...

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

Inherits Population::GaScalingOperation.

List of all members.

Public Member Functions

virtual GAL_API float GACALL operator() (const GaScaledChromosome &chromosome, const GaPopulation &population, const GaScalingParams &parameters) const
 More details are given in specification of GaScalingOperation::operator () method.
virtual bool GACALL IsRankingBased () const
 More details are given in specification of GaScalingOperation::IsRankingBased method.
virtual GAL_API bool GACALL NeedRescaling (const GaPopulation &population, const GaScalingParams &parameters) const
 More details are given in specification of GaScalingOperation::NeedRescaling method.
virtual GaParameters *GACALL MakeParameters () const
 More details are given in specification of GaOperation::MakeParameters method.
virtual bool GACALL CheckParameters (const GaParameters &parameters) const
 More details are given in specification of GaOperation::CheckParameters method.


Detailed Description

GaNormalizationScaling operation calculates scaled fitness based on ranking of chromosome. This scaling operation doesn't require any parameters.

This class has no built-in synchronizator, so LOCK_OBJECT and LOCK_THIS_OBJECT macros cannot be used with instances of this class. Because this genetic operation is stateless all public method are thread-safe.


Member Function Documentation

float Population::ScalingOperations::GaNormalizationScaling::operator() ( const GaScaledChromosome chromosome,
const GaPopulation population,
const GaScalingParams parameters 
) const [virtual]

More details are given in specification of GaScalingOperation::operator () method.

This method is thread-safe.

Implements Population::GaScalingOperation.

virtual bool GACALL Population::ScalingOperations::GaNormalizationScaling::IsRankingBased (  )  const [inline, virtual]

More details are given in specification of GaScalingOperation::IsRankingBased method.

This method is thread-safe.

Returns:
This method returns true.

Implements Population::GaScalingOperation.

bool Population::ScalingOperations::GaNormalizationScaling::NeedRescaling ( const GaPopulation population,
const GaScalingParams parameters 
) const [virtual]

More details are given in specification of GaScalingOperation::NeedRescaling method.

This method is thread-safe.

Returns:
Method returns true if size of population has changed.

Implements Population::GaScalingOperation.

virtual GaParameters* GACALL Population::ScalingOperations::GaNormalizationScaling::MakeParameters (  )  const [inline, virtual]

More details are given in specification of GaOperation::MakeParameters method.

This method is thread-safe.

Returns:
Method always returns NULL.

Implements Common::GaOperation.

virtual bool GACALL Population::ScalingOperations::GaNormalizationScaling::CheckParameters ( const GaParameters parameters  )  const [inline, virtual]

More details are given in specification of GaOperation::CheckParameters method.

This method is thread-safe.

Returns:
Method always returns true.

Implements Common::GaOperation.


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

Genetic Algorithm Library
Coolsoft Software Development