Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
graphle::test::ve_map_graph Struct Reference

#include <test_datastructures.hpp>

Classes

struct  vertex
 

Public Member Functions

constexpr auto view_as_graph (void)
 

Static Public Member Functions

static ve_map_graph from_ve_list (const ve_list_graph &g)
 

Public Attributes

std::unordered_set< vertex > vertices
 
std::unordered_map< vertex, std::vector< vertex > > edges
 

Detailed Description

Graph of the form G { vertices = Set<V>, edges = Map<V, V[]> }

Definition at line 97 of file test_datastructures.hpp.

Member Function Documentation

◆ from_ve_list()

static ve_map_graph graphle::test::ve_map_graph::from_ve_list ( const ve_list_graph &  g)
inlinestatic

Definition at line 106 of file test_datastructures.hpp.

◆ view_as_graph()

constexpr auto graphle::test::ve_map_graph::view_as_graph ( void  )
inlineconstexpr

Definition at line 122 of file test_datastructures.hpp.

Member Data Documentation

◆ edges

std::unordered_map<vertex, std::vector<vertex> > graphle::test::ve_map_graph::edges

Definition at line 103 of file test_datastructures.hpp.

◆ vertices

std::unordered_set<vertex> graphle::test::ve_map_graph::vertices

Definition at line 102 of file test_datastructures.hpp.


The documentation for this struct was generated from the following file: