35#ifndef PCASTRATEGY_D_H
36#define PCASTRATEGY_D_H
45 myDistance = pcaStrat.myDistance ;
55 switch( distanceType ) {
104 if ( nbChanges == 0 )
return false ;
112 T::not_implemented();
ClassifStrategy(int maxNbOfIterations=50)
static float norm1(const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
static float infiniteNorm(const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
static float norm2sqr(const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
static float norm2(const std::vector< T > &ind1, const std::vector< T > &ind2, unsigned int beginIndex, unsigned int endIndex)
virtual void analyse(const std::vector< std::list< Individuals< T > > > &classes)
virtual bool classificationCompleted(int nbChanges)
PcaStrategy(const PcaStrategy< T > &pcaStrat)
virtual ClassifStrategy< T > * clone() const
virtual int agregation(const Individuals< T > &individual)