|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
#include <HLD.H>
Public Types | |
| using | Node = typename GT::Node |
| using | Arc = typename GT::Arc |
Public Member Functions | |
| HLD_Tree_Data (const GT &g, Node *root, SA sa=SA()) | |
| HLD_Tree_Data (const HLD_Tree_Data &other)=default | |
| Copy the decomposition of another tree. | |
| HLD_Tree_Data (HLD_Tree_Data &&other) noexcept(std::is_nothrow_move_constructible_v< SA >) | |
| Take the decomposition of another tree, which is left empty. | |
| HLD_Tree_Data & | operator= (const HLD_Tree_Data &other)=default |
| Copy the decomposition of another tree. | |
| HLD_Tree_Data & | operator= (HLD_Tree_Data &&other) noexcept(noexcept(swap(other))) |
| Exchange this topology with another, which is left with the previous decomposition of this one. | |
| void | swap (HLD_Tree_Data &other) noexcept(std::is_nothrow_swappable_v< SA >) |
| Exchange in O(1) this topology and another. | |
| void | swap_filter (HLD_Tree_Data &other) noexcept(std::is_nothrow_swappable_v< SA >) |
| Exchange the filters of this topology and another, for an owner that exchanges something else before the rest. | |
| void | swap_but_filter (HLD_Tree_Data &other) noexcept |
| Exchange in O(1) all but the filters of this topology and another. | |
| size_t | size () const noexcept |
| bool | is_empty () const noexcept |
| Node * | root () const noexcept |
| size_t | root_id () const noexcept |
| const Array< Node * > & | id_to_node () const noexcept |
| const Array< size_t > & | parent () const noexcept |
| const Array< size_t > & | depth () const noexcept |
| const Array< size_t > & | subtree_size () const noexcept |
| const Array< size_t > & | pos () const noexcept |
| const Array< size_t > & | chain_head () const noexcept |
| const Array< size_t > & | tin () const noexcept |
| const Array< size_t > & | tout () const noexcept |
| size_t | num_chains () const noexcept |
| size_t | id_of (const Node *node) const |
| Node * | node_of (const size_t id) const |
| void | validate_id (const size_t id, const char *where) const |
Static Public Attributes | |
| static constexpr size_t | NONE = std::numeric_limits<size_t>::max() |
Private Types | |
| using | Pair_Key = std::pair< size_t, size_t > |
Private Member Functions | |
| void | index_nodes () |
| void | build_simple_adjacency () |
| void | compute_sizes_and_parents () |
| void | reorder_adjacency_heavy_first () |
| void | compute_hld_positions () |
| void | check_id (const size_t id, const char *where) const |
Static Private Member Functions | |
| static Pair_Key | normalize_pair (size_t u, size_t v) noexcept |
Private Attributes | |
| const GT * | graph_ = nullptr |
| SA | sa_ |
| Node * | root_ = nullptr |
| size_t | root_id_ = NONE |
| size_t | n_ = 0 |
| Array< Node * > | id_to_node_ |
| MapOLhash< Node *, size_t > | node_to_id_ |
| Array< Array< size_t > > | adjacency_ |
| Array< size_t > | parent_ |
| Array< size_t > | depth_ |
| Array< size_t > | subtree_size_ |
| Array< size_t > | pos_ |
| Array< size_t > | chain_head_ |
| Array< size_t > | tin_ |
| Array< size_t > | tout_ |
| size_t | num_chains_ = 0 |
| using Aleph::hld_detail::HLD_Tree_Data< GT, SA >::Arc = typename GT::Arc |
| using Aleph::hld_detail::HLD_Tree_Data< GT, SA >::Node = typename GT::Node |
|
private |
|
inline |
Definition at line 454 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::reorder_adjacency_heavy_first().
|
default |
Copy the decomposition of another tree.
| [in] | other | topology to copy. |
|
inlinenoexcept |
Take the decomposition of another tree, which is left empty.
The implicit move took the arrays and the map but copied the number of nodes, the root and the number of chains: the moved-from topology then passed the checks of the ids and read arrays that it no longer had.
| [in,out] | other | topology to move from. |
|
inlineprivate |
Definition at line 202 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::adjacency_, ah_domain_error_if, ah_runtime_error_unless, Aleph::and, GraphCommon< GT, Node, Arc >::get_src_node(), GraphCommon< GT, Node, Arc >::get_tgt_node(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::graph_, Aleph::DynMapTree< Key, Data, Tree, Compare >::insert(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::node_to_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::normalize_pair(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::sa_, Aleph::DynMapTree< Key, Data, Tree, Compare >::search(), and Aleph::MapOpenHash< Key, Data, Cmp, HashTable >::search().
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::HLD_Tree_Data().
|
inlinenoexcept |
Definition at line 567 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::chain_head_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::chain_head_array(), Aleph::Gen_HLD< GT, T, Op, SA >::chain_head_id(), Aleph::Gen_HLD< GT, T, Op, SA >::lca_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_edges_id(), and Aleph::Gen_HLD< GT, T, Op, SA >::path_query_id().
|
inlineprivate |
Definition at line 447 of file HLD.H.
References ah_out_of_range_error_if, and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::node_of(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::validate_id().
|
inlineprivate |
Definition at line 367 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::adjacency_, Aleph::and, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::chain_head_, Aleph::Array< T >::create(), Aleph::DynListStack< T >::is_empty(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::NONE, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::num_chains_, Aleph::DynListStack< T >::pop(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::pos_, Aleph::DynListStack< T >::push(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tin_, Aleph::DynListStack< T >::top(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tout_.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::HLD_Tree_Data().
|
inlineprivate |
Definition at line 256 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::adjacency_, ah_domain_error_if, Aleph::Array< T >::create(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::depth_, Aleph::DynListStack< T >::is_empty(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::NONE, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::parent_, Aleph::DynListStack< T >::pop(), Aleph::DynListStack< T >::push(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::subtree_size_, and Aleph::DynListStack< T >::top().
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::HLD_Tree_Data().
|
inlinenoexcept |
Definition at line 564 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::depth_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::depth_array(), Aleph::Gen_HLD< GT, T, Op, SA >::depth_of_id(), Aleph::Gen_HLD< GT, T, Op, SA >::distance_id(), Aleph::Gen_HLD< GT, T, Op, SA >::lca_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_edges_id(), and Aleph::Gen_HLD< GT, T, Op, SA >::path_query_id().
|
inline |
Definition at line 572 of file HLD.H.
References ah_domain_error_if, ah_invalid_argument_if, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::node_to_id_, and Aleph::MapOpenHash< Key, Data, Cmp, HashTable >::search().
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::id_of().
|
inlinenoexcept |
Definition at line 562 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::id_to_node_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::build_segment_tree().
|
inlineprivate |
Definition at line 164 of file HLD.H.
References ah_domain_error_if, ah_runtime_error_unless, Aleph::Array< T >::create(), Aleph::MapOpenHash< Key, Data, Cmp, HashTable >::find(), GraphCommon< GT, Node, Arc >::get_num_nodes(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::graph_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::id_to_node_, Aleph::MapOpenHash< Key, Data, Cmp, HashTable >::insert(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::node_to_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id_, and Aleph::MapOpenHash< Key, Data, Cmp, HashTable >::search().
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::HLD_Tree_Data().
|
inlinenoexcept |
Definition at line 558 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::is_empty().
|
inline |
Definition at line 584 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::check_id(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::id_to_node_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::node_of().
|
inlinestaticprivatenoexcept |
Definition at line 157 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency().
|
inlinenoexcept |
Definition at line 570 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::num_chains_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::num_chains().
|
default |
Copy the decomposition of another tree.
| [in] | other | topology to copy. |
|
inlinenoexcept |
Exchange this topology with another, which is left with the previous decomposition of this one.
| [in,out] | other | topology to move from. |
Definition at line 502 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap().
|
inlinenoexcept |
Definition at line 563 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::parent_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::lca_id(), Aleph::Gen_HLD< GT, T, Op, SA >::parent_array(), Aleph::Gen_HLD< GT, T, Op, SA >::parent_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_edges_id(), and Aleph::Gen_HLD< GT, T, Op, SA >::path_query_id().
|
inlinenoexcept |
Definition at line 566 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::pos_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::build_segment_tree(), Aleph::Gen_HLD< GT, T, Op, SA >::get_value_at_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_edges_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_id(), Aleph::Gen_HLD< GT, T, Op, SA >::point_update_id(), Aleph::Gen_HLD< GT, T, Op, SA >::position(), Aleph::Gen_HLD< GT, T, Op, SA >::position_array(), and Aleph::Gen_HLD< GT, T, Op, SA >::subtree_query_id().
|
inlineprivate |
Definition at line 326 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::adjacency_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::NONE, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::parent_, and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::subtree_size_.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::HLD_Tree_Data().
|
inlinenoexcept |
Definition at line 559 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::root().
|
inlinenoexcept |
Definition at line 560 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::root_id().
|
inlinenoexcept |
Definition at line 557 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::n(), and Aleph::Gen_HLD< GT, T, Op, SA >::size().
|
inlinenoexcept |
Definition at line 565 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::subtree_size_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::subtree_query_id(), Aleph::Gen_HLD< GT, T, Op, SA >::subtree_size_array(), and Aleph::Gen_HLD< GT, T, Op, SA >::subtree_size_of_id().
|
inlinenoexcept |
Exchange in O(1) this topology and another.
| [in,out] | other | topology to exchange with. |
| what | swapping the filters throws. They are exchanged first, so that, if that swap throws, nothing else is exchanged, and both topologies are left as they were if it left its arguments as they were. |
Definition at line 515 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_filter().
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::operator=(), Aleph::Gen_HLD< GT, T, Op, SA >::swap(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_filter().
|
inlinenoexcept |
Exchange in O(1) all but the filters of this topology and another.
| [in,out] | other | topology to exchange with. |
Definition at line 538 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::adjacency_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::chain_head_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::depth_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::graph_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::id_to_node_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::n_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::node_to_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::num_chains_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::parent_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::pos_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id_, Aleph::hld_detail::HLD_Tree_Data< GT, SA >::subtree_size_, Aleph::Array< T >::swap(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tin_, and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tout_.
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::swap(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap().
|
inlinenoexcept |
Exchange the filters of this topology and another, for an owner that exchanges something else before the rest.
| [in,out] | other | topology to exchange with. |
| what | swapping the filters throws. |
Definition at line 526 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::sa_, and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap().
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap(), and Aleph::Gen_HLD< GT, T, Op, SA >::swap_but_topology_storage().
|
inlinenoexcept |
Definition at line 568 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tin_.
|
inlinenoexcept |
Definition at line 569 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tout_.
|
inline |
Definition at line 590 of file HLD.H.
References Aleph::hld_detail::HLD_Tree_Data< GT, SA >::check_id().
Referenced by Aleph::Gen_HLD< GT, T, Op, SA >::chain_head_id(), Aleph::Gen_HLD< GT, T, Op, SA >::depth_of_id(), Aleph::Gen_HLD< GT, T, Op, SA >::get_value_at_id(), Aleph::Gen_HLD< GT, T, Op, SA >::lca_id(), Aleph::Gen_HLD< GT, T, Op, SA >::parent_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_edges_id(), Aleph::Gen_HLD< GT, T, Op, SA >::path_query_id(), Aleph::Gen_HLD< GT, T, Op, SA >::point_update_id(), Aleph::Gen_HLD< GT, T, Op, SA >::position(), Aleph::Gen_HLD< GT, T, Op, SA >::subtree_query_id(), and Aleph::Gen_HLD< GT, T, Op, SA >::subtree_size_of_id().
|
private |
Definition at line 144 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::reorder_adjacency_heavy_first(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 151 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::chain_head(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 146 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::depth(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 134 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
|
private |
Definition at line 139 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::check_id(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::is_empty(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::reorder_adjacency_heavy_first(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::size(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 142 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::id_of(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
staticconstexpr |
|
private |
Definition at line 155 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::num_chains(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 145 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::parent(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::reorder_adjacency_heavy_first(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 150 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::pos(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 136 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 137 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::index_nodes(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::root_id(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 135 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::build_simple_adjacency(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_filter().
|
private |
Definition at line 147 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_sizes_and_parents(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::reorder_adjacency_heavy_first(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::subtree_size(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter().
|
private |
Definition at line 152 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tin().
|
private |
Definition at line 153 of file HLD.H.
Referenced by Aleph::hld_detail::HLD_Tree_Data< GT, SA >::compute_hld_positions(), Aleph::hld_detail::HLD_Tree_Data< GT, SA >::swap_but_filter(), and Aleph::hld_detail::HLD_Tree_Data< GT, SA >::tout().