trait ExtendedNodeVisitor[U] extends (NodeT) => U
Template for extended node visitors.
While the default node visitor of the type NodeT => U
passes solely the inner node being visited, extended node visitors
pass the following traversal state information:
- the inner node currently visited as with a standard node visitor
- the number of nodes visited so far and
- the current depth in terms of the underlying algorithm and
- a reference to a specific informer that may be pattern matched to collect even further data specific to the implementation.
- Alphabetic
- By Inheritance
- ExtendedNodeVisitor
- Function1
- AnyRef
- Any
- by UnliftOps
- by EdgeAssoc
- by predicateToNodePredicate
- by anyToNode
- by ChainingOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def apply(n: NodeT, cnt: Int, depth: Int, inf: => NodeInformer): U
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 ExtendedNodeVisitor[U] toany2stringadd[ExtendedNodeVisitor[U]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ExtendedNodeVisitor[U], B)
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toArrowAssoc[ExtendedNodeVisitor[U]] performed by method ArrowAssoc in scala.Predef.This conversion will take place only if U is a subclass of Boolean with Option[Nothing] (U <: Boolean with Option[Nothing]).
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[A](g: (U) => A): (NodeT) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(node: NodeT): U
- Definition Classes
- ExtendedNodeVisitor → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def compose[A](g: (A) => NodeT): (A) => U
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def ensuring(cond: (ExtendedNodeVisitor[U]) => Boolean, msg: => Any): ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEnsuring[ExtendedNodeVisitor[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ExtendedNodeVisitor[U]) => Boolean): ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEnsuring[ExtendedNodeVisitor[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEnsuring[ExtendedNodeVisitor[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEnsuring[ExtendedNodeVisitor[U]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- final def isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- def isIn: Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- InParam → Param
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNode: Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def isOut: Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- val n1: ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEdgeAssoc[ExtendedNodeVisitor[U]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pipe[B](f: (ExtendedNodeVisitor[U]) => B): B
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toChainingOps[ExtendedNodeVisitor[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Product
- val self: ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toChainingOps[ExtendedNodeVisitor[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def stringPrefix: String
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tap[U](f: (ExtendedNodeVisitor[U]) => U): ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toChainingOps[ExtendedNodeVisitor[U]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- def unlift: PartialFunction[NodeT, B]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toUnliftOps[NodeT, B] performed by method UnliftOps in scala.Function1.This conversion will take place only if U is a subclass of Option[B] (U <: Option[B]).
- Definition Classes
- UnliftOps
- val value: ExtendedNodeVisitor[U]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- OuterNode → NodeParam
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def ~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEdgeAssoc[ExtendedNodeVisitor[U]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
- def ~>[N >: N1](n2: N): DiEdge[N]
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toEdgeAssoc[ExtendedNodeVisitor[U]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
Shadowed Implicit Value Members
- def andThen[A](g: (Boolean) => A): (Param[NodeT, EI]) => A
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] to(Param[NodeT, EI]) => Boolean performed by method predicateToNodePredicate in scalax.collection.GraphPredef.This conversion will take place only if U is a subclass of Boolean (U <: Boolean).
- 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:(extendedNodeVisitor: (Param[NodeT, EI]) => Boolean).andThen(g)
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(v1: Param[NodeT, EI]): Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] to(Param[NodeT, EI]) => Boolean performed by method predicateToNodePredicate in scalax.collection.GraphPredef.This conversion will take place only if U is a subclass of Boolean (U <: Boolean).
- 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:(extendedNodeVisitor: (Param[NodeT, EI]) => Boolean).apply(v1)
- Definition Classes
- Function1
- def compose[A](g: (A) => Param[NodeT, EI]): (A) => Boolean
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] to(Param[NodeT, EI]) => Boolean performed by method predicateToNodePredicate in scalax.collection.GraphPredef.This conversion will take place only if U is a subclass of Boolean (U <: Boolean).
- 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:(extendedNodeVisitor: (Param[NodeT, EI]) => Boolean).compose(g)
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def toString(): String
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] to(Param[NodeT, EI]) => Boolean performed by method predicateToNodePredicate in scalax.collection.GraphPredef.This conversion will take place only if U is a subclass of Boolean (U <: Boolean).
- 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:(extendedNodeVisitor: (Param[NodeT, EI]) => Boolean).toString()
- Definition Classes
- Function1 → AnyRef → Any
- def toString(): String
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toOuterNode[ExtendedNodeVisitor[U]] performed by method anyToNode in scalax.collection.GraphPredef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(extendedNodeVisitor: OuterNode[ExtendedNodeVisitor[U]]).toString()
- Definition Classes
- NodeParam → AnyRef → Any
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toStringFormat[ExtendedNodeVisitor[U]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ExtendedNodeVisitor[U], B)
- Implicit
- This member is added by an implicit conversion from ExtendedNodeVisitor[U] toArrowAssoc[ExtendedNodeVisitor[U]] performed by method ArrowAssoc in scala.Predef.This conversion will take place only if U is a subclass of Boolean with Option[Nothing] (U <: Boolean with Option[Nothing]).
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.