moeoEuclideanDistance< MOEOT > Class Template Reference

A class allowing to compute an euclidian distance between two solutions in the objective space with normalized objective values (i.e. More...

#include <moeoEuclideanDistance.h>

Inheritance diagram for moeoEuclideanDistance< MOEOT >:

moeoNormalizedDistance< MOEOT > moeoDistance< MOEOT, double > eoBF< A1, A2, R > eoFunctorBase List of all members.

Public Types

typedef MOEOT::ObjectiveVector ObjectiveVector
 the objective vector type of the solutions

Public Member Functions

const double operator() (const MOEOT &_moeo1, const MOEOT &_moeo2)
 Returns the euclidian distance between _moeo1 and _moeo2 in the objective space.

Detailed Description

template<class MOEOT>
class moeoEuclideanDistance< MOEOT >

A class allowing to compute an euclidian distance between two solutions in the objective space with normalized objective values (i.e.

between 0 and 1). A distance value then lies between 0 and sqrt(nObjectives).

Definition at line 24 of file moeoEuclideanDistance.h.


Member Function Documentation

template<class MOEOT>
const double moeoEuclideanDistance< MOEOT >::operator() ( const MOEOT &  _moeo1,
const MOEOT &  _moeo2 
) [inline]

Returns the euclidian distance between _moeo1 and _moeo2 in the objective space.

Parameters:
_moeo1 the first solution
_moeo2 the second solution

Definition at line 37 of file moeoEuclideanDistance.h.

References moeoNormalizedDistance< MOEOT >::bounds.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 09:41:04 2007 for ParadisEO-MOEO by  doxygen 1.4.7