scalax.collection.GraphTraversal

WalkBuilder

trait WalkBuilder extends Builder[InnerElem, Walk]

A Builder for valid walks in this graph.

Nodes and edges may be added either alternating or node by node respectively edge by edge. Either way, the builder ensures that the added elements build a valid walk.

A node addition fails if the node to be added is not a direct successor of the previously added node or of the target node of the previously added edge. An edge addition fails if the edge to be added is not an outgoing edge from the previously added node or of the target node of the previously added edge.

It is recommended using add instead of += to track failed additions.

Linear Supertypes
Builder[GraphTraversal.InnerElem, Walk], Growable[GraphTraversal.InnerElem], Clearable, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WalkBuilder
  2. Builder
  3. Growable
  4. Clearable
  5. AnyRef
  6. Any
Implicitly
  1. by anyToNode
  2. by EdgeAssoc
  3. by any2stringadd
  4. by any2stringfmt
  5. by any2ArrowAssoc
  6. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def add(edge: GraphTraversal.EdgeT): Boolean

    Tries to add edge to the tail of the path/walk.

    Tries to add edge to the tail of the path/walk.

    returns

    Whether the addition was successful.

  2. abstract def add(node: NodeT): Boolean

    Tries to add node to the tail of the path/walk.

    Tries to add node to the tail of the path/walk.

    returns

    Whether the addition was successful.

  3. abstract def clear(): Unit

    Definition Classes
    Builder → Growable → Clearable
  4. abstract def result(): Walk

    Definition Classes
    Builder
  5. abstract def start: NodeT

    The node this walk starts at.

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 WalkBuilder to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ++=(xs: TraversableOnce[GraphTraversal.InnerElem]): WalkBuilder.this.type

    Definition Classes
    Growable
  6. final def +=(edge: GraphTraversal.EdgeT): WalkBuilder.this.type

    Tries to add edge to the tail of the path/walk.

    Tries to add edge to the tail of the path/walk.

    Annotations
    @inline()
  7. final def +=(node: NodeT): WalkBuilder.this.type

    Tries to add node to the tail of the path/walk.

    Tries to add node to the tail of the path/walk.

    Annotations
    @inline()
  8. def +=(elem: GraphTraversal.InnerElem): WalkBuilder.this.type

    Tries to add elem to the tail of the path/walk.

    Tries to add elem to the tail of the path/walk.

    Definition Classes
    WalkBuilder → Builder → Growable
  9. def +=(elem1: GraphTraversal.InnerElem, elem2: GraphTraversal.InnerElem, elems: GraphTraversal.InnerElem*): WalkBuilder.this.type

    Definition Classes
    Growable
  10. def ->[B](y: B): (WalkBuilder, B)

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to ArrowAssoc[WalkBuilder] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  11. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  13. final def add(elem: GraphTraversal.InnerElem): Boolean

    Tries to add elem to the tail of the path/walk.

    Tries to add elem to the tail of the path/walk.

    returns

    Whether the addition was successful.

    Annotations
    @inline()
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def ensuring(cond: (WalkBuilder) ⇒ Boolean, msg: ⇒ Any): WalkBuilder

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. def isDefined: Boolean

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

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

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

    Definition Classes
    Any
  30. def isNode: Boolean

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

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to OuterNode[WalkBuilder] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParamParam
  32. def mapResult[NewTo](f: (Walk) ⇒ NewTo): Builder[GraphTraversal.InnerElem, NewTo]

    Definition Classes
    Builder
  33. val n1: WalkBuilder

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

    Definition Classes
    AnyRef
  35. final def notify(): Unit

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

    Definition Classes
    AnyRef
  37. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit

    Definition Classes
    Builder
  38. def sizeHint(coll: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  39. def sizeHint(size: Int): Unit

    Definition Classes
    Builder
  40. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  41. def stringPrefix: String

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to OuterNode[WalkBuilder] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. val value: WalkBuilder

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to OuterNode[WalkBuilder] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNodeNodeParam
  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def ~[N >: N1](n2: N): UnDiEdge[N]

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

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

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from WalkBuilder 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:
    (walkBuilder: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from WalkBuilder 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:
    (walkBuilder: StringFormat).self
    Definition Classes
    StringFormat
  3. def toString(): String

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to OuterNode[WalkBuilder] 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:
    (walkBuilder: OuterNode[WalkBuilder]).toString()
    Definition Classes
    NodeParam → AnyRef → Any

Deprecated Value Members

  1. def x: WalkBuilder

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to ArrowAssoc[WalkBuilder] 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:
    (walkBuilder: ArrowAssoc[WalkBuilder]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: WalkBuilder

    Implicit information
    This member is added by an implicit conversion from WalkBuilder to Ensuring[WalkBuilder] 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:
    (walkBuilder: Ensuring[WalkBuilder]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Builder[GraphTraversal.InnerElem, Walk]

Inherited from Growable[GraphTraversal.InnerElem]

Inherited from Clearable

Inherited from AnyRef

Inherited from Any

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

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

Inherited by implicit conversion any2stringadd from WalkBuilder to StringAdd

Inherited by implicit conversion any2stringfmt from WalkBuilder to StringFormat

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

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

Ungrouped