ARB
Public Member Functions | List of all members
SpeciesSpace Class Reference

#include <CT_common.hxx>

Inheritance diagram for SpeciesSpace:
Inheritance graph
[legend]
Collaboration diagram for SpeciesSpace:
Collaboration graph
[legend]

Public Member Functions

 SpeciesSpace (const CharPtrArray &names_)
 
 ~SpeciesSpace ()
 
int get_species_index (const char *name) const
 
const charget_species_name (int idx) const
 
const CharPtrArrayget_names () const
 
const PartitionSizeget_PartitionSize () const
 
const PARTget_allSpecies () const
 
PARTcreate_tree_PART (const TreeNode *tree, const double &weight) const
 

Detailed Description

Definition at line 166 of file CT_common.hxx.

Constructor & Destructor Documentation

SpeciesSpace::SpeciesSpace ( const CharPtrArray names_)
SpeciesSpace::~SpeciesSpace ( )

Definition at line 33 of file CT_ctree.cxx.

References GBS_free_hash(), and NULp.

Member Function Documentation

int SpeciesSpace::get_species_index ( const char name) const
inline

Definition at line 179 of file CT_common.hxx.

References arb_assert, and GBS_read_hash().

const char* SpeciesSpace::get_species_name ( int  idx) const
inline

Definition at line 184 of file CT_common.hxx.

const CharPtrArray& SpeciesSpace::get_names ( ) const
inline

Definition at line 185 of file CT_common.hxx.

Referenced by ConsensusTree::get_consensus_tree().

const PartitionSize* SpeciesSpace::get_PartitionSize ( ) const
inline

Definition at line 186 of file CT_common.hxx.

Referenced by create_tree_PART(), and ConsensusTree::get_consensus_tree().

const PART* SpeciesSpace::get_allSpecies ( ) const
inline

Definition at line 187 of file CT_common.hxx.

Referenced by ConsensusTree::insert_tree_weighted().

PART * SpeciesSpace::create_tree_PART ( const TreeNode tree,
const double &  weight 
) const

Definition at line 174 of file CT_dtree.cxx.

References get_PartitionSize().

Referenced by TreeParts::get_tree_PART(), and ConsensusTree::insert_tree_weighted().


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