Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::TreapNodeVtl< Key > Class Template Reference

#include <treapNode.H>

Inheritance diagram for Aleph::TreapNodeVtl< Key >:
[legend]
Collaboration diagram for Aleph::TreapNodeVtl< Key >:
[legend]

Public Types

typedef Key key_type
 
typedef Key Key_Type
 

Public Member Functions

Key & get_key () noexcept
 
const Key & get_key () const noexcept
 
TreapNodeVtl *& getL () noexcept
 
TreapNodeVtl *& getR () noexcept
 
const TreapNodeVtlgetL () const noexcept
 
const TreapNodeVtlgetR () const noexcept
 
 TreapNodeVtl (const Key &k)
 
 TreapNodeVtl (Key &&k) noexcept
 
 TreapNodeVtl (const TreapNode_Data &control_data, const Key &k)
 
 TreapNodeVtl (const TreapNodeVtl &node)
 
 TreapNodeVtl (TreapNodeVtl &&node)
 
 TreapNodeVtl (const TreapNode_Data &control_data) noexcept
 
 TreapNodeVtl ()
 
void reset () noexcept
 
virtual ~TreapNodeVtl ()
 
- Public Member Functions inherited from Aleph::TreapNode_Data
 TreapNode_Data () noexcept
 Default constructor sets maximum priority.
 
 TreapNode_Data (SentinelCtor) noexcept
 Sentinel constructor also uses maximum priority.
 
unsigned longgetPriority () noexcept
 Get reference to priority value.
 
void reset () noexcept
 Reset (no-op for treap nodes)
 

Static Public Member Functions

static TreapNodeVtlkey_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 80
 
static TreapNodeVtl *const NullPtr = & TreapNodeVtl<Key>::sentinel_node
 

Private Member Functions

 TreapNodeVtl (SentinelCtor)
 

Private Attributes

Key key = Key()
 
TreapNodeVtllLink
 
TreapNodeVtlrLink
 

Static Private Attributes

static TreapNodeVtl sentinel_node
 

Detailed Description

template<typename Key>
class Aleph::TreapNodeVtl< Key >

Definition at line 108 of file treapNode.H.

Member Typedef Documentation

◆ key_type

template<typename Key >
typedef Key Aleph::TreapNodeVtl< Key >::key_type

Definition at line 108 of file treapNode.H.

◆ Key_Type

template<typename Key >
typedef Key Aleph::TreapNodeVtl< Key >::Key_Type

Definition at line 108 of file treapNode.H.

Constructor & Destructor Documentation

◆ TreapNodeVtl() [1/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( const Key &  k)
inline

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [2/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( Key &&  k)
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [3/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( const TreapNode_Data control_data,
const Key &  k 
)
inline

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [4/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( const TreapNodeVtl< Key > &  node)
inline

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [5/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( TreapNodeVtl< Key > &&  node)
inline

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [6/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( const TreapNode_Data control_data)
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [7/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( )
inline

Definition at line 108 of file treapNode.H.

◆ ~TreapNodeVtl()

template<typename Key >
virtual Aleph::TreapNodeVtl< Key >::~TreapNodeVtl ( )
inlinevirtual

Definition at line 108 of file treapNode.H.

◆ TreapNodeVtl() [8/8]

template<typename Key >
Aleph::TreapNodeVtl< Key >::TreapNodeVtl ( SentinelCtor  )
inlineprivate

Definition at line 108 of file treapNode.H.

Member Function Documentation

◆ get_key() [1/2]

template<typename Key >
const Key & Aleph::TreapNodeVtl< Key >::get_key ( ) const
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ get_key() [2/2]

template<typename Key >
Key & Aleph::TreapNodeVtl< Key >::get_key ( )
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ getL() [1/2]

template<typename Key >
const TreapNodeVtl * Aleph::TreapNodeVtl< Key >::getL ( ) const
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ getL() [2/2]

template<typename Key >
TreapNodeVtl *& Aleph::TreapNodeVtl< Key >::getL ( )
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ getR() [1/2]

template<typename Key >
const TreapNodeVtl * Aleph::TreapNodeVtl< Key >::getR ( ) const
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ getR() [2/2]

template<typename Key >
TreapNodeVtl *& Aleph::TreapNodeVtl< Key >::getR ( )
inlinenoexcept

Definition at line 108 of file treapNode.H.

◆ key_to_node()

template<typename Key >
static TreapNodeVtl * Aleph::TreapNodeVtl< Key >::key_to_node ( Key &  __key)
inlinestaticnoexcept

Definition at line 108 of file treapNode.H.

◆ reset()

template<typename Key >
void Aleph::TreapNodeVtl< Key >::reset ( )
inlinenoexcept

Definition at line 108 of file treapNode.H.

Member Data Documentation

◆ key

template<typename Key >
Key Aleph::TreapNodeVtl< Key >::key = Key()
private

Definition at line 108 of file treapNode.H.

◆ lLink

template<typename Key >
TreapNodeVtl* Aleph::TreapNodeVtl< Key >::lLink
private

Definition at line 108 of file treapNode.H.

◆ MaxHeight

template<typename Key >
const size_t Aleph::TreapNodeVtl< Key >::MaxHeight = 80
static

Definition at line 108 of file treapNode.H.

◆ NullPtr

template<typename Key >
TreapNodeVtl< Key > *const Aleph::TreapNodeVtl< Key >::NullPtr = & TreapNodeVtl<Key>::sentinel_node
static

Definition at line 108 of file treapNode.H.

◆ rLink

template<typename Key >
TreapNodeVtl* Aleph::TreapNodeVtl< Key >::rLink
private

Definition at line 108 of file treapNode.H.

◆ sentinel_node

template<typename Key >
TreapNodeVtl< Key > Aleph::TreapNodeVtl< Key >::sentinel_node
staticprivate

Definition at line 108 of file treapNode.H.


The documentation for this class was generated from the following file: