libstdc++
|
Public Member Functions | |
const_iterator | find_by_order (size_type) const |
iterator | find_by_order (size_type) |
size_type | order_of_key (key_const_reference) const |
size_type | order_of_prefix (a_const_iterator, a_const_iterator) const |
Protected Member Functions | |
void | operator() (node_iterator, node_const_iterator) const |
Private Member Functions | |
virtual const_iterator | end () const =0 |
it_type | end_iterator () const |
virtual const access_traits & | get_access_traits () const =0 |
Functor updating ranks of entrees.
Definition at line 253 of file trie_policy.hpp.
|
inline |
Finds an entry by __order. Returns a const_iterator to the entry with the __order order, or a const_iterator to the container object's end if order is at least the size of the container object.
Definition at line 79 of file trie_policy.hpp.
|
inline |
Finds an entry by __order. Returns an iterator to the entry with the __order order, or an iterator to the container object's end if order is at least the size of the container object.
Definition at line 45 of file trie_policy.hpp.
|
inlineprotected |
Updates the rank of a node through a node_iterator node_it; end_nd_it is the end node iterator.
Definition at line 152 of file trie_policy.hpp.
|
inline |
Returns the order of a key within a sequence. For exapmle, if r_key is the smallest key, this method will return 0; if r_key is a key between the smallest and next key, this method will return 1; if r_key is a key larger than the largest key, this method will return the size of r_c.
Definition at line 85 of file trie_policy.hpp.
|
inline |
Returns the order of a prefix within a sequence. For exapmle, if [b, e] is the smallest prefix, this method will return 0; if r_key is a key between the smallest and next key, this method will return 1; if r_key is a key larger than the largest key, this method will return the size of r_c.
Definition at line 96 of file trie_policy.hpp.
References __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::begin(), __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::e_pos(), and __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::end().