Edge
Represents a directed edge connecting two vertices in a graph with an associated value.
This class is part of a graph structure and provides functionality to access the source and destination vertices as well as the value associated with the edge.
Parameters
V
the type of the vertices.
E
the type of the edge value.