RelaxableVertex

com.phasmidsoftware.gryphon.core.RelaxableVertex
See theRelaxableVertex companion class

Companion object for RelaxableVertex, providing factory methods.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[V, R : Monoid : Ordering](v: SimpleVertex[V]): RelaxableVertex[V, R]

Creates a RelaxableVertex from an existing SimpleVertex, transferring its attribute and adjacencies. maybeR is initialised to None.

Creates a RelaxableVertex from an existing SimpleVertex, transferring its attribute and adjacencies. maybeR is initialised to None.

Value parameters

v

the source SimpleVertex.

Attributes

Returns

a new RelaxableVertex[V, R].

def apply[V, R : Monoid : Ordering](attribute: V, adjacencies: Adjacencies[V]): RelaxableVertex[V, R]

Creates a RelaxableVertex with the given attribute and adjacencies. maybeR is initialised to None.

Creates a RelaxableVertex with the given attribute and adjacencies. maybeR is initialised to None.

Attributes