scalax.collection.GraphTraversal

InnerNodeTraverser

abstract class InnerNodeTraverser extends TraverserMethods[NodeT, InnerNodeTraverser] with Traverser[NodeT, InnerNodeTraverser]

Controls the properties of inner-node graph traversals. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Traversable on this instance.

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InnerNodeTraverser
  2. Traverser
  3. Traversable
  4. GenTraversable
  5. GenericTraversableTemplate
  6. TraversableLike
  7. GenTraversableLike
  8. Parallelizable
  9. TraversableOnce
  10. GenTraversableOnce
  11. FilterMonadic
  12. HasNewBuilder
  13. Properties
  14. SubgraphProperties
  15. TraverserMethods
  16. FluentProperties
  17. AnyRef
  18. Any
Implicitly
  1. by anyToNode
  2. by traversable2ops
  3. by MonadOps
  4. by flattenTraversableOnce
  5. by EdgeAssoc
  6. by any2stringadd
  7. by any2stringfmt
  8. by any2ArrowAssoc
  9. by any2Ensuring
  10. by alternateImplicit
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InnerNodeTraverser()

Type Members

  1. type Self = Traversable[NodeT]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def apply[U](pred: (NodeT) ⇒ Boolean = noNode, visitor: (NodeT) ⇒ U = empty): Option[NodeT]

    Attributes
    protected
    Definition Classes
    TraverserMethods
  2. abstract def edgeVisitor[U](f: (NodeT) ⇒ U): (GraphTraversal.EdgeT) ⇒ U

    Attributes
    protected
    Definition Classes
    TraverserMethods
  3. abstract def findCycle[U](implicit visitor: (NodeT) ⇒ U = empty): Option[Cycle]

    Finds a cycle starting the search at root taking optional properties like subgraph restriction, ordering or maximum depth into account.

    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 with this 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

    1. there exists no cycle in the component depicting by root or
    2. there exists a cycle in the component but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  4. abstract def newTraverser: (NodeT, Parameters, (NodeT) ⇒ Boolean, (GraphTraversal.EdgeT) ⇒ Boolean, GraphTraversal.ElemOrdering) ⇒ InnerNodeTraverser

    Attributes
    protected
    Definition Classes
    FluentProperties
  5. abstract def nodeVisitor[U](f: (NodeT) ⇒ U): (NodeT) ⇒ U

    Attributes
    protected
    Definition Classes
    TraverserMethods
  6. abstract def ordering: GraphTraversal.ElemOrdering

    If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied neighbor nodes will visited during the traversal according to this ordering.

    If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied neighbor nodes will visited during the traversal according to this ordering.

    Definition Classes
    Properties
  7. abstract def parameters: Parameters

    The properties controlling subsequent traversals.

    The properties controlling subsequent traversals.

    Definition Classes
    Properties
  8. abstract def pathUntil[U](pred: (NodeT) ⇒ Boolean)(implicit visitor: (NodeT) ⇒ U = empty): Option[Path]

    Finds a path from root to a successor of root for which pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds a path from root to a successor of root for which pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* 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 or None if either

    1. there is no node with pred or
    2. there exists no path to such a node or
    3. there exists a path to such a node but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  9. abstract def root: NodeT

    The node where subsequent graph traversals start.

    The node where subsequent graph traversals start.

    Definition Classes
    Properties
  10. abstract def shortestPathTo[T, U](potentialSuccessor: NodeT, weight: (GraphTraversal.EdgeT) ⇒ T, visitor: (NodeT) ⇒ U)(implicit arg0: Numeric[T]): Option[Path]

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. The calculation is based on the weight of the edges on the path. Edges have a default weight of 1L that can be overridden by custom edges. A weight function yielding any numeric type may also be passed to shortestPathTo.

    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 or None if either

    1. there exists no path to potentialSuccessor or
    2. there exists a path to potentialSuccessor but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  11. abstract def subgraphEdges: (GraphTraversal.EdgeT) ⇒ Boolean

    Restricts subsequent graph traversals to walk only along edges that hold this predicate.

    Restricts subsequent graph traversals to walk only along edges that hold this predicate.

    Definition Classes
    SubgraphProperties
  12. abstract def subgraphNodes: (NodeT) ⇒ Boolean

    Restricts subsequent graph traversals to visit only nodes holding this predicate.

    Restricts subsequent graph traversals to visit only nodes holding this predicate.

    Definition Classes
    SubgraphProperties
  13. abstract def topologicalSort[U](ignorePredecessors: Boolean = false)(implicit visitor: (GraphTraversal.InnerElem) ⇒ U = empty): CycleNodeOrTopologicalOrder

    Sorts the component designated by the given node topologically.

    Sorts the component designated by the given 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 of FluentProperties.

    ignorePredecessors

    If true, the topological sort will be partial in that it will only include successors of root. 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.

    Definition Classes
    TraverserMethods

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ++[B >: NodeT, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: NodeT, That](that: Traversable[B])(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++:[B >: NodeT, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike
  8. def ->[B](y: B): (InnerNodeTraverser, B)

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to ArrowAssoc[InnerNodeTraverser] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. def /:[B](z: B)(op: (B, NodeT) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :\[B](z: B)(op: (NodeT, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  13. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  16. def aggregate[B](z: B)(seqop: (B, NodeT) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def asParIterable: ParIterable[NodeT]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  19. def asParSeq: ParSeq[NodeT]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def collect[B, That](pf: PartialFunction[NodeT, B])(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  22. def collectFirst[B](pf: PartialFunction[NodeT, B]): Option[B]

    Definition Classes
    TraversableOnce
  23. def companion: GenericCompanion[Traversable]

    Definition Classes
    Traversable → GenTraversable → GenericTraversableTemplate
  24. def copyToArray[B >: NodeT](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  25. def copyToArray[B >: NodeT](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def copyToArray[B >: NodeT](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def copyToBuffer[B >: NodeT](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  28. def count(p: (NodeT) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  29. def drop(n: Int): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  30. def dropWhile(p: (NodeT) ⇒ Boolean): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  31. def ensuring(cond: (InnerNodeTraverser) ⇒ Boolean, msg: ⇒ Any): InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to Ensuring[InnerNodeTraverser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: (InnerNodeTraverser) ⇒ Boolean): InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to Ensuring[InnerNodeTraverser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: Boolean, msg: ⇒ Any): InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to Ensuring[InnerNodeTraverser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. def ensuring(cond: Boolean): InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to Ensuring[InnerNodeTraverser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  35. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  37. def exists(p: (NodeT) ⇒ Boolean): Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  38. def filter(p: (NodeT) ⇒ Boolean): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  39. def filterNot(p: (NodeT) ⇒ Boolean): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  40. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  41. def find(p: (NodeT) ⇒ Boolean): Option[NodeT]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  42. final def findConnected[U](pred: (NodeT) ⇒ Boolean)(implicit visitor: (NodeT) ⇒ U = empty): Option[NodeT]

    Finds a node connected with root by any number of edges with any direction for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds a node connected with root by any number of edges with any direction for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. For directed or mixed graphs the node to be found is weekly 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 with pred 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 or None if either

    1. there is no node with pred or
    2. there exists no connection to such a node or
    3. there exists a connection to such a node but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  43. final def findPredecessor[U](pred: (NodeT) ⇒ Boolean)(implicit visitor: (NodeT) ⇒ U = empty): Option[NodeT]

    Finds a predecessor of root for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds a predecessor of root for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* 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 or None if either

    1. there is no node with pred or
    2. there exists no path from such a node to this node or
    3. there exists a path from such a node to root but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  44. final def findSuccessor[U](pred: (NodeT) ⇒ Boolean)(implicit visitor: (NodeT) ⇒ U = empty): Option[NodeT]

    Finds a successor of root for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds a successor of root for which the predicate pred holds considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. root itself does not count as a match. This is also true if it has a hook. If several successors holding pred 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 or None if either

    1. there is no node with pred or
    2. there exists no path to such a node or
    3. there exists a path to such a node but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
  45. def flatMap[B, That](f: (NodeT) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  46. def flatten[B](implicit asTraversable: (NodeT) ⇒ GenTraversableOnce[B]): Traversable[B]

    Definition Classes
    GenericTraversableTemplate
  47. def fold[A1 >: NodeT](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  48. def foldLeft[B](z: B)(op: (B, NodeT) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def foldRight[B](z: B)(op: (NodeT, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  50. def forall(p: (NodeT) ⇒ Boolean): Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  51. def foreach[U](f: (NodeT) ⇒ U): Unit

    Definition Classes
    Traverser → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  52. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  53. def genericBuilder[B]: Builder[B, Traversable[B]]

    Definition Classes
    GenericTraversableTemplate
  54. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  55. def groupBy[K](f: (NodeT) ⇒ K): Map[K, Traversable[NodeT]]

    Definition Classes
    TraversableLike → GenTraversableLike
  56. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  57. final def hasPredecessor[U](potentialPredecessor: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Boolean

    Checks whether potentialPredecessor is a predecessor of root considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Checks whether potentialPredecessor is a predecessor of root considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. Same as isSuccessorOf.

    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 from potentialPredecessor to root and it had not to be excluded due to subgraph properties.

    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  58. final def hasSuccessor[U](potentialSuccessor: NodeT)(implicit visitor: (NodeT) ⇒ 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 any with* 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 any with* method. Same as isPredecessorOf.

    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 to potentialSuccessor and it had not to be excluded due to a subgraph* restriction.

    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  59. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  60. def head: NodeT

    Definition Classes
    TraversableLike → GenTraversableLike
  61. def headOption: Option[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  62. def ifParSeq[R](isbody: (ParSeq[NodeT]) ⇒ R): (TraversableOps[NodeT])#Otherwise[R]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  63. def init: Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  64. def inits: Iterator[Traversable[NodeT]]

    Definition Classes
    TraversableLike
  65. final def isConnectedWith[U](potentialConnected: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Boolean

    Checks whether potentialConnected is a node (not necessarily directly) connected with root 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 any with* method.

    Checks whether potentialConnected is a node (not necessarily directly) connected with root 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 any with* method. For directed or mixed graphs it is satisfactory that potentialConnected is weekly connected with root.

    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 to potentialConnected and it had not to be excluded due to subgraph properties.

    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  66. def isDefined: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  67. def isEdge: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  68. def isEmpty: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  69. def isIn: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParamParam
  70. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  71. def isNode: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  72. def isOut: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParamParam
  73. def isParIterable: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  74. def isParSeq: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  75. def isParallel: Boolean

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  76. final def isPredecessorOf[U](potentialSuccessor: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Boolean

    Same as hasSuccessor.

    Same as hasSuccessor.

    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  77. final def isSuccessorOf[U](potentialPredecessor: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Boolean

    Same as hasPredecessor.

    Same as hasPredecessor.

    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  78. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  79. def last: NodeT

    Definition Classes
    TraversableLike → GenTraversableLike
  80. def lastOption: Option[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  81. def map[B, That](f: (NodeT) ⇒ B)(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  82. def max[B >: NodeT](implicit cmp: Ordering[B]): NodeT

    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def maxBy[B](f: (NodeT) ⇒ B)(implicit cmp: Ordering[B]): NodeT

    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def min[B >: NodeT](implicit cmp: Ordering[B]): NodeT

    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def minBy[B](f: (NodeT) ⇒ B)(implicit cmp: Ordering[B]): NodeT

    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. val n1: InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to EdgeAssoc[InnerNodeTraverser] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
  90. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  91. def newBuilder: Builder[NodeT, Traversable[NodeT]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  92. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. final def notify(): Unit

    Definition Classes
    AnyRef
  94. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  95. def par: ParIterable[NodeT]

    Definition Classes
    Parallelizable
  96. def parCombiner: Combiner[NodeT, ParIterable[NodeT]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  97. def partition(p: (NodeT) ⇒ Boolean): (Traversable[NodeT], Traversable[NodeT])

    Definition Classes
    TraversableLike → GenTraversableLike
  98. final def pathTo[U](potentialSuccessor: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Option[Path]

    Finds a path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds a path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* 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 or None if either

    1. there is no node with pred or
    2. there exists no path to such a node
    Definition Classes
    TraverserMethods
  99. def product[B >: NodeT](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def reduce[A1 >: NodeT](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def reduceLeft[B >: NodeT](op: (B, NodeT) ⇒ B): B

    Definition Classes
    TraversableOnce
  102. def reduceLeftOption[B >: NodeT](op: (B, NodeT) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def reduceOption[A1 >: NodeT](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def reduceRight[B >: NodeT](op: (NodeT, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def reduceRightOption[B >: NodeT](op: (NodeT, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def repr: Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  107. def reversed: List[NodeT]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  108. def scan[B >: NodeT, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  109. def scanLeft[B, That](z: B)(op: (B, NodeT) ⇒ B)(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  110. def scanRight[B, That](z: B)(op: (NodeT, B) ⇒ B)(implicit bf: CanBuildFrom[Traversable[NodeT], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  111. def seq: Traversable[NodeT]

    Definition Classes
    Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  112. final def shortestPathTo[T](potentialSuccessor: NodeT, weight: (GraphTraversal.EdgeT) ⇒ T)(implicit arg0: Numeric[T]): Option[Path]

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. The calculation is based on the weight of the edges on the path. Edges have a default weight of 1L that can be overridden by custom edges. A weight function yielding any numeric type may also be passed to shortestPathTo.

    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 or None if either

    1. there exists no path to potentialSuccessor or
    2. there exists a path to potentialSuccessor but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  113. final def shortestPathTo[U](potentialSuccessor: NodeT)(implicit visitor: (NodeT) ⇒ U = empty): Option[Path]

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method.

    Finds the shortest path from root to potentialSuccessor considering all traversal properties passed to the traverser factory method like scalax.collection.GraphTraversal#innerNodeTraverser or altered by any with* method. The calculation is based on the weight of the edges on the path. Edges have a default weight of 1L that can be overridden by custom edges. A weight function yielding any numeric type may also be passed to shortestPathTo.

    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 or None if either

    1. there exists no path to potentialSuccessor or
    2. there exists a path to potentialSuccessor but due to withSubgraph settings this path was out of scope.
    Definition Classes
    TraverserMethods
    Annotations
    @inline()
  114. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def slice(from: Int, until: Int): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  116. def span(p: (NodeT) ⇒ Boolean): (Traversable[NodeT], Traversable[NodeT])

    Definition Classes
    TraversableLike → GenTraversableLike
  117. def splitAt(n: Int): (Traversable[NodeT], Traversable[NodeT])

    Definition Classes
    TraversableLike → GenTraversableLike
  118. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  119. def sum[B >: NodeT](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  121. def tail: Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  122. def tails: Iterator[Traversable[NodeT]]

    Definition Classes
    TraversableLike
  123. def take(n: Int): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  124. def takeWhile(p: (NodeT) ⇒ Boolean): Traversable[NodeT]

    Definition Classes
    TraversableLike → GenTraversableLike
  125. def thisCollection: Traversable[NodeT]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  126. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, NodeT, Col[NodeT]]): Col[NodeT]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  127. def toArray[B >: NodeT](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toBuffer[B >: NodeT]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. def toCollection(repr: Traversable[NodeT]): Traversable[NodeT]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  130. final def toGraph: Graph[N, E]

    Completes a traversal and creates a new connected graph populated with the elements visited.

    Completes a traversal and creates a new connected graph populated with the elements visited.

    Definition Classes
    Traverser
  131. def toIndexedSeq: IndexedSeq[NodeT]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  132. final def toInnerElemTraverser(root: NodeT): InnerElemTraverser

    Definition Classes
    FluentProperties
  133. def toIterable: Iterable[NodeT]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def toIterator: Iterator[NodeT]

    Definition Classes
    TraversableLike → GenTraversableOnce
  135. def toList: List[NodeT]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def toMap[T, U](implicit ev: <:<[NodeT, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def toParArray: ParArray[NodeT]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to TraversableOps[NodeT] performed by method traversable2ops in scala.collection.parallel.
    Definition Classes
    TraversableOps
  138. def toSeq: Seq[NodeT]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def toSet[B >: NodeT]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  140. def toStream: Stream[NodeT]

    Definition Classes
    TraversableLike → GenTraversableOnce
  141. def toString(): String

    Definition Classes
    TraversableLike → Any
  142. def toTraversable: Traversable[NodeT]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  143. def toVector: Vector[NodeT]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  144. def transpose[B](implicit asTraversable: (NodeT) ⇒ GenTraversableOnce[B]): Traversable[Traversable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  145. def unzip[A1, A2](implicit asPair: (NodeT) ⇒ (A1, A2)): (Traversable[A1], Traversable[A2])

    Definition Classes
    GenericTraversableTemplate
  146. def unzip3[A1, A2, A3](implicit asTriple: (NodeT) ⇒ (A1, A2, A3)): (Traversable[A1], Traversable[A2], Traversable[A3])

    Definition Classes
    GenericTraversableTemplate
  147. val value: InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNodeNodeParam
  148. def view(from: Int, until: Int): TraversableView[NodeT, Traversable[NodeT]]

    Definition Classes
    TraversableLike
  149. def view: TraversableView[NodeT, Traversable[NodeT]]

    Definition Classes
    TraversableLike
  150. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  152. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. final def withDirection(direction: Direction): InnerNodeTraverser

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

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

    Definition Classes
    FluentProperties
  154. def withFilter(p: (NodeT) ⇒ Boolean): FilterMonadic[NodeT, Traversable[NodeT]]

    Definition Classes
    TraversableLike → FilterMonadic
  155. final def withKind(kind: Kind): InnerNodeTraverser

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

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

    Definition Classes
    FluentProperties
  156. final def withMaxDepth(maxDepth: Int): InnerNodeTraverser

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

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

    Definition Classes
    FluentProperties
  157. final def withOrdering(ordering: GraphTraversal.ElemOrdering): InnerNodeTraverser

    Creates a new FluentProperties based on this except for an updated ordering.

    Creates a new FluentProperties based on this except for an updated ordering.

    Definition Classes
    FluentProperties
  158. final def withParameters(parameters: Parameters): InnerNodeTraverser

    Creates a new FluentProperties based on this except for an updated parameters.

    Creates a new FluentProperties based on this except for an updated parameters.

    Definition Classes
    FluentProperties
  159. final def withRoot(root: NodeT): InnerNodeTraverser

    Creates a new FluentProperties based on this except for an updated root.

    Creates a new FluentProperties based on this except for an updated root.

    Definition Classes
    TraverserMethods
  160. final def withSubgraph(nodes: (NodeT) ⇒ Boolean = anyNode, edges: (GraphTraversal.EdgeT) ⇒ Boolean = anyEdge): InnerNodeTraverser

    Creates a new FluentProperties based on this except for an updated subgraphNodes and/or subgraphEdges.

    Creates a new FluentProperties based on this except for an updated subgraphNodes and/or subgraphEdges.

    Definition Classes
    FluentProperties
  161. def ~[N >: N1](n2: N): UnDiEdge[N]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to EdgeAssoc[InnerNodeTraverser] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  162. def ~>[N >: N1](n2: N): DiEdge[N]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to EdgeAssoc[InnerNodeTraverser] performed by method EdgeAssoc in scalax.collection.GraphPredef.
    Definition Classes
    EdgeAssoc
    Annotations
    @inline()
  163. def [B](y: B): (InnerNodeTraverser, B)

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to ArrowAssoc[InnerNodeTraverser] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def filter(p: (NodeT) ⇒ Boolean): TraversableOnce[NodeT]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to MonadOps[NodeT] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (innerNodeTraverser: MonadOps[NodeT]).filter(p)
    Definition Classes
    MonadOps
  2. def flatMap[B](f: (NodeT) ⇒ GenTraversableOnce[B]): TraversableOnce[B]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to MonadOps[NodeT] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (innerNodeTraverser: MonadOps[NodeT]).flatMap(f)
    Definition Classes
    MonadOps
  3. def flatten: Iterator[N]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to FlattenOps[N] performed by method flattenTraversableOnce in scala.collection.TraversableOnce. This conversion will take place only if an implicit value of type (InnerNodeParam[N]) ⇒ TraversableOnce[N] is in scope.
    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:
    (innerNodeTraverser: FlattenOps[N]).flatten
    Definition Classes
    FlattenOps
  4. def map[B](f: (NodeT) ⇒ B): TraversableOnce[B]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to MonadOps[NodeT] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (innerNodeTraverser: MonadOps[NodeT]).map(f)
    Definition Classes
    MonadOps
  5. val self: Any

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (innerNodeTraverser: StringAdd).self
    Definition Classes
    StringAdd
  6. val self: Any

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (innerNodeTraverser: StringFormat).self
    Definition Classes
    StringFormat
  7. def stringPrefix: String

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] 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:
    (innerNodeTraverser: OuterNode[InnerNodeTraverser]).stringPrefix
    Definition Classes
    NodeParam
  8. def toString(): String

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to OuterNode[InnerNodeTraverser] 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:
    (innerNodeTraverser: OuterNode[InnerNodeTraverser]).toString()
    Definition Classes
    NodeParam → AnyRef → Any
  9. def withFilter(p: (NodeT) ⇒ Boolean): Iterator[NodeT]

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to MonadOps[NodeT] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (innerNodeTraverser: MonadOps[NodeT]).withFilter(p)
    Definition Classes
    MonadOps

Deprecated Value Members

  1. def /:\[A1 >: NodeT](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

  2. def x: InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to ArrowAssoc[InnerNodeTraverser] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (innerNodeTraverser: ArrowAssoc[InnerNodeTraverser]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: InnerNodeTraverser

    Implicit information
    This member is added by an implicit conversion from InnerNodeTraverser to Ensuring[InnerNodeTraverser] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (innerNodeTraverser: Ensuring[InnerNodeTraverser]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Traversable[NodeT]

Inherited from GenTraversable[NodeT]

Inherited from TraversableOnce[NodeT]

Inherited from GenTraversableOnce[NodeT]

Inherited from FilterMonadic[NodeT, Traversable[NodeT]]

Inherited from HasNewBuilder[NodeT, Traversable[NodeT]]

Inherited from Properties

Inherited from SubgraphProperties

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion anyToNode from InnerNodeTraverser to OuterNode[InnerNodeTraverser]

Inherited by implicit conversion traversable2ops from InnerNodeTraverser to TraversableOps[NodeT]

Inherited by implicit conversion MonadOps from InnerNodeTraverser to MonadOps[NodeT]

Inherited by implicit conversion flattenTraversableOnce from InnerNodeTraverser to FlattenOps[N]

Inherited by implicit conversion EdgeAssoc from InnerNodeTraverser to EdgeAssoc[InnerNodeTraverser]

Inherited by implicit conversion any2stringadd from InnerNodeTraverser to StringAdd

Inherited by implicit conversion any2stringfmt from InnerNodeTraverser to StringFormat

Inherited by implicit conversion any2ArrowAssoc from InnerNodeTraverser to ArrowAssoc[InnerNodeTraverser]

Inherited by implicit conversion any2Ensuring from InnerNodeTraverser to Ensuring[InnerNodeTraverser]

Inherited by implicit conversion alternateImplicit from InnerNodeTraverser to ForceImplicitAmbiguity

Ungrouped