Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Classes | Concepts | Enumerations | Functions
graphle::search Namespace Reference

Classes

class  search_visitor
 
struct  visitor_from_arguments
 

Concepts

concept  search_visitor_type
 
concept  search_visitor_ref
 

Enumerations

enum class  visitor_result { visitor_result::CONTINUE , visitor_result::STOP_TREE , visitor_result::STOP_SEARCH }
 
enum class  nonlocal_visitor_result { nonlocal_visitor_result::CONTINUE , nonlocal_visitor_result::STOP_SEARCH }
 

Functions

template<graph_ref G, search_visitor_ref< G > V, store::storage_provider_ref< store::storage_type::DEQUE, vertex_of< G > > PQ = store::default_provided_t<store::storage_type::DEQUE, vertex_of<G>>, store::storage_provider_ref< store::storage_type::UNORDERED_SET, vertex_of< G >, vertex_hash_of< G >, vertex_compare_of< G > > PS = store::default_provided_t<store::storage_type::UNORDERED_SET, vertex_of<G>, vertex_hash_of<G>, vertex_compare_of<G>>>
requires ( edge_list_graph<G> || out_edges_graph<G> || (non_directed_graph<G> && in_edges_graph<G>) )
constexpr bool breadth_first_search (G &&graph, vertex_of< G > root, V &&visitor, PQ &&deque_provider=store::get_default_storage_provider< store::storage_type::DEQUE, vertex_of< G > >(), PS &&set_provider=store::get_default_storage_provider< store::storage_type::UNORDERED_SET, vertex_of< G >, vertex_hash_of< G >, vertex_compare_of< G > >())
 
template<graph_ref G, search_visitor_ref< G > V, store::storage_provider_ref< store::storage_type::VECTOR, vertex_of< G > > PV = store::default_provided_t<store::storage_type::VECTOR, vertex_of<G>>, store::storage_provider_ref< store::storage_type::UNORDERED_SET, vertex_of< G >, vertex_hash_of< G >, vertex_compare_of< G > > PS = store::default_provided_t<store::storage_type::UNORDERED_SET, vertex_of<G>, vertex_hash_of<G>, vertex_compare_of<G>>>
requires ( edge_list_graph<G> || out_edges_graph<G> || (non_directed_graph<G> && in_edges_graph<G>) )
constexpr bool depth_first_search (G &&graph, vertex_of< G > root, V &&visitor, PV &&stack_provider=store::get_default_storage_provider< store::storage_type::VECTOR, vertex_of< G > >(), PS &&set_provider=store::get_default_storage_provider< store::storage_type::UNORDERED_SET, vertex_of< G >, vertex_hash_of< G >, vertex_compare_of< G > >())
 

Detailed Description

Graphle search methods.