com.phasmidsoftware.gryphon.adjunct.AttributedDirectedEdge
See theAttributedDirectedEdge companion object
Represents a directed edge in a graph structure, connecting a starting vertex (from) to an ending vertex (to) while carrying an associated attribute.
Type parameters
E
the type of the attribute associated with the edge.
V
the type of the vertex attributes connected by the edge.
Value parameters
attribute
a value representing additional information or weight associated with the edge.
from
the vertex where the directed edge originates.
to
the vertex where the directed edge terminates.
Attributes
Companion
object
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Retrieves the ending vertex of the edge. See NOTE above for white.
Retrieves the ending vertex of the edge. See NOTE above for white.
Attributes
Returns
the vertex where the edge terminates (the "black" vertex).
Retrieves the starting Vertex of this Edge. If this is an UndirectedEdge, white and black represent the nominal direction. Individual adjacencies can be based on a flipped version of an UndirectedEdge.
Retrieves the starting Vertex of this Edge. If this is an UndirectedEdge, white and black represent the nominal direction. Individual adjacencies can be based on a flipped version of an UndirectedEdge.
Attributes
Returns
the vertex where the edge originates (the "white" vertex).
Returns the type of the edge represented by this object.
Returns the type of the edge represented by this object.
Attributes
Returns
the edge type, which is always Directed for this implementation.
Inherited from:
DirectedEdge
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
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