|
cgrapht 1.0.0
A modern C++20 header-only graph library
|
A library supplied edge type. More...
#include <default_edge.hpp>
Public Member Functions | |
| DefaultEdge (const std::size_t id) | |
The constructor accepting a stze_t type argument that it uses as hash later. | |
| bool | operator== (const DefaultEdge &other) const =default |
Public Attributes | |
| std::size_t | id {} |
| User passed ID parameter that is used as the hash value. | |
A library supplied edge type.
This is a library supplied edge type. This takes an id parameter in the constructor and uses that as it's hash value itself. For simple academic cases, this is good enough to be used as is.
Usage:
Definition at line 20 of file default_edge.hpp.
|
inlineexplicit |
The constructor accepting a stze_t type argument that it uses as hash later.
| id |
Definition at line 31 of file default_edge.hpp.
|
default |
| std::size_t cgrapht::DefaultEdge::id {} |
User passed ID parameter that is used as the hash value.
Definition at line 24 of file default_edge.hpp.