Dip
0.92.4
|
#include <CoinSearchTree.hpp>
Public Member Functions | |
CoinSearchTree () | |
CoinSearchTree (const CoinSearchTreeBase &t) | |
virtual | ~CoinSearchTree () |
const char * | compName () const |
![]() | |
virtual | ~CoinSearchTreeBase () |
const std::vector < CoinTreeSiblings * > & | getCandidates () const |
bool | empty () const |
int | size () const |
int | numInserted () const |
CoinTreeNode * | top () const |
void | pop () |
pop will advance the next pointer among the siblings on the top and then moves the top to its correct position. More... | |
void | push (int numNodes, CoinTreeNode **nodes, const bool incrInserted=true) |
void | push (const CoinTreeSiblings &sib, const bool incrInserted=true) |
Protected Member Functions | |
virtual void | realpop () |
virtual void | fixTop () |
After changing data in the top node, fix the heap. More... | |
virtual void | realpush (CoinTreeSiblings *s) |
![]() | |
CoinSearchTreeBase () | |
Private Attributes | |
Comp | comp_ |
Additional Inherited Members | |
![]() | |
std::vector< CoinTreeSiblings * > | candidateList_ |
int | numInserted_ |
int | size_ |
Definition at line 369 of file CoinSearchTree.hpp.
|
inline |
Definition at line 422 of file CoinSearchTree.hpp.
|
inline |
|
inlinevirtual |
Definition at line 436 of file CoinSearchTree.hpp.
|
inlineprotectedvirtual |
Implements CoinSearchTreeBase.
Definition at line 374 of file CoinSearchTree.hpp.
References CoinSearchTreeBase::candidateList_, and CoinSearchTree< Comp >::fixTop().
|
inlineprotectedvirtual |
After changing data in the top node, fix the heap.
Implements CoinSearchTreeBase.
Definition at line 381 of file CoinSearchTree.hpp.
References CoinSearchTreeBase::candidateList_, CoinSearchTree< Comp >::comp_, and CoinSearchTreeBase::size().
Referenced by CoinSearchTree< Comp >::realpop().
|
inlineprotectedvirtual |
Implements CoinSearchTreeBase.
Definition at line 406 of file CoinSearchTree.hpp.
References CoinSearchTreeBase::candidateList_, and CoinSearchTree< Comp >::comp_.
|
inlinevirtual |
Implements CoinSearchTreeBase.
Definition at line 437 of file CoinSearchTree.hpp.
|
private |
Definition at line 371 of file CoinSearchTree.hpp.
Referenced by CoinSearchTree< Comp >::CoinSearchTree(), CoinSearchTree< Comp >::fixTop(), and CoinSearchTree< Comp >::realpush().