Defines the UndirectedGraph class template extending the generic Graph base to implement undirected graph behavior. More...
#include <stdexcept>#include "GraphLib/internal/abstract_graphs/abstract_graph.h"#include "GraphLib/internal/concepts.h"Go to the source code of this file.
Classes | |
| class | GraphLib::Internal::UndirectedGraph< D, I, E > |
| A graph class representing undirected graphs. More... | |
Defines the UndirectedGraph class template extending the generic Graph base to implement undirected graph behavior.
This class overrides graph methods to ensure the graph behaves as undirected, e.g., edges are treated symmetrically between nodes.
Template Parameters:
The class overrides is_directed() to return false and implements edge removal to erase both directions of an edge.
Definition in file abstract_undirected_graph.h.