final class Runner[U] extends AnyRef
Contains algorithms and local values to be used by the algorithms. Last target reusability and best possible run-time performance.
- Attributes
- protected
- Alphabetic
- By Inheritance
- Runner
- AnyRef
- Any
- by ChainingOps
- by EdgeAssoc
- by anyToNode
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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 This.Runner[U] toany2stringadd[This.Runner[U]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (This.Runner[U], B)
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toArrowAssoc[This.Runner[U]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(): Option[NodeT]
- Attributes
- protected[GraphTraversalImpl.Impl[A, This]]
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bfs(maybeHandle: Option[Handle] = None): Option[NodeT]
- Attributes
- protected[collection]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def dfs[U](maybeHandle: Option[Handle] = None): Option[NodeT]
- Attributes
- protected[collection]
- Annotations
- @inline()
- def dfsStack[U](nodeUpVisitor: (NodeT) => U = Visitor.empty, maybeHandle: Option[Handle] = None): (Option[NodeT], ArrayStack[Element])
- returns
(node stopped at, stack of ...)
- Attributes
- protected[collection]
- def dfsTarjan(maybeHandle: Option[Handle] = None, nodeUpVisitor: (NodeT) => U = Visitor.empty): Iterable[GraphTraversalImpl.Component]
- Attributes
- protected[collection]
- def dfsWGB(globalState: Array[Handle] = Array.empty[Handle], mustContain: Option[NodeT] = None): Option[(NodeT, ArrayStack[CycleStackElem])]
Tail-recursive white-gray-black DFS implementation for cycle detection.
Tail-recursive white-gray-black DFS implementation for cycle detection.
- Attributes
- protected[collection]
- def ensuring(cond: (This.Runner[U]) => Boolean, msg: => Any): This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEnsuring[This.Runner[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (This.Runner[U]) => Boolean): This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEnsuring[This.Runner[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEnsuring[This.Runner[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEnsuring[This.Runner[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- final def isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- def isIn: Boolean
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] 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 This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def isOut: Boolean
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- val n1: This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEdgeAssoc[This.Runner[U]] 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pipe[B](f: (This.Runner[U]) => B): B
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toChainingOps[This.Runner[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Product
- val self: This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toChainingOps[This.Runner[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def shortestPathTo[T](potentialSuccessor: NodeT, weight: (GraphTraversalImpl.EdgeT) => T)(implicit arg0: Numeric[T]): Option[GraphTraversalImpl.Path]
- Attributes
- protected[collection]
- def stringPrefix: String
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tap[U](f: (This.Runner[U]) => U): This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toChainingOps[This.Runner[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def toString(): String
- Definition Classes
- AnyRef → Any
- def topologicalSort(setup: TopoSortSetup, maybeHandle: Option[Handle] = None): GraphTraversalImpl.TopologicalSort
- Attributes
- protected[collection]
- val value: This.Runner[U]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- OuterNode → NodeParam
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def ~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toEdgeAssoc[This.Runner[U]] 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 This.Runner[U] toEdgeAssoc[This.Runner[U]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
Shadowed Implicit Value Members
- def toString(): String
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toOuterNode[This.Runner[U]] 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:(runner: OuterNode[This.Runner[U]]).toString()
- Definition Classes
- NodeParam → AnyRef → Any
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toStringFormat[This.Runner[U]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (This.Runner[U], B)
- Implicit
- This member is added by an implicit conversion from This.Runner[U] toArrowAssoc[This.Runner[U]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
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
.