bioprocessing 6.0.4
Element< T > Class Template Referenceabstract

#include <bioprocessing/classification/cah.h>

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

Public Member Functions

 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
 
virtual float distanceTo (Element< T > *other, const std::vector< std::list< Point3d > > &classes, const AimsData< T > &data, const AimsData< float > &initDistances)=0
 
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)=0
 

Protected Attributes

int _number
 
int _card
 
std::set< int > _constitutedFrom
 

Detailed Description

template<typename T>
class Element< T >

Definition at line 25 of file cah.h.

Constructor & Destructor Documentation

◆ Element()

◆ ~Element()

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

Definition at line 34 of file cah.h.

Member Function Documentation

◆ agregateTo()

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

◆ card()

template<typename T>
int Element< T >::card ( ) const
inline

◆ constitutedFrom()

◆ distanceTo()

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

◆ number()

◆ setCard()

template<typename T>
void Element< T >::setCard ( int card)
inline

Definition at line 40 of file cah.h.

References _card, and card().

◆ setNumber()

template<typename T>
void Element< T >::setNumber ( int number)
inline

Definition at line 37 of file cah.h.

References _number, and number().

Referenced by Cah< T >::addElement().

Member Data Documentation

◆ _card

◆ _constitutedFrom

◆ _number

template<typename T>
int Element< T >::_number
protected

Definition at line 53 of file cah.h.

Referenced by Element(), number(), and setNumber().


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