A.I.M.S algorithms


aims::PcaStrategy< T > Class Template Reference

#include <aims/classification/pcastrategy.h>

Inheritance diagram for aims::PcaStrategy< T >:
Collaboration diagram for aims::PcaStrategy< T >:

Public Types

enum  DistanceType { NORM1, NORM2, NORM2SQR, INFNORM }
 

Public Member Functions

 PcaStrategy (const PcaStrategy< T > &pcaStrat)
 
 PcaStrategy (int nbIterations=50, DistanceType distanceType=NORM2SQR, const std::vector< Individuals< T > > &codeVector=std::vector< Individuals< T > >())
 
virtual ~PcaStrategy ()
 
virtual ClassifStrategy< T > * clone () const
 
virtual void analyse (const std::vector< std::list< Individuals< T > > > &classes)
 
virtual int agregation (const Individuals< T > &individual)
 
virtual bool classificationCompleted (int nbChanges)
 
- Public Member Functions inherited from aims::ClassifStrategy< T >
 ClassifStrategy (int maxNbOfIterations=50)
 
virtual ~ClassifStrategy ()
 
bool isValidStrategy ()
 
void reset ()
 
bool isInit ()
 
bool isCodeVectorsGiven ()
 
int getMaxNbOfIterations () const
 
virtual void init (std::string initializationType, int nbOfClasses, std::vector< std::list< Individuals< T > > > &classes)=0
 
virtual double iterate (int &nbOfIterations, std::vector< std::list< Individuals< T > > > &classes)=0
 
virtual int aggregate (const Individuals< T > &individual)=0
 
virtual Individuals< T > getMeanValue (int classe)=0
 
virtual std::vector
< Individuals< T > > 
getMeanVector ()=0
 
virtual double globInertia (const std::vector< std::list< Individuals< T > > > &classes)=0
 

Additional Inherited Members

- Protected Attributes inherited from aims::ClassifStrategy< T >
int myMaxNbOfIterations
 
bool myValidStrategy
 
bool myInit
 
bool myCodeVectorsGiven
 

Detailed Description

template<class T>
class aims::PcaStrategy< T >

Definition at line 49 of file pcastrategy.h.

Member Enumeration Documentation

template<class T>
enum aims::PcaStrategy::DistanceType
Enumerator
NORM1 
NORM2 
NORM2SQR 
INFNORM 

Definition at line 51 of file pcastrategy.h.

Constructor & Destructor Documentation

template<class T >
aims::PcaStrategy< T >::PcaStrategy ( const PcaStrategy< T > &  pcaStrat)

Definition at line 42 of file pcastrategy_d.h.

template<class T >
aims::PcaStrategy< T >::PcaStrategy ( int  nbIterations = 50,
DistanceType  distanceType = NORM2SQR,
const std::vector< Individuals< T > > &  codeVector = std::vector< Individuals<T> >() 
)
template<class T >
aims::PcaStrategy< T >::~PcaStrategy ( )
virtual

Definition at line 75 of file pcastrategy_d.h.

Member Function Documentation

template<class T >
int aims::PcaStrategy< T >::agregation ( const Individuals< T > &  individual)
virtual

Definition at line 94 of file pcastrategy_d.h.

template<class T >
void aims::PcaStrategy< T >::analyse ( const std::vector< std::list< Individuals< T > > > &  classes)
virtual

Implements aims::ClassifStrategy< T >.

Definition at line 88 of file pcastrategy_d.h.

template<class T >
bool aims::PcaStrategy< T >::classificationCompleted ( int  nbChanges)
virtual

Definition at line 102 of file pcastrategy_d.h.

template<class T >
aims::ClassifStrategy< T > * aims::PcaStrategy< T >::clone ( ) const
virtual

Implements aims::ClassifStrategy< T >.

Definition at line 81 of file pcastrategy_d.h.


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