Triplets
com.phasmidsoftware.gryphon.core.Triplets
case class Triplets[V, E, Z](triplets: Seq[Triplet[V, E, Z]]) extends SerializableGraph[V, E, Z]
A case class representing a collection of graph triplets.
Each triplet in the collection encapsulates information about two vertices and their connecting edge (if one exists) in a graph structure. This class extends the SerializableGraph trait, allowing it to support serialization and traversal of the contained triplets.
Type parameters
- E
-
the type associated with the edges in the triplets.
- V
-
the type associated with the vertices in the triplets.
- Z
-
the auxiliary type used within the triplet or graph structure.
Value parameters
- triplets
-
the sequence of triplets representing the graph structure.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article