CoinSearchTree< Comp > Class Template Reference

#include <CoinSearchTree.hpp>

Inheritance diagram for CoinSearchTree< Comp >:

Inheritance graph
[legend]
Collaboration diagram for CoinSearchTree< Comp >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CoinSearchTree ()
 CoinSearchTree (const CoinSearchTreeBase &t)
 ~CoinSearchTree ()
const char * compName () const

Protected Member Functions

virtual void realpop ()
virtual void fixTop ()
 After changing data in the top node, fix the heap.
virtual void realpush (CoinTreeSiblings *s)

Private Attributes

Comp comp_

Detailed Description

template<class Comp>
class CoinSearchTree< Comp >

Definition at line 324 of file CoinSearchTree.hpp.


Constructor & Destructor Documentation

template<class Comp>
CoinSearchTree< Comp >::CoinSearchTree (  )  [inline]

Definition at line 375 of file CoinSearchTree.hpp.

template<class Comp>
CoinSearchTree< Comp >::CoinSearchTree ( const CoinSearchTreeBase t  )  [inline]

Definition at line 376 of file CoinSearchTree.hpp.

References CoinSearchTreeBase::candidateList_, CoinSearchTree< Comp >::comp_, CoinSearchTreeBase::getCandidates(), CoinSearchTreeBase::numInserted(), CoinSearchTreeBase::numInserted_, CoinSearchTreeBase::size(), and CoinSearchTreeBase::size_.

template<class Comp>
CoinSearchTree< Comp >::~CoinSearchTree (  )  [inline]

Definition at line 383 of file CoinSearchTree.hpp.


Member Function Documentation

template<class Comp>
virtual void CoinSearchTree< Comp >::realpop (  )  [inline, protected, virtual]

Implements CoinSearchTreeBase.

Definition at line 330 of file CoinSearchTree.hpp.

References CoinSearchTreeBase::candidateList_, and CoinSearchTree< Comp >::fixTop().

template<class Comp>
virtual void CoinSearchTree< Comp >::fixTop (  )  [inline, protected, virtual]

After changing data in the top node, fix the heap.

Implements CoinSearchTreeBase.

Definition at line 336 of file CoinSearchTree.hpp.

References CoinSearchTreeBase::candidateList_, CoinSearchTree< Comp >::comp_, flopc::pos(), and CoinSearchTreeBase::size().

Referenced by CoinSearchTree< Comp >::realpop().

template<class Comp>
virtual void CoinSearchTree< Comp >::realpush ( CoinTreeSiblings s  )  [inline, protected, virtual]

Implements CoinSearchTreeBase.

Definition at line 360 of file CoinSearchTree.hpp.

References CoinSearchTreeBase::candidateList_, CoinSearchTree< Comp >::comp_, and flopc::pos().

template<class Comp>
const char* CoinSearchTree< Comp >::compName (  )  const [inline, virtual]

Implements CoinSearchTreeBase.

Definition at line 384 of file CoinSearchTree.hpp.


Member Data Documentation

template<class Comp>
Comp CoinSearchTree< Comp >::comp_ [private]

Definition at line 327 of file CoinSearchTree.hpp.

Referenced by CoinSearchTree< Comp >::CoinSearchTree(), CoinSearchTree< Comp >::fixTop(), and CoinSearchTree< Comp >::realpush().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:13:37 2010 for Coin-All by  doxygen 1.4.7