|
bioprocessing 6.0.4
|
#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. | |
| 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(), 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 ) |
Definition at line 1522 of file cah_d.h.
Referenced by distanceCut(), and maxCurvatureCut().
| 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.
References initialisationDist(), and oneStep().
Referenced by result().
| void Cah< T >::initialisationDist | ( | ) |
| 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().
Referenced by doit().
|
inline |
| void Cah< T >::save | ( | const std::string & | name | ) |