VertexTraversalResult

com.phasmidsoftware.gryphon.traverse.VertexTraversalResult
See theVertexTraversalResult companion class

Provides utility methods for creating and working with instances of VertexTraversalResult.

A VertexTraversalResult is a concrete implementation of the TraversalResult trait that uses a map to represent the traversal results for graph vertices. This object contains a factory method for creating an empty VertexTraversalResult instance.

Attributes

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

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def empty[V, T]: VertexTraversalResult[V, T]

Creates and returns an empty VertexTraversalResult instance.

Creates and returns an empty VertexTraversalResult instance.

An empty VertexTraversalResult contains no mappings of vertices to their traversal results. This method is useful as a starting point for building a traversal object incrementally.

Type parameters

T

The resulting type after traversing a vertex or an edge.

V

The type representing a vertex in the graph.

Attributes

Returns

A new VertexTraversalResult instance with an empty map.