BCP_tree Class Reference

NO OLD DOC. More...

#include <BCP_tm_node.hpp>

Collaboration diagram for BCP_tree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructor and destructor
 BCP_tree ()
 ~BCP_tree ()
Query methods
BCP_vec< BCP_tm_node
* >::iterator 
begin ()
BCP_vec< BCP_tm_node
* >::iterator 
end ()
BCP_tm_noderoot ()
BCP_tm_nodeoperator[] (int index)
size_t size () const
int maxdepth () const
int processed () const
void increase_processed ()
Modifying methods
double true_lower_bound (const BCP_tm_node *node) const
 Return the worst true lower bound in the search tree.
void enumerate_leaves (BCP_tm_node *node, const double obj_limit)
 Return the worst true lower bound in the search tree.
void insert (BCP_tm_node *node)
 Return the worst true lower bound in the search tree.
void remove (int index)
 Return the worst true lower bound in the search tree.

Private Attributes

BCP_vec< BCP_tm_node * > _tree
int maxdepth_
int processed_

Detailed Description

NO OLD DOC.

Definition at line 178 of file BCP_tm_node.hpp.


Constructor & Destructor Documentation

BCP_tree::BCP_tree (  )  [inline]

Definition at line 190 of file BCP_tm_node.hpp.

BCP_tree::~BCP_tree (  )  [inline]

Definition at line 192 of file BCP_tm_node.hpp.

References _tree, and BCP_vec< T >::size().


Member Function Documentation

BCP_vec<BCP_tm_node*>::iterator BCP_tree::begin (  )  [inline]

Definition at line 202 of file BCP_tm_node.hpp.

References _tree, and BCP_vec< T >::begin().

BCP_vec<BCP_tm_node*>::iterator BCP_tree::end (  )  [inline]

Definition at line 204 of file BCP_tm_node.hpp.

References _tree, and BCP_vec< T >::end().

BCP_tm_node* BCP_tree::root (  )  [inline]

Definition at line 207 of file BCP_tm_node.hpp.

References _tree, and BCP_vec< T >::front().

BCP_tm_node* BCP_tree::operator[] ( int  index  )  [inline]

Definition at line 209 of file BCP_tm_node.hpp.

References _tree.

size_t BCP_tree::size (  )  const [inline]

Definition at line 211 of file BCP_tm_node.hpp.

References _tree, and BCP_vec< T >::size().

int BCP_tree::maxdepth (  )  const [inline]

Definition at line 213 of file BCP_tm_node.hpp.

References maxdepth_.

int BCP_tree::processed (  )  const [inline]

Definition at line 215 of file BCP_tm_node.hpp.

References processed_.

void BCP_tree::increase_processed (  )  [inline]

Definition at line 216 of file BCP_tm_node.hpp.

References processed_.

double BCP_tree::true_lower_bound ( const BCP_tm_node node  )  const

Return the worst true lower bound in the search tree.

void BCP_tree::enumerate_leaves ( BCP_tm_node node,
const double  obj_limit 
)

Return the worst true lower bound in the search tree.

void BCP_tree::insert ( BCP_tm_node node  )  [inline]

Return the worst true lower bound in the search tree.

Definition at line 226 of file BCP_tm_node.hpp.

References BCP_tm_node::_index, _tree, CoinTreeNode::getDepth(), maxdepth_, BCP_vec< T >::push_back(), and BCP_vec< T >::size().

void BCP_tree::remove ( int  index  )  [inline]

Return the worst true lower bound in the search tree.

Definition at line 232 of file BCP_tm_node.hpp.

References _tree.


Member Data Documentation

BCP_vec<BCP_tm_node*> BCP_tree::_tree [private]

Definition at line 181 of file BCP_tm_node.hpp.

Referenced by begin(), end(), insert(), operator[](), remove(), root(), size(), and ~BCP_tree().

int BCP_tree::maxdepth_ [private]

Definition at line 183 of file BCP_tm_node.hpp.

Referenced by insert(), and maxdepth().

int BCP_tree::processed_ [private]

Definition at line 184 of file BCP_tm_node.hpp.

Referenced by increase_processed(), and processed().


The documentation for this class was generated from the following file:
Generated on Thu Jan 15 03:02:40 2009 for coin-Bcp by  doxygen 1.4.7