dignea  1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
Euclidean< T > Class Template Reference

Euclidean distance. More...

#include <Euclidean.h>

Inheritance diagram for Euclidean< T >:
Distance< T >

Public Member Functions

compute (const vector< T > &, const vector< T > &)
 Computes the Euclidean distance between the two vectors. More...
 

Detailed Description

template<typename T>
class Euclidean< T >

Euclidean distance.

Template Parameters
T

Member Function Documentation

◆ compute()

template<typename T >
T Euclidean< T >::compute ( const vector< T > &  ind1,
const vector< T > &  ind2 
)
virtual

Computes the Euclidean distance between the two vectors.

Template Parameters
T
Parameters
ind1
ind2
Returns
T

Implements Distance< T >.


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