VertexPair
com.phasmidsoftware.gryphon.core.VertexPair
case class VertexPair[V](white: V, black: V) extends Connexion[V]
A case class representing a specific instance of a Connexion between two vertices in a graph.
This class extends the Connexion trait, providing a concrete representation of a connexion between two vertices, identified as white and black. These terms are used to distinguish the two vertices in an abstract way, without implying any ordering or directional meaning.
Type parameters
- V
-
the type of the vertices forming the connection. This parameter allows flexibility to support any user-defined type representing a vertex.
Value parameters
- black
-
the second vertex in the connection, referred to as
black. - white
-
the first vertex in the connection, referred to as
white.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Connexion[V]class Objecttrait Matchableclass Any
Members list
In this article