CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
SeedingTree< DATA > Class Template Reference

#include <SeedingTree.h>

Public Types

typedef std::unordered_set
< DATA, typename DATA::hashfct,
typename DATA::eqfct > 
SingleSet
 

Public Member Functions

const SeedingNode< DATA > * getRoot (unsigned int i) const
 
const SingleSetgetSingleSet () const
 
bool insert (const std::vector< DATA > &dataList)
 
unsigned int numberOfNodes () const
 
unsigned int numberOfRoots () const
 
void print () const
 
void printOrdered () const
 
void printRecursive () const
 
 SeedingTree ()
 
void sort ()
 
 ~SeedingTree ()
 

Protected Attributes

std::vector< SeedingNode< DATA > * > _allNodes
 
std::vector< SeedingNode< DATA > * > _roots
 
SingleSet _singleSet
 

Detailed Description

template<class DATA>
class SeedingTree< DATA >

Definition at line 163 of file SeedingTree.h.

Member Typedef Documentation

template<class DATA>
typedef std::unordered_set<DATA,typename DATA:: hashfct, typename DATA:: eqfct> SeedingTree< DATA >::SingleSet

Definition at line 166 of file SeedingTree.h.

Constructor & Destructor Documentation

template<class DATA>
SeedingTree< DATA >::SeedingTree ( )
inline

Definition at line 173 of file SeedingTree.h.

template<class DATA>
SeedingTree< DATA >::~SeedingTree ( )
inline

Definition at line 266 of file SeedingTree.h.

Member Function Documentation

template<class DATA>
const SeedingNode<DATA>* SeedingTree< DATA >::getRoot ( unsigned int  i) const
inline

Definition at line 231 of file SeedingTree.h.

template<class DATA>
const SingleSet& SeedingTree< DATA >::getSingleSet ( ) const
inline

Definition at line 203 of file SeedingTree.h.

template<class DATA>
bool SeedingTree< DATA >::insert ( const std::vector< DATA > &  dataList)
inline

Definition at line 178 of file SeedingTree.h.

template<class DATA>
unsigned int SeedingTree< DATA >::numberOfNodes ( ) const
inline

Definition at line 226 of file SeedingTree.h.

template<class DATA>
unsigned int SeedingTree< DATA >::numberOfRoots ( ) const
inline

Definition at line 221 of file SeedingTree.h.

template<class DATA>
void SeedingTree< DATA >::print ( void  ) const
inline

Definition at line 257 of file SeedingTree.h.

template<class DATA>
void SeedingTree< DATA >::printOrdered ( ) const
inline

Definition at line 248 of file SeedingTree.h.

template<class DATA>
void SeedingTree< DATA >::printRecursive ( ) const
inline

Definition at line 240 of file SeedingTree.h.

template<class DATA>
void SeedingTree< DATA >::sort ( )
inline

Definition at line 208 of file SeedingTree.h.

Member Data Documentation

template<class DATA>
std::vector<SeedingNode<DATA>*> SeedingTree< DATA >::_allNodes
protected

Definition at line 169 of file SeedingTree.h.

template<class DATA>
std::vector<SeedingNode<DATA>*> SeedingTree< DATA >::_roots
protected

Definition at line 168 of file SeedingTree.h.

template<class DATA>
SingleSet SeedingTree< DATA >::_singleSet
protected

Definition at line 171 of file SeedingTree.h.