|
bioprocessing
5.0.5
|
#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 1256 of file cah_d.h.
References CahElementFactory< T >::classes(), CahElementFactory< T >::creator(), Max2By2DistanceCahElementFactory< T >::creator(), Max2By2DistanceCahElementFactory< T >::initDistances(), and CahElementFactory< T >::methodType().
Returns false if el ca not be added.
Definition at line 1288 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 | ||
| ) |
Definition at line 1521 of file cah_d.h.
Referenced by Cah< T >::distanceCut(), and Cah< T >::maxCurvatureCut().
| std::vector< Point2d > Cah< T >::distanceCut | ( | const std::vector< std::pair< Point2d, float > > & | res, |
| float | d | ||
| ) |
Definition at line 1567 of file cah_d.h.
References Cah< T >::cut().
| const std::vector< std::pair< Point2d, float > > & Cah< T >::doit | ( | ) |
Definition at line 1431 of file cah_d.h.
References Cah< T >::initialisationDist(), and Cah< T >::oneStep().
| void Cah< T >::initialisationDist | ( | ) |
Definition at line 1302 of file cah_d.h.
Referenced by Cah< T >::doit().
| 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 | ) |
Definition at line 1581 of file cah_d.h.
References Cah< T >::cut().
|
inline |
| void Cah< T >::oneStep | ( | int | etape | ) |
Definition at line 1350 of file cah_d.h.
References Element< T >::agregateTo(), Element< T >::constitutedFrom(), Element< T >::distanceTo(), and Element< T >::number().
Referenced by Cah< T >::doit().
|
inline |
| void Cah< T >::save | ( | const std::string & | name | ) |