Public Member Functions | Public Attributes

MOFitness Class Reference

Inheritance diagram for MOFitness:
Fitness

List of all members.

Public Member Functions

bool isBetterThan (FitnessP other)
 Mandatory comparison operator.
MOFitnesscopy ()
 object copy (for duplication of an individual)
void write (XMLNode &xFitness)
 Write fitness object to XMLNode.
double getValue ()
 Return fitness value.
double getValueOfObjective (int objective)
double getProperty (std::string prop, int objective)

Public Attributes

int nc
std::vector< IndividualP > * Sp
int rank
double crowding_distance
std::vector< double > convertedFitness
std::vector< double > convertedFitness2

Detailed Description

Definition at line 12 of file MOFitness.h.


Member Function Documentation

bool MOFitness::isBetterThan ( FitnessP   )  [virtual]

Mandatory comparison operator.

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

Implements Fitness.

Definition at line 5 of file MOFitness.cpp.


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