|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_skipList.H>
Public Member Functions | |
| Node (const Key &_key, const Type &_data, int n) | |
| Node (const Key &_key, int n) | |
| Node (const int n) | |
| Node () | |
| ~Node ()=default | |
| Node * | get_next () const noexcept |
| Node *& | getForward (int i) |
| Node ** | getForward () |
| const Key & | get_key () const noexcept |
| Key & | get_key () noexcept |
| const Type & | get_data () const noexcept |
| Type & | get_data () noexcept |
| int | getLevel () const noexcept |
Static Public Member Functions | |
| static Key | computeMaxKey () noexcept |
| Compute the maximum possible key value (used for sentinel). | |
Protected Attributes | |
| int | level |
| Node * | forward [0] |
Static Protected Attributes | |
| static Node | nodeSentinel |
| static Node * | NullPtr |
Private Member Functions | |
| Node ** | forward_ptr () noexcept |
| Node *const * | forward_ptr () const noexcept |
| void | fillForwardnullptr () |
Private Attributes | |
| Key | key |
| Type | data = Type() |
Friends | |
| class | SkipList< Key, Type > |
Definition at line 102 of file tpl_skipList.H.
Definition at line 140 of file tpl_skipList.H.
|
inline |
Definition at line 148 of file tpl_skipList.H.
Definition at line 155 of file tpl_skipList.H.
|
inline |
Definition at line 161 of file tpl_skipList.H.
|
default |
|
staticnoexcept |
Compute the maximum possible key value (used for sentinel).
|
inlineprivate |
Definition at line 131 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::forward_ptr(), Aleph::SkipList< Key, Type >::Node::level, and Aleph::SkipList< Key, Type >::Node::nodeSentinel.
|
inlineprivatenoexcept |
Definition at line 125 of file tpl_skipList.H.
|
inlineprivatenoexcept |
Definition at line 120 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::fillForwardnullptr(), Aleph::SkipList< Key, Type >::Node::get_next(), Aleph::SkipList< Key, Type >::Node::getForward(), and Aleph::SkipList< Key, Type >::Node::getForward().
|
inlinenoexcept |
Definition at line 191 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::data.
|
inlinenoexcept |
Definition at line 193 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::data.
|
inlinenoexcept |
Definition at line 187 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::key.
Referenced by Aleph::SkipList< Key, Type >::checkSkipList(), Aleph::SkipList< Key, Type >::insert(), Aleph::SkipList< Key, Type >::remove(), and Aleph::SkipList< Key, Type >::search().
|
inlinenoexcept |
Definition at line 189 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::key.
|
inlinenoexcept |
Definition at line 170 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::forward_ptr(), Aleph::maps(), Aleph::next(), and Aleph::SkipList< Key, Type >::Node::NullPtr.
Referenced by Aleph::SkipList< Key, Type >::checkSkipList(), Aleph::SkipList< Key, Type >::Iterator::is_last(), and Aleph::SkipList< Key, Type >::Iterator::next_ne().
Definition at line 182 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::forward_ptr().
Referenced by Aleph::SkipList< Key, Type >::remove().
|
inline |
Definition at line 176 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::forward_ptr(), Aleph::SkipList< Key, Type >::Node::level, and Aleph::maps().
Referenced by Aleph::SkipList< Key, Type >::insert(), Aleph::SkipList< Key, Type >::remove(), and Aleph::SkipList< Key, Type >::search().
|
inlinenoexcept |
Definition at line 195 of file tpl_skipList.H.
References Aleph::SkipList< Key, Type >::Node::level.
Referenced by Aleph::SkipList< Key, Type >::HeaderNode::getForward(), and Aleph::SkipList< Key, Type >::insert().
Definition at line 131 of file tpl_skipList.H.
Definition at line 118 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::get_data(), and Aleph::SkipList< Key, Type >::Node::get_data().
Definition at line 202 of file tpl_skipList.H.
|
private |
Definition at line 117 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::get_key(), and Aleph::SkipList< Key, Type >::Node::get_key().
Definition at line 105 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::fillForwardnullptr(), Aleph::SkipList< Key, Type >::Node::getForward(), Aleph::SkipList< Key, Type >::Node::getLevel(), Aleph::SkipList< Key, Type >::insert(), Aleph::SkipList< Key, Type >::operator=(), Aleph::SkipList< Key, Type >::remove(), and Aleph::SkipList< Key, Type >::search().
|
staticprotected |
Definition at line 107 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::fillForwardnullptr().
|
staticprotected |
Definition at line 114 of file tpl_skipList.H.
Referenced by Aleph::SkipList< Key, Type >::Node::get_next().