Rosetta 3.3
Public Member Functions
numeric::ClusteringTreeNode Class Reference

#include <ClusteringTreeNode.hh>

Inheritance diagram for numeric::ClusteringTreeNode:
Inheritance graph
Collaboration diagram for numeric::ClusteringTreeNode:
Collaboration graph

List of all members.

Public Member Functions

 ClusteringTreeNode (Size id)
 Creates a node with no leaves.
 ClusteringTreeNode (Size id, ClusteringTreeNodeOP left, ClusteringTreeNodeOP right, Real distance=0.0)
 Creates a node with given leaves.
void reset_all_flags ()
void set_all_flags (Size new_flag_value)
ClusteringTreeNodeOP left ()
ClusteringTreeNodeOP right ()
ClusteringTreeNodeOP parent ()
Real distance ()
Size size ()
Size id ()
void left (ClusteringTreeNodeOP new_left)
void right (ClusteringTreeNodeOP new_right)
void parent (ClusteringTreeNodeOP new_parent)
bool was_visited ()
void set_visited ()
ClusteringTreeNodeOP visit_next_leaf ()
void copy_member_ids (utility::vector1< Size > &dst)
void copy_leaf_ids (utility::vector1< Size > &dst)

Constructor & Destructor Documentation

numeric::ClusteringTreeNode::ClusteringTreeNode ( Size  id) [inline]

Creates a node with no leaves.

Detailed: leaves are NULLs, parent is set to this

References id().

numeric::ClusteringTreeNode::ClusteringTreeNode ( Size  id,
ClusteringTreeNodeOP  left,
ClusteringTreeNodeOP  right,
Real  distance = 0.0 
) [inline]

Creates a node with given leaves.

Detailed: parent of the newly created node is set to itself (this pointer); left and right nodes are also chilred of this

References distance(), id(), left(), and right().

Member Function Documentation

void numeric::ClusteringTreeNode::copy_leaf_ids ( utility::vector1< Size > &  dst) [inline]
void numeric::ClusteringTreeNode::copy_member_ids ( utility::vector1< Size > &  dst) [inline]
Real numeric::ClusteringTreeNode::distance ( ) [inline]

Referenced by ClusteringTreeNode().

Size numeric::ClusteringTreeNode::id ( ) [inline]

Referenced by ClusteringTreeNode().

void numeric::ClusteringTreeNode::left ( ClusteringTreeNodeOP  new_left) [inline]
ClusteringTreeNodeOP numeric::ClusteringTreeNode::left ( ) [inline]

Referenced by ClusteringTreeNode().

ClusteringTreeNodeOP numeric::ClusteringTreeNode::parent ( ) [inline]
void numeric::ClusteringTreeNode::parent ( ClusteringTreeNodeOP  new_parent) [inline]
void numeric::ClusteringTreeNode::reset_all_flags ( ) [inline]
void numeric::ClusteringTreeNode::right ( ClusteringTreeNodeOP  new_right) [inline]
ClusteringTreeNodeOP numeric::ClusteringTreeNode::right ( ) [inline]

Referenced by ClusteringTreeNode().

void numeric::ClusteringTreeNode::set_all_flags ( Size  new_flag_value) [inline]
void numeric::ClusteringTreeNode::set_visited ( ) [inline]
Size numeric::ClusteringTreeNode::size ( ) [inline]
ClusteringTreeNodeOP numeric::ClusteringTreeNode::visit_next_leaf ( )
bool numeric::ClusteringTreeNode::was_visited ( ) [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines