A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/phy__node_8hpp_source.html below:

NCBI C++ ToolKit: include/algo/phy_tree/phy_node.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef ALGO_PHY_TREE___PHY_NODE__HPP 2 #define ALGO_PHY_TREE___PHY_NODE__HPP 52

: m_Id(-1), m_DistSet(

false

)

56  int GetId

(

void

)

const

{

return

m_Id;}

58  void SetId

(

int id

) {m_Id = id;}

64  double GetDist

(

void

)

const

{

return

m_Dist;}

65  void SetDist

(

double

dist) {m_Dist = dist; m_DistSet =

true

;}

68  void ResetDist

(

void

) {m_DistSet =

false

; m_Dist = 0;}

69  const string

&

GetLabel

(

void

)

const

{

return

m_Label;}

92  const string

& tree_name =

"the_tree"

);

Data contained at each node of a phylogenetic tree.

void SetDist(double dist)

double GetDist(void) const

Return the distance; does NOT check whether it's really set.

bool IsSetDist(void) const

Is the distance set?

void ResetDist(void)

Make it no longer set.

const string & GetLabel(void) const

void SetLabel(const string &label)

definition of a Culling tree

Include a standard set of the NCBI C++ Toolkit most basic headers.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

#define NCBI_XALGOPHYTREE_EXPORT

static const char label[]

void PrintNode(CNcbiOstream &os, const TPhyTreeNode &node)

Newick but without the terminal ';'.

CNcbiOstream & operator<<(CNcbiOstream &os, const TPhyTreeNode &tree)

Newick format output.

void WriteNexusTree(CNcbiOstream &os, const TPhyTreeNode &tree, const string &tree_name="the_tree")

Nexus format output (Newick with some stuff around it).

CTreeNode< CPhyNodeData > TPhyTreeNode

TPhyTreeNode * ReadNewickTree(CNcbiIstream &is)

Newick format input.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4