|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
#include <Planarity_Test.H>
Classes | |
| struct | Orient_Frame |
| struct | Test_Frame |
Public Member Functions | |
| LR_Planarity_Checker (const GT &g, SA sa, Planarity_Test_Options options=Planarity_Test_Options()) | |
| Planarity_Test_Result< GT > | run () |
Private Types | |
| using | Node = typename GT::Node |
| using | Arc = typename GT::Arc |
Private Member Functions | |
| size_t | add_oriented_edge (const size_t src, const size_t tgt) |
| size_t | other_endpoint (const size_t edge_id, const size_t x) const |
| size_t | count_components () const |
| bool | compute_faces_from_rotation (const Array< Array< size_t > > &order, const size_t isolated_vertices, const size_t num_components, Array< Array< size_t > > &face_idx, size_t &global_faces, const bool enforce_euler=true) const |
| void | fill_embedding_result (const Array< Array< size_t > > &order, const Array< Array< size_t > > &face_idx, const size_t global_faces, const bool is_lr_linear) |
| bool | conflicting (const Interval &i, const size_t edge_id) const |
| long | lowest (const Conflict_Pair &p) const |
| void | finish_oriented_edge (const size_t v, const size_t e) |
| Orient_Frame | orient_frame_of (const size_t v) const noexcept |
| void | orient_dfs (const size_t root) |
| void | sort_child_edges (const size_t v) |
| bool | finish_child_edge (const size_t v, const size_t first, const size_t ei) |
| bool | merge_child_edge (const size_t v, const size_t first, const size_t ei) |
| void | finish_test (const size_t v) |
| Test_Frame | test_frame_of (const size_t v) |
| void | test_dfs (const size_t root) |
| bool | fails_component_euler_bound () const |
| void | build_underlying_simple_graph () |
| bool | run_lr_planarity_test () |
| bool | simple_edges_are_planar (const Array< Simple_Edge > &simple_edges) const |
| size_t | find_simplified_edge_id (const size_t u, const size_t v) const |
| Planarity_Test_Result< GT >::Edge_Witness | make_edge_witness (const size_t u, const size_t v) const |
| void | fill_certificate_paths (const Array< size_t > &branches, const Array< Compressed_Path > &paths) |
| void | build_nonplanar_certificate () |
| bool | build_combinatorial_embedding_linear_lr () |
| bool | build_combinatorial_embedding_bruteforce () |
| bool | build_combinatorial_embedding () |
Static Private Member Functions | |
| static void | sort_size_t_array (Array< size_t > &a) |
| static size_t | factorial_bounded (const size_t n, const size_t cap) |
| static size_t | find_in_array (const Array< size_t > &a, const size_t value) |
| static void | generate_permutations (Array< size_t > &tail, const size_t pos, const size_t first, Array< Array< size_t > > &out) |
| static std::pair< const size_t *, const size_t * > | range_of (const Array< size_t > &a) noexcept |
| template<class Key > | |
| static void | sort_by (Array< size_t > &E, const Key &key) |
| static bool | classify_k5 (const Array< size_t > &branches, const Array< Compressed_Path > &paths) |
| static bool | classify_k33 (const Array< size_t > &branches, const Array< Compressed_Path > &paths) |
Private Attributes | |
| const GT & | g_ |
| SA | sa_ |
| Planarity_Test_Options | options_ |
| Planarity_Test_Result< GT > | result_ |
| Array< Node * > | nodes_ |
| DynMapTree< Node *, size_t > | node_to_idx_ |
| Array< Simple_Edge > | edges_ |
| Array< Array< size_t > > | incident_edges_ |
| Array< Array< Arc * > > | simplified_edge_input_arcs_ |
| Array< long > | height_ |
| Array< size_t > | parent_edge_ |
| Array< Array< size_t > > | child_edges_ |
| Array< char > | undirected_edge_seen_ |
| Array< size_t > | roots_ |
| Array< size_t > | oriented_src_ |
| Array< size_t > | oriented_tgt_ |
| Array< long > | side_ |
| Array< long > | lowpt_ |
| Array< long > | lowpt2_ |
| Array< long > | nesting_depth_ |
| Array< size_t > | undirected_to_oriented_ |
| Array< size_t > | lowpt_edge_ |
| Array< size_t > | ref_ |
| Array< Conflict_Pair > | stack_bottom_ |
| Array< Conflict_Pair > | stack_ |
| bool | planar_ = true |
Definition at line 726 of file Planarity_Test.H.
|
private |
Definition at line 729 of file Planarity_Test.H.
|
private |
Definition at line 728 of file Planarity_Test.H.
|
inline |
Definition at line 2809 of file Planarity_Test.H.
|
inlineprivate |
Definition at line 766 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt2_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nesting_depth_, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_src_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_tgt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::ref_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::side_, Aleph::Array< T >::size(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_bottom_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs().
|
inlineprivate |
Definition at line 2794 of file Planarity_Test.H.
References Aleph::and, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::Planarity_Test_Options::embedding_allow_bruteforce_fallback, Aleph::Planarity_Test_Options::embedding_prefer_lr_linear, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
inlineprivate |
Definition at line 2648 of file Planarity_Test.H.
References Aleph::and, Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::compute_faces_from_rotation(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::count_components(), Aleph::Planarity_Test_Options::embedding_max_combinations, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::factorial_bounded(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_embedding_result(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::generate_permutations(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::Array< T >::is_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::other_endpoint(), Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, Aleph::search(), Aleph::Array< T >::size(), Aleph::size(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_size_t_array().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding().
|
inlineprivate |
Definition at line 2099 of file Planarity_Test.H.
References Aleph::and, Aleph::Array< T >::append(), chain(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::child_edges_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::compute_faces_from_rotation(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::count_components(), Aleph::Planarity_Test_Options::embedding_max_combinations, Aleph::Planarity_Test_Options::embedding_validate_with_euler, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_embedding_result(), LocateFunctions< Container, Type >::get_it(), h, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::Array< T >::is_empty(), Aleph::Dfs_Stack< T >::is_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nesting_depth_, Aleph::next(), Aleph::planarity_detail::Null_Edge, num_nodes, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_src_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_tgt_, out, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::Dfs_Stack< T >::pop(), Aleph::Dfs_Stack< T >::push(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::range_of(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::ref_, Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, root(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::roots_, seed, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::side_, Aleph::Array< T >::size(), Aleph::size(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_by(), Aleph::Dfs_Stack< T >::top(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::undirected_to_oriented_, w, and y.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding().
|
inlineprivate |
Definition at line 1758 of file Planarity_Test.H.
References Aleph::and, Aleph::Array< T >::append(), Aleph::Planarity_Test_Options::certificate_max_branch_nodes_search, Aleph::Planarity_Test_Options::certificate_max_edges, Aleph::Planarity_Test_Options::certificate_max_reduction_passes, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::classify_k33(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::classify_k5(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::edges_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_certificate_paths(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::find_in_array(), LocateFunctions< Container, Type >::get_it(), Aleph::Array< T >::get_last(), Aleph::Array< T >::is_empty(), Aleph::K33_Subdivision, Aleph::K5_Subdivision, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::make_edge_witness(), Aleph::Minimal_NonPlanar_Obstruction, Aleph::planarity_detail::Compressed_Path::nodes, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::simple_edges_are_planar(), Aleph::Array< T >::size(), Aleph::size(), Aleph::planarity_detail::Simple_Edge::u, Aleph::planarity_detail::Compressed_Path::u, Aleph::planarity_detail::Simple_Edge::v, and Aleph::planarity_detail::Compressed_Path::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
inlineprivate |
Definition at line 1433 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::child_edges_, Aleph::DynSetTree< Key, Tree, Compare >::contains(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::edges_, Aleph::DynMapTree< Key, Data, Tree, Compare >::find(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::g_, GraphCommon< GT, Node, Arc >::get_num_nodes(), GraphCommon< GT, Node, Arc >::get_src_node(), GraphCommon< GT, Node, Arc >::get_tgt_node(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::DynSetTree< Key, Tree, Compare >::insert(), Aleph::DynMapTree< Key, Data, Tree, Compare >::insert(), GraphCommon< GT, Node, Arc >::is_digraph(), Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::node_to_idx_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nodes_, Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sa_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::simplified_edge_input_arcs_, and Aleph::Array< T >::size().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
inlinestaticprivate |
Definition at line 1602 of file Planarity_Test.H.
References Aleph::and, Aleph::Array< T >::append(), Aleph::color(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::find_in_array(), LocateFunctions< Container, Type >::get_it(), Aleph::Array< T >::is_empty(), Aleph::planarity_detail::Null_Edge, Aleph::Array< T >::remove_last(), Aleph::Array< T >::reserve(), Aleph::Array< T >::size(), Aleph::planarity_detail::Compressed_Path::u, and Aleph::planarity_detail::Compressed_Path::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate().
|
inlinestaticprivate |
Definition at line 1560 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::find_in_array(), LocateFunctions< Container, Type >::get_it(), Aleph::planarity_detail::Null_Edge, Aleph::Array< T >::reserve(), Aleph::Array< T >::size(), Aleph::planarity_detail::Compressed_Path::u, and Aleph::planarity_detail::Compressed_Path::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate().
|
inlineprivate |
Definition at line 895 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::edges_, Aleph::Planarity_Test_Options::embedding_validate_with_euler, Aleph::Array< T >::empty(), Aleph::DynMapTree< Key, Data, Tree, Compare >::find(), Aleph::DynMapTree< Key, Data, Tree, Compare >::insert(), Aleph::next(), Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, Aleph::Array< T >::size(), Aleph::planarity_detail::Simple_Edge::u, and Aleph::planarity_detail::Simple_Edge::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr().
|
inlineprivate |
Definition at line 1021 of file Planarity_Test.H.
References Aleph::planarity_detail::Interval::high, Aleph::planarity_detail::interval_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, and Aleph::planarity_detail::Null_Edge.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge().
|
inlineprivate |
Definition at line 823 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::Array< T >::is_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::other_endpoint(), Aleph::Array< T >::remove_last(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, and w.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr().
|
inlinestaticprivate |
Definition at line 804 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce().
|
inlineprivate |
Definition at line 1385 of file Planarity_Test.H.
References Aleph::and, Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::Array< T >::is_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::other_endpoint(), Aleph::Array< T >::remove_last(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, and w.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
inlineprivate |
Definition at line 1729 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::Planarity_Test_Result< GT >::Path_Witness::edges, LocateFunctions< Container, Type >::get_it(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::make_edge_witness(), Aleph::Planarity_Test_Result< GT >::Path_Witness::nodes, Aleph::planarity_detail::Compressed_Path::nodes, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nodes_, Aleph::Array< T >::reserve(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, and Aleph::Array< T >::size().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate().
|
inlineprivate |
Definition at line 981 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::Planarity_Test_Result< GT >::Rotation_Entry::cw_neighbors, Aleph::Planarity_Test_Result< GT >::Rotation_Entry::node, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nodes_, Aleph::Array< T >::reserve(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr().
|
inlinestaticprivate |
Definition at line 862 of file Planarity_Test.H.
References Aleph::planarity_detail::Null_Edge, Aleph::Array< T >::size(), and value.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::classify_k33(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::classify_k5().
|
inlineprivate |
Definition at line 1693 of file Planarity_Test.H.
References Aleph::and, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::edges_, and Aleph::planarity_detail::Null_Edge.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::make_edge_witness().
|
inlineprivate |
Definition at line 1171 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::height_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::planar_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
inlineprivate |
Definition at line 1047 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::height_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt2_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nesting_depth_, Aleph::planarity_detail::Null_Edge, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs().
|
inlineprivate |
Definition at line 1263 of file Planarity_Test.H.
References Aleph::and, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::height_, Aleph::planarity_detail::Interval::high, Aleph::planarity_detail::interval_empty(), Aleph::planarity_detail::Conflict_Pair::left, Aleph::planarity_detail::Interval::low, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowest(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_src_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_tgt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::ref_, Aleph::planarity_detail::Conflict_Pair::right, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::side_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
inlinestaticprivate |
Definition at line 871 of file Planarity_Test.H.
References Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::generate_permutations(), out, Aleph::Array< T >::reserve(), and Aleph::Array< T >::size().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::generate_permutations().
|
inlineprivate |
Definition at line 1028 of file Planarity_Test.H.
References Aleph::and, Aleph::planarity_detail::interval_empty(), Aleph::planarity_detail::Conflict_Pair::left, Aleph::planarity_detail::Interval::low, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, and Aleph::planarity_detail::Conflict_Pair::right.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test().
|
inlineprivate |
Definition at line 1705 of file Planarity_Test.H.
References arcs, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::find_simplified_edge_id(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nodes_, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::simplified_edge_input_arcs_, Aleph::Array< T >::size(), Aleph::Planarity_Test_Result< GT >::Edge_Witness::src, and w.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_certificate_paths().
|
inlineprivate |
Definition at line 1185 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::conflicting(), Aleph::planarity_detail::Interval::high, Aleph::planarity_detail::interval_empty(), Aleph::planarity_detail::Conflict_Pair::left, Aleph::planarity_detail::Interval::low, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_edge_, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::pair_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::planar_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::ref_, Aleph::planarity_detail::Conflict_Pair::right, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_bottom_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_child_edge().
|
inlineprivate |
Definition at line 1098 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::Array< T >::append(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::child_edges_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Orient_Frame::end, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::height_, Aleph::Dfs_Stack< T >::is_empty(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt2_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Orient_Frame::next, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_frame_of(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::other_endpoint(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::planar_, Aleph::Dfs_Stack< T >::pop(), Aleph::Dfs_Stack< T >::push(), root(), Aleph::Dfs_Stack< T >::top(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::undirected_edge_seen_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::undirected_to_oriented_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Orient_Frame::v, w, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Orient_Frame::waiting.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
|
inlineprivatenoexcept |
Definition at line 1089 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::incident_edges_, Aleph::planarity_detail::Null_Edge, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::range_of().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs().
|
inlineprivate |
Definition at line 783 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::edges_, Aleph::planarity_detail::Simple_Edge::u, and Aleph::planarity_detail::Simple_Edge::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::count_components(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fails_component_euler_bound(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs().
|
inlinestaticprivatenoexcept |
Definition at line 1069 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_frame_of(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_frame_of().
|
inline |
Definition at line 2815 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::Planarity_Test_Options::compute_embedding, Aleph::Planarity_Test_Options::compute_nonplanar_certificate, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fails_component_euler_bound(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::options_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
Referenced by Aleph::planarity_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::simple_edges_are_planar().
|
inlineprivate |
Definition at line 1497 of file Planarity_Test.H.
References Aleph::Array< T >::append(), LocateFunctions< Container, Type >::get_it(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::height_, Aleph::planarity_detail::Null_Edge, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::planar_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, root(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::roots_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::undirected_edge_seen_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::undirected_to_oriented_.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
inlineprivate |
Definition at line 1530 of file Planarity_Test.H.
References Aleph::Planarity_Test_Options::certificate_max_edges, Aleph::Planarity_Test_Options::certificate_max_reduction_passes, Aleph::Planarity_Test_Options::compute_embedding, Aleph::Planarity_Test_Options::compute_nonplanar_certificate, Aleph::Planarity_Test_Options::embedding_max_combinations, LocateFunctions< Container, Type >::get_it(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::result_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run(), Aleph::planarity_detail::Simple_Edge::u, and Aleph::planarity_detail::Simple_Edge::v.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate().
|
inlinestaticprivate |
Definition at line 1154 of file Planarity_Test.H.
References Aleph::timsort(), and y.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_child_edges().
|
inlineprivate |
Definition at line 1161 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::child_edges_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::nesting_depth_, and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_by().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_frame_of().
|
inlinestaticprivate |
Definition at line 789 of file Planarity_Test.H.
References Aleph::and, and Aleph::Array< T >::size().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce().
|
inlineprivate |
Definition at line 1338 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Test_Frame::end, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Test_Frame::first, Aleph::planarity_detail::Interval::high, Aleph::Dfs_Stack< T >::is_empty(), Aleph::planarity_detail::Interval::low, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowpt_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Test_Frame::next, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::oriented_tgt_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::parent_edge_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::planar_, Aleph::Dfs_Stack< T >::pop(), Aleph::Dfs_Stack< T >::push(), Aleph::planarity_detail::Conflict_Pair::right, root(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::stack_bottom_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_frame_of(), Aleph::Dfs_Stack< T >::top(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::Test_Frame::v, and w.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
|
inlineprivate |
Definition at line 1328 of file Planarity_Test.H.
References Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::child_edges_, Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::range_of(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_child_edges().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
private |
Definition at line 746 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_child_edges(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_frame_of().
|
private |
Definition at line 740 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::compute_faces_from_rotation(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::find_simplified_edge_id(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::other_endpoint().
|
private |
Definition at line 731 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph().
|
private |
Definition at line 744 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
|
private |
Definition at line 741 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::count_components(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fails_component_euler_bound(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_frame_of().
|
private |
|
private |
Definition at line 754 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::conflicting(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::lowest(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs().
|
private |
|
private |
Definition at line 756 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_oriented_edge(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::sort_child_edges().
|
private |
Definition at line 738 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph().
|
private |
Definition at line 737 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_certificate_paths(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_embedding_result(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::make_edge_witness().
|
private |
Definition at line 733 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::compute_faces_from_rotation(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run().
|
private |
Definition at line 751 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test().
|
private |
Definition at line 752 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
private |
Definition at line 745 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
private |
Definition at line 764 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
private |
Definition at line 759 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge().
|
private |
Definition at line 735 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_bruteforce(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_nonplanar_certificate(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::compute_faces_from_rotation(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::count_components(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fails_component_euler_bound(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_certificate_paths(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::fill_embedding_result(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::simple_edges_are_planar().
|
private |
Definition at line 749 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
|
private |
Definition at line 732 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph().
|
private |
Definition at line 753 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::add_oriented_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test().
|
private |
Definition at line 742 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_underlying_simple_graph(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::make_edge_witness().
|
private |
Definition at line 762 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::finish_test(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::merge_child_edge(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::test_dfs().
|
private |
|
private |
Definition at line 748 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().
|
private |
Definition at line 757 of file Planarity_Test.H.
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::orient_dfs(), and Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::run_lr_planarity_test().