Attribute

com.phasmidsoftware.gryphon.core.Attribute
trait Attribute[+A]

Hierarchical trait defining a (single) attribute of type A.

Used as a base trait by Vertex and Edge to expose their defining attribute.

Type parameters

A

an attribute

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Edge[V, E]
trait DirectedEdge[V, E]
class OrderedEdge[V]
class UndirectedEdge[V, E]
trait OrderableEdge[V, E]
trait OrderedAttribute[A]
trait Vertex[V]
class AbstractVertex[V]
class RelaxableVertex[V, R]
class SimpleVertex[V]
Show all

Members list

Value members

Abstract methods

def attribute: A

Retrieves the attribute of type A associated with this instance.

Retrieves the attribute of type A associated with this instance.

Attributes

Returns

the attribute of type A representing the defining characteristic or property of this instance.