element Class Reference

this class stores the distance and corresponding taxa More...

#include <elements.h>

List of all members.

Public Member Functions

 element (string t, double d)
 copy constructor
 element ()
 default constructor
string get_taxa ()
 get_taxa function
double get_dist ()
 get distance function

Private Attributes

double dist
 distance between two taxa
string taxa
 actual two taxa


Detailed Description

this class stores the distance and corresponding taxa

this class assists with the clustering process by storing a set of taxa and their associated distance


Constructor & Destructor Documentation

element::element ( string  t,
double  d 
)

copy constructor

takes in a string and a double and creates an element object out of them

Parameters:
t holds taxa to be copied into element object
d holds distance to be copied into element object
See also:
element()

< copy constructor

element::element (  ) 

default constructor

creates an element object with null values

See also:
element(string t, double d)

< default constructor


Member Function Documentation

double element::get_dist (  )  [inline]

get distance function

Returns:
distance associated with an element

string element::get_taxa (  )  [inline]

get_taxa function

Returns:
the taxa associated with the element


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