cgrapht 1.0.0
A modern C++20 header-only graph library
Loading...
Searching...
No Matches
cgrapht::Edge< E > Struct Template Reference

Edge record for a directed graph. More...

#include <graph.hpp>

+ Collaboration diagram for cgrapht::Edge< E >:

Public Member Functions

bool operator== (const Edge &other) const
 

Public Attributes

std::size_t from_id
 
std::size_t to_id
 
edge
 

Detailed Description

template<Hashable E>
struct cgrapht::Edge< E >

Edge record for a directed graph.

Template Parameters
EEdge payload type.

Definition at line 34 of file graph.hpp.

Member Function Documentation

◆ operator==()

template<Hashable E>
bool cgrapht::Edge< E >::operator== ( const Edge< E > &  other) const
inline

Member Data Documentation

◆ edge

template<Hashable E>
E cgrapht::Edge< E >::edge

Definition at line 37 of file graph.hpp.

Referenced by cgrapht::Edge< E >::operator==().

◆ from_id

template<Hashable E>
std::size_t cgrapht::Edge< E >::from_id

◆ to_id

template<Hashable E>
std::size_t cgrapht::Edge< E >::to_id

Definition at line 36 of file graph.hpp.

Referenced by cgrapht::Edge< E >::operator==().


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