Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
test_datastructures.hpp File Reference
#include <graphle.hpp>
#include <vector>
#include <utility>
#include <memory>
#include <unordered_set>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  std::hash< T >
 
struct  graphle::test::ve_list_graph
 
struct  graphle::test::ve_list_graph::vertex
 
struct  graphle::test::ve_map_graph
 
struct  graphle::test::ve_map_graph::vertex
 
struct  graphle::test::out_edge_graph
 
struct  graphle::test::out_edge_graph::vertex
 
struct  graphle::test::v_list_out_edge_graph
 
struct  graphle::test::v_list_out_edge_graph::vertex
 
struct  graphle::test::in_out_edge_graph
 
struct  graphle::test::in_out_edge_graph::vertex
 
struct  graphle::test::v_list_in_out_edge_graph
 
struct  graphle::test::v_list_in_out_edge_graph::vertex
 

Namespaces

namespace  graphle
 
namespace  graphle::test
 

Typedefs

using graphle::test::datastructure_list = meta::type_list< ve_list_graph, ve_map_graph, out_edge_graph, v_list_out_edge_graph, in_out_edge_graph, v_list_in_out_edge_graph >
 

Functions

template<typename T >
requires requires (T v) { v.vertex_id; }
constexpr bool graphle::test::operator== (const T &a, const T &b)
 
 graphle::test::GRAPHLE_MAKE_NIEBLOID (to_vertex, [](const auto &v) { return V { v.vertex_id };}, typename V)
 
 graphle::test::GRAPHLE_MAKE_NIEBLOID (to_edge,([](const auto &e) { return std::pair { to_vertex< V >(e.first), to_vertex< V >(e.second) };}), typename V)
 
template<typename M , typename K >
constexpr auto graphle::test::range_at_map_key (M &&map, const K &key)