Parameters

scalax.collection.GraphTraversal$.Parameters
See theParameters companion object
case class Parameters(kind: Kind, direction: Direction, maxDepth: Int)

Parameters to control traversals.

Value parameters

direction

Determines which connected nodes the traversal has to follow. The default value is Successors.

kind

The kind of traversal including breadth-first and depth-fist search.

maxDepth

A positive value to limit the number of layers for BFS respectively the number of consecutive child visits before siblings are visited for DFS. 0 - the default - indicates that the traversal should have an unlimited depth.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Creates a new Parameters based on this except for an updated direction.

Creates a new Parameters based on this except for an updated direction.

Attributes

def withKind(kind: Kind): Parameters

Creates a new Parameters based on this except for an updated kind.

Creates a new Parameters based on this except for an updated kind.

Attributes

def withMaxDepth(maxDepth: Int): Parameters

Creates a new Parameters based on this except for an updated maxDepth.

Creates a new Parameters based on this except for an updated maxDepth.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product