Public Member Functions

FitnessMin Class Reference
[Evolutionary FrameworkMain Classes]

Fitness for minimization problems. More...

#include <FitnessMin.h>

Inheritance diagram for FitnessMin:

List of all members.

Public Member Functions

bool isBetterThan (FitnessP other)
 Mandatory comparison operator.
void write (XMLNode &)
 Write fitness object to XMLNode.
FitnessMincopy ()
 object copy (for duplication of an individual)

Detailed Description

Fitness for minimization problems.

Fitness is better if the fitness value is smaller.

Definition at line 12 of file FitnessMin.h.

Member Function Documentation

bool FitnessMin::isBetterThan ( FitnessP   )  [virtual]

Mandatory comparison operator.

true if this object is 'better' than the given parameter fitness object

Implements Fitness.

Definition at line 6 of file FitnessMin.cpp.

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