ATLAS Offline Software
|
Public Member Functions | |
SplayTree () | |
SplayTree (const SplayTree &rhs) | |
~SplayTree () | |
void | MakeEmpty () |
bool | IsEmpty () const |
long int | Size () |
BTreeNode< T, KeyType > * | Root () |
void | Find (const KeyType &keys, BTreeNode< T, KeyType > *&res) |
void | FindMin (BTreeNode< T, KeyType > *&min) |
void | FindMax (BTreeNode< T, KeyType > *&max) |
void | FindMaxSmallerThan (const KeyType &keys, BTreeNode< T, KeyType > *&res) |
void | Insert (const T &x) |
void | Delete (const KeyType &keys) |
void | Delete (const KeyType &keys, BTreeNode< T, KeyType > *&res) |
void | DeleteMin (BTreeNode< T, KeyType > *&min) |
void | DeleteMax (BTreeNode< T, KeyType > *&max) |
const SplayTree & | operator= (const SplayTree &rhs) |
void | PreOrder (void(*Visit)(BTreeNode< T, KeyType > *u)) |
void | InOrder (void(*Visit)(BTreeNode< T, KeyType > *u)) |
void | InOrder (void(*Visit)(BTreeNode< T, KeyType > *u, double y), double y) |
void | PostOrder (void(*Visit)(BTreeNode< T, KeyType > *u)) |
int | Height () const |
int | Height (BTreeNode< T, KeyType > *t) const |
BTreeNode< T, KeyType > * | Left (BTreeNode< T, KeyType > *node) |
BTreeNode< T, KeyType > * | Right (BTreeNode< T, KeyType > *node) |
Private Member Functions | |
void | reclaimMemory (BTreeNode< T, KeyType > *t) const |
BTreeNode< T, KeyType > * | clone (BTreeNode< T, KeyType > *t) const |
void | PreOrder (void(*Visit)(BTreeNode< T, KeyType > *u), BTreeNode< T, KeyType > *t) |
void | InOrder (void(*Visit)(BTreeNode< T, KeyType > *u), BTreeNode< T, KeyType > *t) |
void | PostOrder (void(*Visit)(BTreeNode< T, KeyType > *u), BTreeNode< T, KeyType > *t) |
void | InOrder (void(*Visit)(BTreeNode< T, KeyType > *, double y), BTreeNode< T, KeyType > *t, double y) |
void | rotateWithLeftChild (BTreeNode< T, KeyType > *&k2) const |
void | rotateWithRightChild (BTreeNode< T, KeyType > *&k1) const |
void | splay (const KeyType &keys, BTreeNode< T, KeyType > *&t) const |
Private Attributes | |
BTreeNode< T, KeyType > * | m_root {} |
long int | m_size {} |
Definition at line 117 of file PolygonTriangulator.cxx.
|
inlineexplicit |
Definition at line 663 of file PolygonTriangulator.cxx.
internal_poltrig::SplayTree< T, KeyType >::SplayTree | ( | const SplayTree< T, KeyType > & | rhs | ) |
Definition at line 729 of file PolygonTriangulator.cxx.
internal_poltrig::SplayTree< T, KeyType >::~SplayTree |
Definition at line 738 of file PolygonTriangulator.cxx.
|
private |
void internal_poltrig::SplayTree< T, KeyType >::Delete | ( | const KeyType & | keys | ) |
Definition at line 824 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::Delete | ( | const KeyType & | keys, |
BTreeNode< T, KeyType > *& | res | ||
) |
Definition at line 796 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::DeleteMax | ( | BTreeNode< T, KeyType > *& | max | ) |
Definition at line 880 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::DeleteMin | ( | BTreeNode< T, KeyType > *& | min | ) |
Definition at line 853 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::Find | ( | const KeyType & | keys, |
BTreeNode< T, KeyType > *& | res | ||
) |
void internal_poltrig::SplayTree< T, KeyType >::FindMax | ( | BTreeNode< T, KeyType > *& | max | ) |
void internal_poltrig::SplayTree< T, KeyType >::FindMaxSmallerThan | ( | const KeyType & | keys, |
BTreeNode< T, KeyType > *& | res | ||
) |
Definition at line 949 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::FindMin | ( | BTreeNode< T, KeyType > *& | min | ) |
|
inline |
Definition at line 697 of file PolygonTriangulator.cxx.
int internal_poltrig::SplayTree< T, KeyType >::Height | ( | BTreeNode< T, KeyType > * | t | ) | const |
|
private |
|
inline |
Definition at line 688 of file PolygonTriangulator.cxx.
|
private |
|
inline |
Definition at line 691 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::Insert | ( | const T & | x | ) |
Definition at line 747 of file PolygonTriangulator.cxx.
bool internal_poltrig::SplayTree< T, KeyType >::IsEmpty |
Definition at line 984 of file PolygonTriangulator.cxx.
|
inline |
Definition at line 699 of file PolygonTriangulator.cxx.
void internal_poltrig::SplayTree< T, KeyType >::MakeEmpty |
const SplayTree< T, KeyType > & internal_poltrig::SplayTree< T, KeyType >::operator= | ( | const SplayTree< T, KeyType > & | rhs | ) |
|
inline |
Definition at line 694 of file PolygonTriangulator.cxx.
|
private |
|
inline |
Definition at line 686 of file PolygonTriangulator.cxx.
|
private |
|
private |
Definition at line 1084 of file PolygonTriangulator.cxx.
|
inline |
Definition at line 700 of file PolygonTriangulator.cxx.
|
inline |
Definition at line 670 of file PolygonTriangulator.cxx.
|
private |
Definition at line 1059 of file PolygonTriangulator.cxx.
|
private |
Definition at line 1071 of file PolygonTriangulator.cxx.
|
inline |
Definition at line 669 of file PolygonTriangulator.cxx.
|
private |
Definition at line 1011 of file PolygonTriangulator.cxx.
|
private |
Definition at line 703 of file PolygonTriangulator.cxx.
|
private |
Definition at line 704 of file PolygonTriangulator.cxx.