abstract class TraverserMethods[A, +This <: TraverserMethods[A, This]] extends FluentProperties[This]
The root
-related methods Traverser will inherit.
- Attributes
- protected
- Self Type
- This with Properties
- Alphabetic
- By Inheritance
- TraverserMethods
- FluentProperties
- AnyRef
- Any
- by anyToNode
- by CollectionsHaveToParArray
- by EdgeAssoc
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TraverserMethods()
Abstract Value Members
-
abstract
def
apply[U](pred: GraphTraversal.NodeFilter = noNode, visitor: (A) ⇒ U = empty): Option[NodeT]
- Attributes
- protected
-
abstract
def
edgeVisitor[U](f: (A) ⇒ U): (GraphTraversal.EdgeT) ⇒ U
- Attributes
- protected
-
abstract
def
findCycle[U](implicit visitor: (A) ⇒ U = empty): Option[Cycle]
Finds a cycle starting the search at
root
taking optional properties like subgraph restriction, ordering or maximum depth into account., if any.Finds a cycle starting the search at
root
taking optional properties like subgraph restriction, ordering or maximum depth into account., if any. The resulting cycle may start at any node connected withthis
node.- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A cycle or
None
if either- there exists no cycle in the component depicting by
root
or - there exists a cycle in the component but due to withSubgraph settings this path was out of scope.
- there exists no cycle in the component depicting by
-
abstract
def
newTraverser: (NodeT, Parameters, GraphTraversal.NodeFilter, GraphTraversal.EdgeFilter, GraphTraversal.ElemOrdering, Option[Weight]) ⇒ This
- Attributes
- protected
- Definition Classes
- FluentProperties
-
abstract
def
nodeVisitor[U](f: (A) ⇒ U): (NodeT) ⇒ U
- Attributes
- protected
-
abstract
def
partOfCycle[U](implicit visitor: (A) ⇒ U = empty): Option[Cycle]
Finds a cycle that contains
root
taking optional properties like subgraph restriction, ordering or maximum depth into account..Finds a cycle that contains
root
taking optional properties like subgraph restriction, ordering or maximum depth into account.. Irrespective of the current setting forkind
,DepthFirst
is used internally.- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A cycle containing
root
orNone
if either- there exists no cycle containing
root
or - there exists such a cycle but due to withSubgraph settings this path was out of scope.
- there exists no cycle containing
-
abstract
def
pathUntil[U](pred: GraphTraversal.NodeFilter)(implicit visitor: (A) ⇒ U = empty): Option[Path]
Finds a path from
root
to a successor ofroot
for whichpred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds a path from
root
to a successor ofroot
for whichpred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.root
itself does not count as a match. This is also true if it has a hook. If several successors exist the algorithm selects any one of these.- pred
The predicate which must hold true for the successor.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A path to a node with the predicate
pred
orNone
if either- there is no node with
pred
or - there exists no path to such a node or
- there exists a path to such a node but due to withSubgraph settings this path was out of scope.
- there is no node with
- abstract def root: NodeT
-
abstract
def
shortestPathTo[T, U](potentialSuccessor: NodeT, weight: (GraphTraversal.EdgeT) ⇒ T, visitor: (A) ⇒ U)(implicit arg0: Numeric[T]): Option[Path]
Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. The calculation is based on the weight of the edges on the path. Edges have a default weight of1L
that can be overridden by custom edges. A weight function yielding any numeric type may also be passed toshortestPathTo
.- potentialSuccessor
The node the shortest path is to be found to.
- weight
Function to determine the weight of edges. If supplied, this function takes precedence over edge weights.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
The shortest path to
potentialSuccessor
orNone
if either- there exists no path to
potentialSuccessor
or - there exists a path to
potentialSuccessor
but due to withSubgraph settings this path was out of scope.
- there exists no path to
-
abstract
def
strongComponents[U](implicit visitor: (A) ⇒ U = empty): Iterable[Component]
Finds all strongly connected components reachable from this node.
Finds all strongly connected components reachable from this node. See
componentTraverser
for more control by means ofFluentProperties
.- visitor
Function to be called for each inner node or inner edge visited during the search.
-
abstract
def
topologicalSort[U](ignorePredecessors: Boolean = false)(implicit visitor: (GraphTraversal.InnerElem) ⇒ U = empty): CycleNodeOrTopologicalOrder
Sorts the component designated by this node topologically.
Sorts the component designated by this node topologically. Only nodes connected with this node will be included in the resulting topological order. If the graph is known to be connected choose GraphTraversal#topologicalSort instead. See
componentTraverser
for more control by means ofFluentProperties
.- ignorePredecessors
If
true
, the topological sort will be partial in that it will only include successors ofroot
.withSubgraph
restricts the successor nodes to be included but not predecessors that will be excluded in total.- visitor
Function to be called for each inner node or inner edge visited during the sort.
-
abstract
def
weakComponent[U](implicit visitor: (A) ⇒ U = empty): Component
Determines the weak component that contains this node.
Determines the weak component that contains this node. See
componentTraverser
for more control by means ofFluentProperties
.- visitor
Function to be called for each inner node or inner edge visited during the search.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to any2stringadd[TraverserMethods[A, This]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (TraverserMethods[A, This], B)
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to ArrowAssoc[TraverserMethods[A, This]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (TraverserMethods[A, This]) ⇒ Boolean, msg: ⇒ Any): TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to Ensuring[TraverserMethods[A, This]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (TraverserMethods[A, This]) ⇒ Boolean): TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to Ensuring[TraverserMethods[A, This]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to Ensuring[TraverserMethods[A, This]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to Ensuring[TraverserMethods[A, This]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
findConnected[U](pred: GraphTraversal.NodeFilter)(implicit visitor: (A) ⇒ U = empty): Option[NodeT]
Finds a node connected with
root
by any number of edges with any direction for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds a node connected with
root
by any number of edges with any direction for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. For directed or mixed graphs the node to be found is weakly connected with this node.root
itself does not count as a match. This is also true if it has a hook. If several connected nodes exist withpred
the algorithm selects any one of these.- pred
The predicate which must hold true for the resulting node.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A node with the predicate
pred
orNone
if either- there is no node with
pred
or - there exists no connection to such a node or
- there exists a connection to such a node but due to withSubgraph settings this path was out of scope.
- there is no node with
-
final
def
findPredecessor[U](pred: GraphTraversal.NodeFilter)(implicit visitor: (A) ⇒ U = empty): Option[NodeT]
Finds a predecessor of
root
for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds a predecessor of
root
for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.root
itself does not count as a match. This is also true if it has a hook. If several predecessors exist the algorithm selects the first of them found.- pred
The predicate which must hold true for the resulting node.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A node with the predicate
pred
orNone
if either- there is no node with
pred
or - there exists no path from such a node to this node or
- there exists a path from such a node to
root
but due to withSubgraph settings this path was out of scope.
- there is no node with
-
final
def
findSuccessor[U](pred: GraphTraversal.NodeFilter)(implicit visitor: (A) ⇒ U = empty): Option[NodeT]
Finds a successor of
root
for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds a successor of
root
for which the predicatepred
holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.root
itself does not count as a match. This is also true if it has a hook. If several successors holdingpred
exist any one of them may be returned.- pred
The predicate which must hold for the resulting node.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A node with the predicate
pred
orNone
if either- there is no node with
pred
or - there exists no path to such a node or
- there exists a path to such a node but due to withSubgraph settings this path was out of scope.
- there is no node with
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to StringFormat[TraverserMethods[A, This]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hasPredecessor[U](potentialPredecessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Boolean
Checks whether
potentialPredecessor
is a predecessor ofroot
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Checks whether
potentialPredecessor
is a predecessor ofroot
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. Same asisSuccessorOf
.- potentialPredecessor
The node which is potentially a predecessor of
root
.- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
true
if a path exists frompotentialPredecessor
toroot
and it had not to be excluded due tosubgraph
properties.
- Annotations
- @inline()
-
final
def
hasSuccessor[U](potentialSuccessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Boolean
Checks whether
potentialSuccessor
is a successor of this node considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Checks whether
potentialSuccessor
is a successor of this node considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. Same asisPredecessorOf
.- potentialSuccessor
The node which is potentially a successor of this node.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
true
if a path exists from this node topotentialSuccessor
and it had not to be excluded due to asubgraph*
restriction.
- Annotations
- @inline()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isConnectedWith[U](potentialConnected: NodeT)(implicit visitor: (A) ⇒ U = empty): Boolean
Checks whether
potentialConnected
is a node (not necessarily directly) connected withroot
by any number of edges with any direction considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Checks whether
potentialConnected
is a node (not necessarily directly) connected withroot
by any number of edges with any direction considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. For directed or mixed graphs it is satisfactory thatpotentialConnected
is weakly connected withroot
.- potentialConnected
The node which is potentially connected with
root
.- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
true
if a path exists from this node topotentialConnected
and it had not to be excluded due tosubgraph
properties.
- Annotations
- @inline()
-
def
isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
-
def
isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
def
isIn: Boolean
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- InParam → Param
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNode: Boolean
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
def
isOut: Boolean
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- InParam → Param
-
final
def
isPredecessorOf[U](potentialSuccessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Boolean
Same as
hasSuccessor
.Same as
hasSuccessor
.- Annotations
- @inline()
-
final
def
isSuccessorOf[U](potentialPredecessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Boolean
Same as
hasPredecessor
.Same as
hasPredecessor
.- Annotations
- @inline()
-
val
n1: TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to EdgeAssoc[TraverserMethods[A, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
pathTo[U](potentialSuccessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Option[Path]
Finds a path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds a path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.- potentialSuccessor
The node a path is to be found to.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
A path to
potentialSuccessor
orNone
if either- there is no node with
pred
or - there exists no path to such a node
- there is no node with
-
final
def
requireSuccessors[A](block: ⇒ A): A
- Attributes
- protected
-
final
def
shortestPathTo[T](potentialSuccessor: NodeT, weight: (GraphTraversal.EdgeT) ⇒ T)(implicit arg0: Numeric[T]): Option[Path]
Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. The calculation is based on the weight of the edges on the path. Edges have a default weight of1L
that can be overridden by custom edges. A weight function yielding any numeric type may also be passed toshortestPathTo
.- potentialSuccessor
The node the shortest path is to be found to.
- weight
Function to determine the weight of edges. If supplied, this function takes precedence over edge weights.
- returns
The shortest path to
potentialSuccessor
orNone
if either- there exists no path to
potentialSuccessor
or - there exists a path to
potentialSuccessor
but due to withSubgraph settings this path was out of scope.
- there exists no path to
- Annotations
- @inline()
-
final
def
shortestPathTo[U](potentialSuccessor: NodeT)(implicit visitor: (A) ⇒ U = empty): Option[Path]
Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method.Finds the shortest path from
root
topotentialSuccessor
considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by anywith*
method. The calculation is based on the weight of the edges on the path. Edges have a default weight of1L
that can be overridden by custom edges. A weight function yielding any numeric type may also be passed toshortestPathTo
.- potentialSuccessor
The node the shortest path is to be found to.
- visitor
An optional function that is applied for its side-effect to every element visited during graph traversal.
- returns
The shortest path to
potentialSuccessor
orNone
if either- there exists no path to
potentialSuccessor
or - there exists a path to
potentialSuccessor
but due to withSubgraph settings this path was out of scope.
- there exists no path to
- Annotations
- @inline()
-
def
stringPrefix: String
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toInnerElemTraverser(root: NodeT): InnerElemTraverser
- Definition Classes
- FluentProperties
-
def
toParArray: ParArray[T]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to CollectionsHaveToParArray[TraverserMethods[A, This], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (TraverserMethods[A, This]) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- CollectionsHaveToParArray
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
value: TraverserMethods[A, This]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- OuterNode → NodeParam
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
withDirection(direction: Direction): This
Creates a new FluentProperties based on
this
except for an updateddirection
.Creates a new FluentProperties based on
this
except for an updateddirection
. Note that methods returning a Cycle or Path accept onlySuccessors
.- Definition Classes
- FluentProperties
-
final
def
withKind(kind: Kind): This
Creates a new FluentProperties based on
this
except for an updatedkind
.Creates a new FluentProperties based on
this
except for an updatedkind
.- Definition Classes
- FluentProperties
-
final
def
withMaxDepth(maxDepth: Int): This
Creates a new FluentProperties based on
this
except for an updatedmaxDepth
.Creates a new FluentProperties based on
this
except for an updatedmaxDepth
.- Definition Classes
- FluentProperties
-
final
def
withMaxWeight(max: Long): This
Creates a new FluentProperties based on
this
except for an updatedmaxWeight
having the givenmax
and the default weight function returningedge.weight
.Creates a new FluentProperties based on
this
except for an updatedmaxWeight
having the givenmax
and the default weight function returningedge.weight
.- Definition Classes
- FluentProperties
-
final
def
withMaxWeight[W](max: W, edgeWeight: (GraphTraversal.EdgeT) ⇒ W)(implicit arg0: Numeric[W]): This
Creates a new FluentProperties based on
this
except for an updatedmaxWeight
having the givenmax
value and the given weight function.Creates a new FluentProperties based on
this
except for an updatedmaxWeight
having the givenmax
value and the given weight function.- Definition Classes
- FluentProperties
-
def
withMaxWeight(maxWeight: Option[Weight]): This
Creates a new FluentProperties based on
this
except for an updatedmaxWeight
.Creates a new FluentProperties based on
this
except for an updatedmaxWeight
.- Definition Classes
- FluentProperties
-
final
def
withOrdering(ordering: GraphTraversal.ElemOrdering): This
Creates a new FluentProperties based on
this
except for an updatedordering
.Creates a new FluentProperties based on
this
except for an updatedordering
.- Definition Classes
- FluentProperties
-
final
def
withParameters(parameters: Parameters): This
Creates a new FluentProperties based on
this
except for an updatedparameters
.Creates a new FluentProperties based on
this
except for an updatedparameters
.- Definition Classes
- FluentProperties
-
final
def
withRoot(root: NodeT): This
Creates a new FluentProperties based on
this
except for an updatedroot
. -
final
def
withSubgraph(nodes: GraphTraversal.NodeFilter = anyNode, edges: GraphTraversal.EdgeFilter = anyEdge): This
Creates a new FluentProperties based on
this
except for an updatedsubgraphNodes
and/orsubgraphEdges
.Creates a new FluentProperties based on
this
except for an updatedsubgraphNodes
and/orsubgraphEdges
.- Definition Classes
- FluentProperties
-
def
~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to EdgeAssoc[TraverserMethods[A, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
-
def
~>[N >: N1](n2: N): DiEdge[N]
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to EdgeAssoc[TraverserMethods[A, This]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
-
def
→[B](y: B): (TraverserMethods[A, This], B)
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to ArrowAssoc[TraverserMethods[A, This]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from TraverserMethods[A, This] to OuterNode[TraverserMethods[A, This]] performed by method anyToNode in scalax.collection.GraphPredef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(traverserMethods: OuterNode[TraverserMethods[A, This]]).toString()
- Definition Classes
- NodeParam → AnyRef → Any
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.