bioprocessing 6.0.4
BaryElement< T > Class Template Reference

#include <bioprocessing/classification/cah.h>

Inheritance diagram for BaryElement< T >:
Collaboration diagram for BaryElement< T >:

Public Member Functions

 BaryElement (int card, const aims::Individuals< float > &bary, const std::set< int > &constitutedFrom=std::set< int >(), int number=-1)
 
 BaryElement (const std::vector< std::list< Point3d > > &classes, const AimsData< T > &data, const std::set< int > &constitutedFrom=std::set< int >(), int number=-1)
 
virtual ~BaryElement ()
 
const std::vector< float > & baryValue () const
 
const Point3df & baryPosition () const
 
virtual float distanceTo (Element< T > *other, const std::vector< std::list< Point3d > > &classes, const AimsData< T > &data, const AimsData< float > &initDistances)
 
virtual Element< T > * agregateTo (Element< T > *other, const std::vector< std::list< Point3d > > &classes, const AimsData< T > &data, const AimsData< float > &initDistances, int newNb=-1)
 
- Public Member Functions inherited from Element< T >
 Element (int number, int card, const std::set< int > &constitutedFrom=std::set< int >())
 
virtual ~Element ()
 
int number () const
 
void setNumber (int number)
 
int card () const
 
void setCard (int card)
 
const std::set< int > & constitutedFrom () const
 

Additional Inherited Members

- Protected Attributes inherited from Element< T >
int _number
 
int _card
 
std::set< int > _constitutedFrom
 

Detailed Description

template<typename T>
class BaryElement< T >

Definition at line 59 of file cah.h.

Constructor & Destructor Documentation

◆ BaryElement() [1/2]

template<typename T>
BaryElement< T >::BaryElement ( int card,
const aims::Individuals< float > & bary,
const std::set< int > & constitutedFrom = std::set<int>(),
int number = -1 )

◆ BaryElement() [2/2]

template<typename T>
BaryElement< T >::BaryElement ( const std::vector< std::list< Point3d > > & classes,
const AimsData< T > & data,
const std::set< int > & constitutedFrom = std::set<int>(),
int number = -1 )

◆ ~BaryElement()

template<typename T>
virtual BaryElement< T >::~BaryElement ( )
inlinevirtual

Definition at line 67 of file cah.h.

Member Function Documentation

◆ agregateTo()

template<typename T>
Element< T > * BaryElement< T >::agregateTo ( Element< T > * other,
const std::vector< std::list< Point3d > > & classes,
const AimsData< T > & data,
const AimsData< float > & initDistances,
int newNb = -1 )
virtual

◆ baryPosition()

template<typename T>
const Point3df & BaryElement< T >::baryPosition ( ) const
inline

Definition at line 70 of file cah.h.

Referenced by agregateTo().

◆ baryValue()

template<typename T>
const std::vector< float > & BaryElement< T >::baryValue ( ) const
inline

Definition at line 69 of file cah.h.

Referenced by agregateTo(), and distanceTo().

◆ distanceTo()

template<typename T>
float BaryElement< T >::distanceTo ( Element< T > * other,
const std::vector< std::list< Point3d > > & classes,
const AimsData< T > & data,
const AimsData< float > & initDistances )
virtual

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