helper Class Reference

helper class that assists with hashing procedure More...

#include <elements.h>

List of all members.

Public Member Functions

 helper (vector< short > i, vector< int > t)
 copy constructor
 helper ()
 default constructor
vector< short > get_id ()
 get id function
vector< int > get_tree ()
 get tree function
void display ()
 display function

Private Attributes

vector< short > id
 holds id of taxa or set of taxa
vector< int > taxa_list
 holds taxa or set of taxa


Detailed Description

helper class that assists with hashing procedure

this class works closely with the merge section of code that merges common taxa together


Constructor & Destructor Documentation

helper::helper ( vector< short >  i,
vector< int >  t 
)

copy constructor

takes in a vector<short> and a vector<int> to create a helper object

Parameters:
i holds id of taxa or set of taxa
t holds taxa or set of taxa

< copy constructor


Member Function Documentation

void helper::display (  ) 

display function

displays both the id and taxa list associated with that id

< displays id and associated taxa

vector<int> helper::get_tree (  )  [inline]

get tree function

Returns:
list of taxa associated with helper object


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 22:18:15 2006 for RaqApproach by  doxygen 1.4.7