#include <elements.h>
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 |
this class works closely with the merge section of code that merges common taxa together
helper::helper | ( | vector< short > | i, | |
vector< int > | t | |||
) |
copy constructor
takes in a vector<short> and a vector<int> to create a helper object
i | holds id of taxa or set of taxa | |
t | holds taxa or set of taxa |
< copy constructor
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