Defines an abstraction for an edge in a graph structure that connects two vertices. An Edge may be directed or undirected, and it carries an attribute of type E.
The connection is established between two vertices of type V, referred to as white and black. The type (directionality) of the edge, as well as whether it allows traversal in one or both directions, is given by the edgeType field.
Type parameters
E
the type of the attribute associated with the edge.
Retrieves the blackVertex of this Connexion. If this is a DirectedEdge, this vertex represents the end. If this is an UndirectedEdge, see the note above for white.
Retrieves the blackVertex of this Connexion. If this is a DirectedEdge, this vertex represents the end. If this is an UndirectedEdge, see the note above for white.
Retrieves the whiteVertex of this Connexion. If this is a DirectedEdge, this vertex represents the start. If this is an UndirectedEdge, white to black represents the nominal direction. Individual adjacencies can be based on a flipped version of an UndirectedEdge.
Retrieves the whiteVertex of this Connexion. If this is a DirectedEdge, this vertex represents the start. If this is an UndirectedEdge, white to black represents the nominal direction. Individual adjacencies can be based on a flipped version of an UndirectedEdge.