Triplet

com.phasmidsoftware.gryphon.core.Triplet
case class Triplet[V, E, Z](from: V, to: V, maybeAttribute: Option[E], edgeType: Z)

Represents a triplet structure consisting of two vertices, an optional attribute, and an edge type.

Type parameters

E

the type of the optional attribute associated with the edge.

V

the type of the vertices (white and black).

Z

the type representing the edge type.

Value parameters

edgeType

the type of the edge, providing further classification or relationship information.

from

the starting vertex of the triplet.

maybeAttribute

an optional attribute that provides additional metadata for the edge.

to

the ending vertex of the triplet.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product