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

Classes

struct  all_constraints_satisfied
 
class  edge_duplication_view
 
class  edge_from_vertex_view
 
struct  invalid_edge_getter
 
struct  invalid_in_edge_getter
 
struct  invalid_is_directed_value
 
struct  invalid_out_edge_getter
 
struct  invalid_vertex_getter
 
class  maybe_exists_view
 
struct  primary_range_adaptor
 
struct  project_nth
 
struct  range_adaptor
 
struct  range_adaptor_closure
 
class  transforming_wrapping_iterator
 
class  vertex_perspective_view
 
class  wrapping_iterator
 

Typedefs

template<typename V >
using edge_for = std::pair< V *, V * >
 
template<typename R >
using range_iterator_traits = std::iterator_traits< rng::iterator_t< R > >
 
template<rng::range R>
using const_iterator_t = decltype(rng::cbegin(std::declval< R & >()))
 

Functions

template<typename Vertex , typename IsDirected , typename GetVertices , typename GetEdges , typename GetOutEdges , typename GetInEdges >
consteval auto graph_constraints_check (void)
 
template<store::storage_type ST, graph_ref G, search::search_visitor_ref< G > V, typename EmplacePP , typename TakePP , store::storage_provider_ref< ST, vertex_of< G > > PP = store::default_provided_t<ST, 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 search (G &&graph, vertex_of< G > root, V &&visitor, EmplacePP &&emplace, TakePP &&take, PP &&pending_provider=store::get_default_storage_provider< ST, 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 implementation details.

Typedef Documentation

◆ const_iterator_t

template<rng::range R>
using graphle::detail::const_iterator_t = typedef decltype(rng::cbegin(std::declval<R&>()))

Returns the type of the const iterator of the range R. This is a C++23 feature so we have to provide our own.

Definition at line 19 of file range_utils.hpp.

◆ edge_for

template<typename V >
using graphle::detail::edge_for = typedef std::pair<V*, V*>

Definition at line 9 of file vertex_compare.hpp.

◆ range_iterator_traits

template<typename R >
using graphle::detail::range_iterator_traits = typedef std::iterator_traits<rng::iterator_t<R> >

Returns the iterator traits for the iterator of the given range.

Definition at line 15 of file range_utils.hpp.