EvaluableGraphNeighboursTraversal

com.phasmidsoftware.gryphon.core.EvaluableGraphNeighboursTraversal
abstract class EvaluableGraphNeighboursTraversal[V, T, R](fulfill: V => T)(traversable: Traversable[V])(using random: Random) extends GraphNeighboursTraversal[V, R]

An abstract class that extends the functionality of GraphNeighboursTraversal by incorporating an evaluable mechanism for the vertices of the graph. This class allows the evaluation of graph vertices to produce a value of type T through the provided fulfillment function.

Type parameters

R

The type representing the result of the traversal operation.

T

The type produced when a vertex is evaluated.

V

The type representing a vertex in the graph.

Value parameters

fulfill

A function that maps a vertex of type V to a value of type T.

traversable

A traversable collection of vertices of type V representing the graph.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object given_Evaluable_V_T extends Evaluable[V, T]

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Inherited and Abstract methods

def traversal: R

Attributes

Inherited from:
GraphNeighboursTraversal

Givens

Inherited givens

given nbrs: GraphNeighbours[V]

Attributes

Inherited from:
GraphNeighboursTraversal