abstract class OuterNodeTraverser extends TraverserMethods[N, OuterNodeTraverser] with Traverser[N, OuterNodeTraverser]
Controls the properties of outer-node graph traversals. To start a traversal call one of the graph traversal methods or any appropriate method inherited from scala.collection.Iterable on this instance.
- Alphabetic
- By Inheritance
- OuterNodeTraverser
- Traverser
- ForeachBasedDetachingIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- Properties
- SubgraphProperties
- TraverserMethods
- FluentProperties
- AnyRef
- Any
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OuterNodeTraverser()
Abstract Value Members
- abstract def apply[U](pred: GraphTraversal.NodePredicate = noNode, visitor: (N) => U = empty): Option[NodeT]
- Attributes
- protected
- Definition Classes
- TraverserMethods
- abstract def edgeVisitor[U](f: (N) => U): (GraphTraversal.EdgeT) => U
- Attributes
- protected
- Definition Classes
- TraverserMethods
- abstract def findCycle[U](implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- abstract def newTraverser: (NodeT, Parameters, GraphTraversal.NodePredicate, GraphTraversal.EdgePredicate, GraphTraversal.ElemOrdering, Option[Weight]) => OuterNodeTraverser
- Attributes
- protected
- Definition Classes
- FluentProperties
- abstract def nodeVisitor[U](f: (N) => U): (NodeT) => U
- Attributes
- protected
- Definition Classes
- TraverserMethods
- abstract def ordering: GraphTraversal.ElemOrdering
If a
NodeOrdering
orEdgeOrdering
different fromNoOrdering
is supplied neighbor nodes will visited during the traversal according to this ordering.If a
NodeOrdering
orEdgeOrdering
different fromNoOrdering
is supplied neighbor nodes will visited during the traversal according to this ordering.- Definition Classes
- Properties
- abstract def parameters: Parameters
The properties controlling subsequent traversals.
The properties controlling subsequent traversals.
- Definition Classes
- Properties
- abstract def partOfCycle[U](implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- abstract def pathUntil[U](pred: GraphTraversal.NodePredicate)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- abstract def root: NodeT
The node where subsequent graph traversals start.
The node where subsequent graph traversals start.
- Definition Classes
- Properties
- abstract def shortestPathTo[T, U](potentialSuccessor: NodeT, weight: (GraphTraversal.EdgeT) => T, visitor: (N) => 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
- Definition Classes
- TraverserMethods
- abstract def strongComponents[U](implicit visitor: (N) => 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.
- Definition Classes
- TraverserMethods
- abstract def subgraphEdges: GraphTraversal.EdgePredicate
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
- abstract def subgraphNodes: GraphTraversal.NodePredicate
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
- abstract def topologicalSort[U](ignorePredecessors: Boolean = false)(implicit visitor: (GraphTraversal.InnerElem) => U = empty): TopologicalSort
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.
- Definition Classes
- TraverserMethods
- abstract def weakComponent[U](implicit visitor: (N) => 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.
- Definition Classes
- TraverserMethods
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 OuterNodeTraverser toany2stringadd[OuterNodeTraverser] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- final def ++[B >: N](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def ->[B](y: B): (OuterNodeTraverser, B)
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toArrowAssoc[OuterNodeTraverser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def addString(b: StringBuilder): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autarkicForeach[U](f: (N) => U): Unit
- Attributes
- protected
- Definition Classes
- Traverser → ForeachBasedDetachingIterable
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def coll: OuterNodeTraverser.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- final def collect[B](pf: PartialFunction[N, B]): Iterable[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- final def collectFirst[B](pf: PartialFunction[N, B]): Option[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- def concat[B >: N](suffix: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- def copyToArray[B >: N](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: N](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: N](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: IterableOnce[B])(p: (N, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- final def count(p: (N) => Boolean): Int
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def drop(n: Int): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- Annotations
- @inline()
- def dropRight(n: Int): Iterable[N]
- Definition Classes
- IterableOps
- final def dropWhile(p: (N) => Boolean): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def empty: Iterable[N]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def ensuring(cond: (OuterNodeTraverser) => Boolean, msg: => Any): OuterNodeTraverser
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toEnsuring[OuterNodeTraverser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (OuterNodeTraverser) => Boolean): OuterNodeTraverser
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toEnsuring[OuterNodeTraverser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): OuterNodeTraverser
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toEnsuring[OuterNodeTraverser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): OuterNodeTraverser
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toEnsuring[OuterNodeTraverser] 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 exists(p: (N) => Boolean): Boolean
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def filter(p: (N) => Boolean): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- Annotations
- @inline()
- final def filterNot(p: (N) => Boolean): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- Annotations
- @inline()
- final def find(p: (N) => Boolean): Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def findConnected[U](pred: GraphTraversal.NodePredicate)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- final def findPredecessor[U](pred: GraphTraversal.NodePredicate)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- final def findSuccessor[U](pred: GraphTraversal.NodePredicate)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- final def flatMap[B](f: (N) => IterableOnce[B]): Iterable[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (N) => IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: N](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- final def foldLeft[B](z: B)(op: (B, N) => B): B
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- def foldRight[B](z: B)(op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- final def forall(p: (N) => Boolean): Boolean
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def foreach[U](f: (N) => U): Unit
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- def fromSpecific(coll: IterableOnce[N]): Iterable[N]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupBy[K](f: (N) => K): Map[K, Iterable[N]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (N) => K)(f: (N) => B): Map[K, Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (N) => K)(f: (N) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- final def hasPredecessor[U](potentialPredecessor: NodeT)(implicit visitor: (N) => 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.
- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- final def hasSuccessor[U](potentialSuccessor: NodeT)(implicit visitor: (N) => 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.
- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def head: N
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps
- final def headOption: Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps
- def init: Iterable[N]
- Definition Classes
- IterableOps
- def inits: Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- final def isConnectedWith[U](potentialConnected: NodeT)(implicit visitor: (N) => 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.
- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- final def isEmpty: Boolean
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isPredecessorOf[U](potentialSuccessor: NodeT)(implicit visitor: (N) => U = empty): Boolean
Same as
hasSuccessor
.Same as
hasSuccessor
.- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- final def isSuccessorOf[U](potentialPredecessor: NodeT)(implicit visitor: (N) => U = empty): Boolean
Same as
hasPredecessor
.Same as
hasPredecessor
.- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[Vector]
- Definition Classes
- ForeachBasedDetachingIterable → Iterable → IterableOps
- def iterator: Iterator[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnce
- def knownSize: Int
- Definition Classes
- IterableOnce
- def last: N
- Definition Classes
- IterableOps
- def lastOption: Option[N]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[N, B, OuterNodeTraverser.this.type]
- Definition Classes
- Iterable
- final def map[B](f: (N) => B): Iterable[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- final def max[B >: N](implicit ord: Ordering[B]): N
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def maxBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def maxByOption[B](f: (N) => B)(implicit cmp: Ordering[B]): Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def maxOption[B >: N](implicit ord: Ordering[B]): Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- def maxWeight: Option[Weight]
An optional maximum weight that limits the scope of the traversal or search.
An optional maximum weight that limits the scope of the traversal or search. If defined and the sum of edge weights between the root of the traversal and a node exceeds the given maximum, that node will no more be visited.
- Definition Classes
- Properties
- final def min[B >: N](implicit ord: Ordering[B]): N
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def minBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def minByOption[B](f: (N) => B)(implicit cmp: Ordering[B]): Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def minOption[B >: N](implicit ord: Ordering[B]): Option[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[N, Iterable[N]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def nonOverflowingOrderMultipliedBy_2: Int
- Attributes
- protected
- Definition Classes
- Traverser
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def partition(p: (N) => Boolean): (Iterable[N], Iterable[N])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (N) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- final def pathTo[U](potentialSuccessor: NodeT)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- final def product[B >: N](implicit num: Numeric[B]): B
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def reduce[B >: N](op: (B, B) => B): B
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def reduceLeft[B >: N](op: (B, N) => B): B
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- final def reduceLeftOption[B >: N](op: (B, N) => B): Option[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def reduceOption[B >: N](op: (B, B) => B): Option[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- def reduceRight[B >: N](op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: N](op: (N, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- final def requireSuccessors[A](block: => A): A
- Attributes
- protected
- Definition Classes
- TraverserMethods
- def reversed: Iterable[N]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: N](z: B)(op: (B, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- final def scanLeft[B](z: B)(op: (B, N) => B): CC[B]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (N, B) => B): Iterable[B]
- Definition Classes
- IterableOps
- 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
- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- final def shortestPathTo[U](potentialSuccessor: NodeT)(implicit visitor: (N) => 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
- Definition Classes
- TraverserMethods
- Annotations
- @inline()
- final def size: Int
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeHint: Int
- Attributes
- protected
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def slice(from: Int, until: Int): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- final def span(p: (N) => Boolean): (CC[N], CC[N])
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- final def splitAt(n: Int): (CC[N], CC[N])
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[N, S]): S
- Definition Classes
- IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- Annotations
- @deprecatedOverriding()
- final def sum[B >: N](implicit num: Numeric[B]): B
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: Iterable[N]
- Definition Classes
- IterableOps
- def tails: Iterator[Iterable[N]]
- Definition Classes
- IterableOps
- final def take(n: Int): Iterable[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def takeRight(n: Int): Iterable[N]
- Definition Classes
- IterableOps
- final def takeWhile(p: (N) => Boolean): CC[N]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
- def tapEach[U](f: (N) => U): Iterable[N]
- Definition Classes
- IterableOps → IterableOnceOps
- final def to[CC[N, E <: Edge[N]] <: AnyGraph[N, E] with GraphLike[N, E, CC]](factory: GenericGraphCoreFactory[CC]): CC[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
- final def to[C1](factory: Factory[N, C1]): C1
- Definition Classes
- ForeachBasedDetachingIterable → IterableOnceOps
- def toArray[B >: N](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: N]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: IndexedSeq[N]
- Definition Classes
- IterableOnceOps
- final def toInnerElemTraverser(root: NodeT): InnerElemTraverser
- Definition Classes
- FluentProperties
- def toList: List[N]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[N, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: Seq[N]
- Definition Classes
- IterableOnceOps
- def toSet[B >: N]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Iterable → AnyRef → Any
- def toVector: Vector[N]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (N) => Iterable[B]): Iterable[Iterable[B]]
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (N) => (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (N) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- IterableOps
- def view: View[N]
- Definition Classes
- IterableOps
- 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])
- final def withDirection(direction: Direction): OuterNodeTraverser
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
- def withFilter(p: (N) => Boolean): WithFilter[N, Iterable]
- Definition Classes
- IterableOps
- final def withKind(kind: Kind): OuterNodeTraverser
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): OuterNodeTraverser
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): OuterNodeTraverser
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]): OuterNodeTraverser
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]): OuterNodeTraverser
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): OuterNodeTraverser
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): OuterNodeTraverser
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): OuterNodeTraverser
Creates a new FluentProperties based on
this
except for an updatedroot
.Creates a new FluentProperties based on
this
except for an updatedroot
.- Definition Classes
- TraverserMethods
- final def withSubgraph(nodes: GraphTraversal.NodePredicate = anyNode, edges: GraphTraversal.EdgePredicate = anyEdge): OuterNodeTraverser
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 zip[B](that: IterableOnce[B]): Iterable[(N, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: N, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
- Definition Classes
- IterableOps
- final def zipWithIndex: CC[(N, Int)]
- Definition Classes
- ForeachBasedDetachingIterable → IterableOps → IterableOnceOps
Deprecated Value Members
- def ++:[B >: N](that: IterableOnce[B]): Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def /:[B](z: B)(op: (B, N) => B): B
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N])./:(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- final def /:[B](z: B)(op: (B, N) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- def :\[B](z: B)(op: (N, B) => B): B
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).:\(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- final def :\[B](z: B)(op: (N, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, N) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def collectFirst[B](f: PartialFunction[N, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).collectFirst(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.collectFirst(...) instead
- def companion: IterableFactory[Iterable]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def copyToBuffer(dest: Buffer[N]): Unit
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).copyToBuffer(dest)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.copyToBuffer(...) instead
- final def copyToBuffer[B >: N](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def count(f: (N) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).count(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.count(...) instead
- def exists(f: (N) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).exists(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.exists(...) instead
- def filter(f: (N) => Boolean): Iterator[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).filter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.filter(...) instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def find(p: (N) => Boolean): Option[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).find(p)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.find instead
- def flatMap[B](f: (N) => IterableOnce[B]): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).flatMap(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).fold(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.fold instead
- def foldLeft[B](z: B)(op: (B, N) => B): B
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).foldLeft(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- def foldRight[B](z: B)(op: (N, B) => B): B
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).foldRight(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- def forall(f: (N) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).forall(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.forall(...) instead
- def foreach[U](f: (N) => U): Unit
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).foreach(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foreach(...) instead
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toStringFormat[OuterNodeTraverser] 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 hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).isEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.isEmpty instead
- def map[B](f: (N) => B): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).map(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable
- def max(implicit ord: Ordering[N]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).max(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.max instead
- def maxBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.maxBy(...) instead
- def min(implicit ord: Ordering[N]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).min(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.min instead
- def minBy[B](f: (N) => B)(implicit cmp: Ordering[B]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).minBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.minBy(...) instead
- def mkString: String
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).mkString
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).mkString(sep)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).mkString(start, sep, end)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).nonEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.nonEmpty instead
- def product(implicit num: Numeric[N]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).product(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.product instead
- def reduce(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduce(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduce(...) instead
- def reduceLeft(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduceLeft(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeft(...) instead
- def reduceLeftOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduceLeftOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead
- def reduceOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduceOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceOption(...) instead
- def reduceRight(f: (N, N) => N): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduceRight(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRight(...) instead
- def reduceRightOption(f: (N, N) => N): Option[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).reduceRightOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRightOption(...) instead
- final def repr: Iterable[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def sameElements[B >: A](that: IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sameElements instead
- def seq: OuterNodeTraverser.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def size: Int
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).size
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.size instead
- def sum(implicit num: Numeric[N]): N
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).sum(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sum instead
- def to[C1](factory: Factory[N, C1]): C1
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).to(factory)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(factory) instead
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toArray(arg0)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toArray
- def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toBuffer
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead
- def toIndexedSeq: IndexedSeq[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toIndexedSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toIndexedSeq instead
- final def toIterable: Iterable[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toIterable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toIterable: OuterNodeTraverser.this.type
- Definition Classes
- Iterable → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toIterator: Iterator[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toIterator
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead
- final def toIterator: Iterator[N]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- def toList: List[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toList
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(List) instead
- def toMap[K, V](implicit ev: <:<[N, (K, V)]): Map[K, V]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toMap(ev)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(Map) instead
- def toSeq: Seq[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Seq) instead
- def toSet[B >: A]: Set[B]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toSet
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Set) instead
- def toStream: Stream[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toStream
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(LazyList) instead
- final def toStream: Stream[N]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toTraversable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toTraversable: Traversable[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- def toVector: Vector[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).toVector
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Vector) instead
- def view(from: Int, until: Int): View[N]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def withFilter(f: (N) => Boolean): Iterator[N]
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toIterableOnceExtensionMethods[N] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- 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:(outerNodeTraverser: IterableOnceExtensionMethods[N]).withFilter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.withFilter(...) instead
- def →[B](y: B): (OuterNodeTraverser, B)
- Implicit
- This member is added by an implicit conversion from OuterNodeTraverser toArrowAssoc[OuterNodeTraverser] 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 entry points:
AnyGraph
immutable.Graph
and its inner nodesmutable.Graph
and its inner nodes.edges
package and its subpackageshyperedges
package and its subpackages.labeled edges
packagemultilabeled edges
packagelabeled hyperedges
packagemultilabeled hyperedges
packageordered labeled hyperedges
packageordered multilabeled hyperedges
objectgeneric
package.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.