bioprocessing
5.1.2
|
#include <bioprocessing/classification/cah.h>
Public Member Functions | |
Cah (const CahElementFactory< T > *method) | |
~Cah () | |
bool | addElement (Element< T > *el) |
Returns false if el ca not be added. More... | |
void | initialisationDist () |
void | oneStep (int) |
const std::vector< std::pair< Point2d, float > > & | doit () |
const std::vector< std::pair< Point2d, float > > & | result () |
std::vector< Point2d > | cut (const std::vector< std::pair< Point2d, float > > &res, int) |
std::vector< Point2d > | distanceCut (const std::vector< std::pair< Point2d, float > > &res, float) |
std::vector< Point2d > | maxCurvatureCut (const std::vector< std::pair< Point2d, float > > &res) |
void | save (const std::string &name) |
const std::vector< std::pair< Point2d, float > > & | load (const std::string &name) |
const std::vector< std::set< short > > & | newAgregateConstitution () const |
Cah< T >::Cah | ( | const CahElementFactory< T > * | method | ) |
Definition at line 1257 of file cah_d.h.
References CahElementFactory< T >::classes(), Max2By2DistanceCahElementFactory< T >::creator(), CahElementFactory< T >::creator(), Max2By2DistanceCahElementFactory< T >::initDistances(), and CahElementFactory< T >::methodType().
Returns false if el ca not be added.
Definition at line 1289 of file cah_d.h.
References Element< T >::number(), and Element< T >::setNumber().
std::vector< Point2d > Cah< T >::cut | ( | const std::vector< std::pair< Point2d, float > > & | res, |
int | nc | ||
) |
std::vector< Point2d > Cah< T >::distanceCut | ( | const std::vector< std::pair< Point2d, float > > & | res, |
float | d | ||
) |
const std::vector< std::pair< Point2d, float > > & Cah< T >::doit |
Definition at line 1432 of file cah_d.h.
Referenced by Cah< T >::result().
const std::vector< std::pair< Point2d, float > > & Cah< T >::load | ( | const std::string & | name | ) |
std::vector< Point2d > Cah< T >::maxCurvatureCut | ( | const std::vector< std::pair< Point2d, float > > & | res | ) |
|
inline |
void Cah< T >::oneStep | ( | int | etape | ) |
Definition at line 1351 of file cah_d.h.
References Element< T >::agregateTo(), Element< T >::constitutedFrom(), Element< T >::distanceTo(), and Element< T >::number().
|
inline |
Definition at line 429 of file cah.h.
References Cah< T >::doit().
void Cah< T >::save | ( | const std::string & | name | ) |