Defines the Edge and WeightedEdge structures used to represent edges in graphs. More...
Go to the source code of this file.
Classes | |
| struct | GraphLib::Internal::Edge< I > |
| Represents an unweighted edge to a node identified by an ID. More... | |
| struct | GraphLib::Internal::WeightedEdge< I, W > |
| Represents a weighted edge to a node identified by an ID, with an associated weight. More... | |
Functions | |
| template<valid_id_type I> | |
| std::ostream & | GraphLib::Internal::operator<< (std::ostream &os, const Edge< I > &edge) |
| Stream output operator for unweighted Edge. | |
| template<valid_id_type I, valid_weight_type W> | |
| std::ostream & | GraphLib::Internal::operator<< (std::ostream &os, const WeightedEdge< I, W > &edge) |
| Stream output operator for weighted Edge. | |
Defines the Edge and WeightedEdge structures used to represent edges in graphs.
This file implements basic edge types with ID and optional weight, including comparison operators and stream output support for debugging and logging.
Definition in file edge.h.
| std::ostream & GraphLib::Internal::operator<< | ( | std::ostream & | os, |
| const Edge< I > & | edge ) |
| std::ostream & GraphLib::Internal::operator<< | ( | std::ostream & | os, |
| const WeightedEdge< I, W > & | edge ) |