Trait/Object

scalax.collection

GraphTraversalImpl

Related Docs: object GraphTraversalImpl | package collection

Permalink

trait GraphTraversalImpl[N, E[X] <: EdgeLikeIn[X]] extends GraphTraversal[N, E] with TraverserImpl[N, E] with State[N, E]

Default implementation of the functionality defined by GraphTraversal except for algorithms that are placed in TraverserImpl.

Self Type
GraphTraversalImpl[N, E] with TraverserImpl[N, E]
Linear Supertypes
State[N, E], TraverserImpl[N, E], GraphTraversal[N, E], GraphBase[N, E], Serializable, Serializable, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphTraversalImpl
  2. State
  3. TraverserImpl
  4. GraphTraversal
  5. GraphBase
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
Implicitly
  1. by anyToNode
  2. by CollectionsHaveToParArray
  3. by EdgeAssoc
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class AbstractTopologicalOrder[+A, +T] extends AbstractTraversable[T]

    Permalink

    Topologically ordered nodes or layers of a topological order of a graph or of an isolated graph component.

    Topologically ordered nodes or layers of a topological order of a graph or of an isolated graph component.

    A

    one of NodeT, N

    T

    one of A or (Int, Iterable[A])

    Definition Classes
    GraphTraversal
  2. class AnyEdgeLazyCycle extends (GraphTraversalImpl.this)#AnyEdgeLazyPath with (GraphTraversalImpl.this)#Cycle

    Permalink
    Attributes
    protected
  3. class AnyEdgeLazyPath extends (GraphTraversalImpl.this)#SimpleLazyPath

    Permalink

    LazyPath where edges are selected by taking the first one fitting.

    LazyPath where edges are selected by taking the first one fitting.

    Attributes
    protected
  4. abstract class Component extends Properties

    Permalink

    Represents a component of this graph.

    Represents a component of this graph. Edges and bridges are computed lazily. Components will be instantiated by componentTraverser or strongComponentTraverser.

    Definition Classes
    GraphTraversal
  5. case class ComponentTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters, subgraphNodes: (GraphTraversalImpl.this)#NodeFilter, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter, ordering: (GraphTraversalImpl.this)#ElemOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight]) extends (GraphTraversalImpl.this)#ComponentTraverser with Product with Serializable

    Permalink
    Attributes
    protected
  6. trait Cycle extends Path

    Permalink

    Represents a cycle in this graph listing the nodes and connecting edges on it with the following syntax:

    Represents a cycle in this graph listing the nodes and connecting edges on it with the following syntax:

    cycle ::= start-end-node { edge node } edge start-end-node

    All nodes and edges on the path are distinct except the start and end nodes that are equal. A cycle contains at least a start node followed by any number of consecutive pairs of an edge and a node and the end node equaling to the start node. The first element is the start node, the second is an edge with its tail being the start node and its head being the third element etc.

    Definition Classes
    GraphTraversal
  7. type CycleNodeOrTopologicalOrder = Either[(GraphTraversalImpl.this)#NodeT, (GraphTraversalImpl.this)#TopologicalOrder[(GraphTraversalImpl.this)#NodeT]]

    Permalink

    Either a Right containing a valid topological order or a Left containing a node on a cycle.

    Either a Right containing a valid topological order or a Left containing a node on a cycle.

    Definition Classes
    GraphTraversal
  8. type CycleStackElem = ((GraphTraversalImpl.this)#NodeT, Iterable[(GraphTraversalImpl.this)#EdgeT])

    Permalink
    Attributes
    protected
  9. trait DownUpTraverser[A, +This <: (GraphTraversalImpl.this)#DownUpTraverser[A, This]] extends (GraphTraversalImpl.this)#TraverserMethods[A, This] with (GraphTraversalImpl.this)#Impl[A, This]

    Permalink
    Attributes
    protected
  10. trait Edge extends Serializable

    Permalink
    Definition Classes
    GraphBase
  11. class EdgeBase extends InnerEdgeParam[N, E, NodeT, E] with InnerEdge

    Permalink
    Definition Classes
    GraphBase
  12. type EdgeFilter = ((GraphTraversalImpl.this)#EdgeT) ⇒ Boolean

    Permalink
    Definition Classes
    GraphBase
  13. sealed trait EdgeOrdering extends Ordering[EdgeT] with ElemOrdering

    Permalink
    Definition Classes
    GraphBase
  14. trait EdgeSet extends AnySet[EdgeT] with ExtSetMethods[EdgeT] with Serializable

    Permalink
    Definition Classes
    GraphBase
  15. abstract type EdgeSetT <: (GraphTraversalImpl.this)#EdgeSet

    Permalink
    Definition Classes
    GraphBase
  16. abstract type EdgeT <: InnerEdgeParam[N, E, (GraphTraversalImpl.this)#NodeT, E] with (GraphTraversalImpl.this)#InnerEdge with Serializable

    Permalink
    Definition Classes
    GraphBase
  17. sealed trait ElemOrdering extends AnyRef

    Permalink

    Base trait for graph Orderings.

    Base trait for graph Orderings.

    Attributes
    protected
    Definition Classes
    GraphBase
  18. trait ExtendedNodeVisitor[U] extends (NodeT) ⇒ U with (NodeT, Int, Int, ⇒ NodeInformer) ⇒ U

    Permalink

    Template for extended node visitors.

    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:

    1. the inner node currently visited as with a standard node visitor
    2. the number of nodes visited so far and
    3. the current depth in terms of the underlying algorithm and
    4. a reference to a specific informer that may be pattern matched to collect even further data specific to the implementation.
    Definition Classes
    GraphTraversal
  19. abstract class FluentProperties[+This <: FluentProperties[This]] extends AnyRef

    Permalink

    Properties and methods for creating modified properties in a fluent-interface manner.

    Properties and methods for creating modified properties in a fluent-interface manner.

    Attributes
    protected
    Definition Classes
    GraphTraversal
  20. trait Impl[A, +This <: GraphTraversalImpl.Traverser[A, This] with GraphTraversalImpl.Impl[A, This]] extends GraphTraversalImpl.TraverserMethods[A, This] with GraphTraversalImpl.Traverser[A, This]

    Permalink
    Attributes
    protected[scalax.collection]
    Definition Classes
    TraverserImpl
  21. trait InnerEdge extends Iterable[NodeT] with InnerEdgeParam[N, E, NodeT, E] with Edge with InnerElem

    Permalink
    Definition Classes
    GraphBase
  22. case class InnerEdgeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#InnerEdgeTraverser with (GraphTraversalImpl.this)#Impl[(GraphTraversalImpl.this)#EdgeT, (GraphTraversalImpl.this)#InnerEdgeTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  23. sealed trait InnerElem extends AnyRef

    Permalink
    Definition Classes
    GraphBase
  24. case class InnerElemTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#InnerElemTraverser with (GraphTraversalImpl.this)#Impl[(GraphTraversalImpl.this)#InnerElem, (GraphTraversalImpl.this)#InnerElemTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  25. trait InnerNode extends InnerNodeParam[N] with Node with InnerElem

    Permalink
    Definition Classes
    GraphBase
  26. case class InnerNodeDownUpTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#InnerNodeDownUpTraverser with (GraphTraversalImpl.this)#DownUpTraverser[(Boolean, (GraphTraversalImpl.this)#NodeT), (GraphTraversalImpl.this)#InnerNodeDownUpTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  27. trait InnerNodeState extends AnyRef

    Permalink
    Definition Classes
    State
  28. trait InnerNodeTraversalImpl extends (GraphTraversalImpl.this)#TraverserInnerNode with (GraphTraversalImpl.this)#InnerNodeState

    Permalink
  29. case class InnerNodeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#InnerNodeTraverser with (GraphTraversalImpl.this)#Impl[(GraphTraversalImpl.this)#NodeT, (GraphTraversalImpl.this)#InnerNodeTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  30. case class Layer(index: Int, nodes: IndexedSeq[NodeT]) extends Product with Serializable

    Permalink

    Represents a topological sort layer.

    Represents a topological sort layer.

    Definition Classes
    GraphTraversal
  31. final class LayeredTopologicalOrder[+A] extends AbstractTopologicalOrder[A, (Int, Iterable[A])]

    Permalink

    Layers of a topological order of a graph or of an isolated graph component.

    Layers of a topological order of a graph or of an isolated graph component. The layers of a topological sort can roughly be defined as follows:

    1. layer 0 contains all nodes having no predecessors,
    2. layer n contains those nodes that have only predecessors in anchestor layers with at least one of them contained in layer n - 1
    A

    one of NodeT, N

    Definition Classes
    GraphTraversal
  32. type Layers = Traversable[(GraphTraversalImpl.this)#Layer]

    Permalink

    The result of a topological sort in the layered view.

    The result of a topological sort in the layered view.

    Definition Classes
    GraphTraversal
  33. abstract class LazyPath extends (GraphTraversalImpl.this)#Path

    Permalink

    Path based on the passed collection of nodes with lazy evaluation of edges.

    Path based on the passed collection of nodes with lazy evaluation of edges.

    Attributes
    protected
  34. final class MapPathTraversable[T] extends Traversable[T]

    Permalink

    Enables lazy traversing of a Map with key = source, value = target.

    Enables lazy traversing of a Map with key = source, value = target.

    Attributes
    protected
  35. class MinWeightEdgeLazyPath extends (GraphTraversalImpl.this)#SimpleLazyPath

    Permalink

    LazyPath with edges selected by minimal weight.

    LazyPath with edges selected by minimal weight.

    Attributes
    protected
  36. class MultiEdgeLazyCycle extends (GraphTraversalImpl.this)#MultiEdgeLazyPath with (GraphTraversalImpl.this)#Cycle

    Permalink
    Attributes
    protected
  37. class MultiEdgeLazyPath extends (GraphTraversalImpl.this)#LazyPath

    Permalink

    LazyPath with edge selection such that there exists no duplicate edge in the path.

    LazyPath with edge selection such that there exists no duplicate edge in the path.

    Attributes
    protected
  38. trait Node extends Serializable

    Permalink
    Definition Classes
    GraphBase
  39. abstract class NodeBase extends InnerNode

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  40. type NodeFilter = ((GraphTraversalImpl.this)#NodeT) ⇒ Boolean

    Permalink
    Definition Classes
    GraphBase
  41. sealed trait NodeOrdering extends Ordering[NodeT] with ElemOrdering

    Permalink

    Ordering for the path dependent type NodeT.

    Ordering for the path dependent type NodeT.

    Definition Classes
    GraphBase
  42. trait NodeSet extends AnySet[NodeT] with ExtSetMethods[NodeT]

    Permalink
    Definition Classes
    GraphBase
  43. abstract type NodeSetT <: (GraphTraversalImpl.this)#NodeSet

    Permalink
    Definition Classes
    GraphBase
  44. abstract type NodeT <: (GraphTraversalImpl.this)#InnerNodeTraversalImpl

    Permalink
    Definition Classes
    GraphTraversalImplGraphTraversalGraphBase
  45. case class OuterEdgeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#OuterEdgeTraverser with (GraphTraversalImpl.this)#Impl[E[N], (GraphTraversalImpl.this)#OuterEdgeTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  46. case class OuterElemTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#TraverserMethods[OuterElem[N, E], (GraphTraversalImpl.this)#OuterElemTraverser] with (GraphTraversalImpl.this)#OuterElemTraverser with (GraphTraversalImpl.this)#Impl[OuterElem[N, E], (GraphTraversalImpl.this)#OuterElemTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  47. case class OuterNodeDownUpTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#OuterNodeDownUpTraverser with (GraphTraversalImpl.this)#DownUpTraverser[(Boolean, N), (GraphTraversalImpl.this)#OuterNodeDownUpTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  48. case class OuterNodeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None) extends (GraphTraversalImpl.this)#OuterNodeTraverser with (GraphTraversalImpl.this)#Impl[N, (GraphTraversalImpl.this)#OuterNodeTraverser] with Product with Serializable

    Permalink
    Attributes
    protected
  49. trait Path extends Walk

    Permalink

    Represents a path in this graph where

    Represents a path in this graph where

    path ::= node { edge node }

    Nodes and edges on the path are distinct. A walk/path contains at least one node followed by any number of consecutive pairs of an edge and a node. The first element is the start node, the second is an edge with its source being the start node and its target being the third element etc.

    Definition Classes
    GraphTraversal
  50. class PathBuilder extends (GraphTraversalImpl.this)#WalkBuilder with (GraphTraversalImpl.this)#PathBuilder

    Permalink
  51. trait Properties extends SubgraphProperties

    Permalink

    Properties controlling traversals.

    Properties controlling traversals.

    Attributes
    protected
    Definition Classes
    GraphTraversal
  52. final class ReverseStackTraversable[S, T] extends Traversable[T]

    Permalink

    Efficient reverse foreach overcoming ArrayStack's deficiency not to overwrite reverseIterator.

    Efficient reverse foreach overcoming ArrayStack's deficiency not to overwrite reverseIterator.

    Attributes
    protected
  53. abstract class SimpleLazyPath extends (GraphTraversalImpl.this)#LazyPath

    Permalink

    LazyPath with deferred edges selection.

    LazyPath with deferred edges selection.

    Attributes
    protected
  54. class StrongComponentImpl extends (GraphTraversalImpl.this)#Component

    Permalink
    Attributes
    protected
  55. case class StrongComponentTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters, subgraphNodes: (GraphTraversalImpl.this)#NodeFilter, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter, ordering: (GraphTraversalImpl.this)#ElemOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight]) extends (GraphTraversalImpl.this)#StrongComponentTraverser with Product with Serializable

    Permalink
    Attributes
    protected
  56. trait SubgraphProperties extends AnyRef

    Permalink

    Properties controlling the scope of traversals.

    Properties controlling the scope of traversals.

    Attributes
    protected
    Definition Classes
    GraphTraversal
  57. type TopoSortSetup = (Buffer[(GraphTraversalImpl.this)#NodeT], Map[(GraphTraversalImpl.this)#NodeT, Int], Option[(GraphTraversalImpl.this)#NodeT])

    Permalink
    Attributes
    protected
  58. final class TopologicalOrder[+A] extends AbstractTopologicalOrder[A, A]

    Permalink

    A traversable topological order of nodes of a graph or of an isolated graph component.

    A traversable topological order of nodes of a graph or of an isolated graph component.

    A

    one of NodeT, N

    Definition Classes
    GraphTraversal
  59. trait Traverser[A, +This <: Traverser[A, This]] extends TraverserMethods[A, This] with Properties with Traversable[A]

    Permalink

    Controls the properties of consecutive graph traversals starting at a root node.

    Controls the properties of consecutive graph traversals starting at a root node. Provides methods to refine the properties and to invoke traversals. Instances will be created by innerNodeTraverser etc.

    Definition Classes
    GraphTraversal
  60. trait TraverserInnerNode extends InnerNode

    Permalink
    Definition Classes
    GraphTraversal
  61. abstract class TraverserMethods[A, +This <: TraverserMethods[A, This]] extends FluentProperties[This]

    Permalink

    The root-related methods Traverser will inherit.

    The root-related methods Traverser will inherit.

    Attributes
    protected
    Definition Classes
    GraphTraversal
  62. trait Walk extends Traversable[InnerElem]

    Permalink

    Represents a walk in this graph where walk ::= node { edge node } A walk/path contains at least one node followed by any number of consecutive pairs of an edge and a node.

    Represents a walk in this graph where walk ::= node { edge node } A walk/path contains at least one node followed by any number of consecutive pairs of an edge and a node. The first element is the start node, the second is an edge with its source being the start node and its target being the third element etc.

    Definition Classes
    GraphTraversal
  63. class WalkBuilder extends (GraphTraversalImpl.this)#WalkBuilder

    Permalink
  64. class WeakComponentImpl extends (GraphTraversalImpl.this)#Component

    Permalink
    Attributes
    protected
  65. class Weight extends AnyRef

    Permalink

    Stores a value and an edge weight function for use in weight-based traversals that may be defined by withMaxWeight.

    Stores a value and an edge weight function for use in weight-based traversals that may be defined by withMaxWeight.

    Definition Classes
    GraphTraversal

Abstract Value Members

  1. abstract def edges: (GraphTraversalImpl.this)#EdgeSetT

    Permalink

    The edge set of this Graph commonly referred to as E(G).

    The edge set of this Graph commonly referred to as E(G).

    returns

    Set of all contained edges.

    Definition Classes
    GraphBase
  2. abstract def isDirected: Boolean

    Permalink

    Whether all edges of this graph are directed.

    Whether all edges of this graph are directed.

    Definition Classes
    GraphBase
  3. abstract def isHyper: Boolean

    Permalink

    Whether this graph contains at least one hyperedges.

    Whether this graph contains at least one hyperedges.

    Definition Classes
    GraphBase
  4. abstract def isMulti: Boolean

    Permalink

    Whether this graph contains at least one multi-edge.

    Whether this graph contains at least one multi-edge. We defnie multi-edges by

    1. two or more directed edges having the same source and target
    2. two or more undirected edges connecting the same nodes
    3. two or more (directed) hyperedges that, after being decomposed into (directed) edges, yield any multy-edge as stipulated above.
    Definition Classes
    GraphBase
  5. abstract def newEdge(innerEdge: E[(GraphTraversalImpl.this)#NodeT]): (GraphTraversalImpl.this)#EdgeT

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  6. abstract def newNode(n: N): (GraphTraversalImpl.this)#NodeT

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  7. abstract def nodes: (GraphTraversalImpl.this)#NodeSetT

    Permalink

    The node (vertex) set of this Graph commonly referred to as V(G).

    The node (vertex) set of this Graph commonly referred to as V(G).

    returns

    Set of all contained nodes.

    Definition Classes
    GraphBase

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to any2stringadd[GraphTraversalImpl[N, E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (GraphTraversalImpl[N, E], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to ArrowAssoc[GraphTraversalImpl[N, E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. object Edge extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  7. object EdgeOrdering extends Serializable

    Permalink

    Ordering for the path dependent type EdgeT.

    Ordering for the path dependent type EdgeT.

    Definition Classes
    GraphBase
  8. object EdgeT

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  9. object ExtendedNodeVisitor

    Permalink
    Definition Classes
    GraphTraversal
  10. object InnerEdge extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  11. object InnerNode extends Serializable

    Permalink
    Definition Classes
    GraphBase
  12. object NoOrdering extends ElemOrdering with Serializable

    Permalink

    The empty ElemOrdering.

    The empty ElemOrdering.

    Definition Classes
    GraphBase
  13. object Node extends Serializable

    Permalink
    Definition Classes
    GraphBase
    Annotations
    @transient()
  14. object NodeOrdering extends Serializable

    Permalink
    Definition Classes
    GraphBase
  15. object Path extends Serializable

    Permalink
    Definition Classes
    GraphTraversal
  16. object SubgraphProperties

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
  17. object TraverserInnerNode extends Serializable

    Permalink
    Definition Classes
    GraphTraversal
    Annotations
    @transient()
  18. object Walk

    Permalink
    Definition Classes
    GraphTraversal
  19. object Weight

    Permalink
    Definition Classes
    GraphTraversal
  20. final val anyEdge: (GraphTraversalImpl.this)#EdgeFilter

    Permalink

    Default edge filter letting path all edges (non-filter).

    Default edge filter letting path all edges (non-filter).

    Definition Classes
    GraphBase
  21. final def anyEdgeSelector(from: (GraphTraversalImpl.this)#NodeT, to: (GraphTraversalImpl.this)#NodeT): Option[(GraphTraversalImpl.this)#EdgeT]

    Permalink

    An arbitrary edge between from and to that is available most efficiently.

    An arbitrary edge between from and to that is available most efficiently.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  22. final val anyNode: (GraphTraversalImpl.this)#NodeFilter

    Permalink

    Default node filter letting traverse all nodes (non-filter).

    Default node filter letting traverse all nodes (non-filter).

    Definition Classes
    GraphBase
  23. final lazy val anyOrdering: AnyOrdering[N]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  24. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  25. def clearNodeStates(flags: FlagWord, flagsExt: ExtBitSet): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    State
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def componentTraverser(parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#ComponentTraverser

    Permalink

    Creates a ComponentTraverser responsible for invoking graph traversal methods in all (weekly) connected components of this possibly disconnected graph.

    Creates a ComponentTraverser responsible for invoking graph traversal methods in all (weekly) connected components of this possibly disconnected graph.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  28. final def cycle(results: (Option[(GraphTraversalImpl.this)#NodeT], ArrayStack[(GraphTraversalImpl.this)#CycleStackElem]), edgeFilter: (GraphTraversalImpl.this)#EdgeFilter): Option[(GraphTraversalImpl.this)#Cycle]

    Permalink
    Attributes
    protected
  29. final lazy val defaultEdgeOrdering: (GraphTraversalImpl.this)#EdgeOrdering

    Permalink
    Definition Classes
    GraphBase
  30. final lazy val defaultNodeOrdering: (GraphTraversalImpl.this)#NodeOrdering

    Permalink
    Definition Classes
    GraphBase
  31. final def defaultPathSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  32. def dump(store: FlagStore): ExtBitSet

    Permalink
    Attributes
    protected
    Definition Classes
    State
  33. def dumpDirty: ExtBitSet

    Permalink

    Returns a copy of the current dirty-flags for dump purposes.

    Returns a copy of the current dirty-flags for dump purposes.

    Definition Classes
    State
  34. def dumpInUse: ExtBitSet

    Permalink

    Returns a copy of the current inUse-flags for dump purposes.

    Returns a copy of the current inUse-flags for dump purposes.

    Definition Classes
    State
  35. implicit final def edgeToEdgeCont(e: E[N]): E[(GraphTraversalImpl.this)#NodeT]

    Permalink
    Attributes
    protected
    Definition Classes
    GraphBase
  36. def ensuring(cond: (GraphTraversalImpl[N, E]) ⇒ Boolean, msg: ⇒ Any): GraphTraversalImpl[N, E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to Ensuring[GraphTraversalImpl[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  37. def ensuring(cond: (GraphTraversalImpl[N, E]) ⇒ Boolean): GraphTraversalImpl[N, E]

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to Ensuring[GraphTraversalImpl[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  39. def ensuring(cond: Boolean): GraphTraversalImpl[N, E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to Ensuring[GraphTraversalImpl[N, E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def expectedMaxNodes(divisor: Int, min: Int = 128): Int

    Permalink
    Attributes
    protected
  43. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. final def findCycle[U](implicit visitor: ((GraphTraversalImpl.this)#InnerElem) ⇒ U = empty): Option[(GraphTraversalImpl.this)#Cycle]

    Permalink

    Finds a cycle in this graph in any of its components and calls visitor for each inner element visited during the search.

    Finds a cycle in this graph in any of its components and calls visitor for each inner element visited during the search. See componentTraverser for more control by means of FluentProperties.

    Definition Classes
    GraphTraversal
  45. final def forInDegrees(traversable: Traversable[(GraphTraversalImpl.this)#NodeT] with (GraphTraversalImpl.this)#SubgraphProperties, maybeHandle: Option[Handle] = None, includeAnyway: Option[(GraphTraversalImpl.this)#NodeT] = None, includeInDegree: (GraphTraversalImpl.this)#NodeFilter = anyNode, fillInDegrees: Boolean = true): (GraphTraversalImpl.this)#TopoSortSetup

    Permalink

    Calculates in-degrees of nodes spanned by traversable.

    Calculates in-degrees of nodes spanned by traversable.

    traversable

    supplies the nodes for which the degree is to be calculated

    maybeHandle

    to be used to mark visited nodes

    includeAnyway

    include this node in the resulting list of nodes without predecessors irrespective of its in degree

    includeInDegree

    optionally filters predecessor nodes when calculation the in degree

    returns

    triple of

    1. nodes without predecessors in the component spanned by traverser
    2. map of visited nodes to their in degrees
    3. size of traversable
    Attributes
    protected
  46. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to StringFormat[GraphTraversalImpl[N, E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  47. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  48. def graphSize: Int

    Permalink

    The size - commonly referred to as ||G|| - of this graph equaling to the number of edges.

    The size - commonly referred to as ||G|| - of this graph equaling to the number of edges.

    Method size is reserved for the number of nodes and edges because Graph is also SetLike with set elements being nodes or edges.

    Definition Classes
    GraphBase
  49. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  50. def initialize(nodes: Traversable[N], edges: Traversable[E[N]]): Unit

    Permalink

    Populates this graph with nodes and edges.

    Populates this graph with nodes and edges.

    The implementing class will typically have a constructor with the same parameters which is invoked by from of the companion object.

    nodes

    The isolated (and optionally any other) outer nodes that the node set of this graph is to be populated with.

    edges

    The outer edges that the edge set of this graph is to be populated with. Nodes being the end of any of these edges will be added to the node set.

    Attributes
    protected
    Definition Classes
    GraphBase
  51. def innerEdgeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#InnerEdgeTraverser

    Permalink

    Creates a InnerEdgeTraverser based on scala.collection.Traversable[EdgeT].

    Creates a InnerEdgeTraverser based on scala.collection.Traversable[EdgeT].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    Definition Classes
    GraphTraversalImplGraphTraversal
  52. def innerElemTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#InnerElemTraverser

    Permalink

    Creates a InnerElemTraverser based on scala.collection.Traversable[InnerElem].

    Creates a InnerElemTraverser based on scala.collection.Traversable[InnerElem].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  53. def innerNodeDownUpTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#InnerNodeDownUpTraverser

    Permalink

    Creates a InnerNodeDownUpTraverser based on scala.collection.Traversable[(Boolean, NodeT)] where the Boolean parameter is true if the traversal takes place in downward and false if it takes place in upward direction.

    Creates a InnerNodeDownUpTraverser based on scala.collection.Traversable[(Boolean, NodeT)] where the Boolean parameter is true if the traversal takes place in downward and false if it takes place in upward direction.

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals. A kind different from DepthFirst will be ignored.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  54. def innerNodeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#InnerNodeTraverser

    Permalink

    Creates a InnerNodeTraverser based on scala.collection.Traversable[NodeT].

    Creates a InnerNodeTraverser based on scala.collection.Traversable[NodeT].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  55. final def isAcyclic: Boolean

    Permalink

    Whether this graph has no cycle.

    Whether this graph has no cycle.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  56. def isComplete: Boolean

    Permalink

    Whether all nodes are pairwise adjacent.

    Whether all nodes are pairwise adjacent.

    returns

    true if this graph is complete, false if this graph contains any independent nodes.

    Definition Classes
    GraphTraversal
  57. def isConnected: Boolean

    Permalink

    Whether this graph is connected if it is undirected or weakly connected if it is directed.

    Whether this graph is connected if it is undirected or weakly connected if it is directed.

    Definition Classes
    GraphTraversal
  58. final def isCustomEdgeFilter(f: (GraphTraversalImpl.this)#EdgeFilter): Boolean

    Permalink

    true if f is not equivalent to anyEdge.

    true if f is not equivalent to anyEdge.

    Definition Classes
    GraphBase
    Annotations
    @inline()
  59. final def isCustomNodeFilter(f: (GraphTraversalImpl.this)#NodeFilter): Boolean

    Permalink

    true if f is not equivalent to anyNode.

    true if f is not equivalent to anyNode.

    Definition Classes
    GraphBase
    Annotations
    @inline()
  60. final def isCyclic: Boolean

    Permalink

    Whether this graph has at least one cycle in any of its components.

    Whether this graph has at least one cycle in any of its components.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  61. def isDefined: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  62. def isEdge: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  63. def isIn: Boolean

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

    Permalink
    Definition Classes
    Any
  65. def isNode: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  66. def isOut: Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    InParamParam
  67. final def isTrivial: Boolean

    Permalink

    true if this graph has at most 1 node.

    true if this graph has at most 1 node.

    Definition Classes
    GraphBase
    Annotations
    @inline()
  68. val n1: GraphTraversalImpl[N, E]

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

    Permalink
    Definition Classes
    AnyRef
  70. def newPathBuilder(start: (GraphTraversalImpl.this)#NodeT)(implicit sizeHint: Int = defaultPathSize, edgeSelector: ((GraphTraversalImpl.this)#NodeT, (GraphTraversalImpl.this)#NodeT) ⇒ Option[(GraphTraversalImpl.this)#EdgeT]): (GraphTraversalImpl.this)#PathBuilder

    Permalink

    Instantiates a PathBuilder for this graph.

    Instantiates a PathBuilder for this graph.

    start

    The node this path starts at.

    sizeHint

    Expected maximum number of nodes on this path.

    edgeSelector

    Determines the edge to be selected between neighbor nodes if an edge is not supplied explicitly. This is only relevant in case of multigraphs.

    Definition Classes
    GraphTraversalImplGraphTraversal
  71. def newWalkBuilder(start: (GraphTraversalImpl.this)#NodeT)(implicit sizeHint: Int = defaultPathSize, edgeSelector: ((GraphTraversalImpl.this)#NodeT, (GraphTraversalImpl.this)#NodeT) ⇒ Option[(GraphTraversalImpl.this)#EdgeT]): (GraphTraversalImpl.this)#WalkBuilder

    Permalink

    Instantiates a WalkBuilder for this graph.

    Instantiates a WalkBuilder for this graph.

    start

    The node this walk starts at.

    sizeHint

    Expected maximum number of nodes on this walk.

    edgeSelector

    Determines the edge to be selected between neighbor nodes if an edge is not supplied explicitly. This is only relevant in case of multigraphs.

    Definition Classes
    GraphTraversalImplGraphTraversal
  72. def nextHandle: Handle

    Permalink

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

    Attributes
    protected
    Definition Classes
    State
  73. final val noNode: (GraphTraversalImpl.this)#NodeFilter

    Permalink

    Node predicate always returning false.

    Node predicate always returning false.

    Definition Classes
    GraphBase
  74. final def nonTrivial: Boolean

    Permalink

    true if this graph has at least 2 nodes.

    true if this graph has at least 2 nodes.

    Definition Classes
    GraphBase
    Annotations
    @inline()
  75. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  76. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  77. def order: Int

    Permalink

    The order - commonly referred to as |G| - of this graph equaling to the number of nodes.

    The order - commonly referred to as |G| - of this graph equaling to the number of nodes.

    Definition Classes
    GraphBase
  78. def outerEdgeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#OuterEdgeTraverser

    Permalink

    Creates a OuterEdgeTraverser based on scala.collection.Traversable[E[N]].

    Creates a OuterEdgeTraverser based on scala.collection.Traversable[E[N]].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  79. def outerElemTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#OuterElemTraverser

    Permalink

    Creates a OuterElemTraverser based on scala.collection.Traversable[OuterElem].

    Creates a OuterElemTraverser based on scala.collection.Traversable[OuterElem].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  80. def outerNodeDownUpTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#OuterNodeDownUpTraverser

    Permalink

    Creates a OuterNodeDownUpTraverser based on scala.collection.Traversable[(Boolean, N)] where the Boolean parameter is true if the traversal takes place in downward and false if it takes place in upward direction.

    Creates a OuterNodeDownUpTraverser based on scala.collection.Traversable[(Boolean, N)] where the Boolean parameter is true if the traversal takes place in downward and false if it takes place in upward direction.

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals. A kind different from DepthFirst will be ignored.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    Definition Classes
    GraphTraversalImplGraphTraversal
  81. def outerNodeTraverser(root: (GraphTraversalImpl.this)#NodeT, parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#OuterNodeTraverser

    Permalink

    Creates a OuterNodeTraverser based on scala.collection.Traversable[N].

    Creates a OuterNodeTraverser based on scala.collection.Traversable[N].

    root

    The node where subsequent graph traversals start.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  82. def releaseHandle(handle: Handle): Unit

    Permalink

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

    Attributes
    protected
    Definition Classes
    State
  83. def stringPrefix: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    NodeParam
  84. def strongComponentTraverser(parameters: Parameters = Parameters(), subgraphNodes: (GraphTraversalImpl.this)#NodeFilter = anyNode, subgraphEdges: (GraphTraversalImpl.this)#EdgeFilter = anyEdge, ordering: (GraphTraversalImpl.this)#ElemOrdering = NoOrdering, maxWeight: Option[(GraphTraversalImpl.this)#Weight] = None): (GraphTraversalImpl.this)#StrongComponentTraverser

    Permalink

    Creates a StrongComponentTraverser.

    parameters

    The properties controlling subsequent traversals.

    subgraphNodes

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

    subgraphEdges

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

    ordering

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

    maxWeight

    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
    GraphTraversalImplGraphTraversal
  85. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  86. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to CollectionsHaveToParArray[GraphTraversalImpl[N, E], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (GraphTraversalImpl[N, E]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  87. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  88. final def topologicalSort[U](implicit visitor: ((GraphTraversalImpl.this)#InnerElem) ⇒ U = empty): (GraphTraversalImpl.this)#CycleNodeOrTopologicalOrder

    Permalink

    Sorts this graph topologically.

    Sorts this graph topologically.

    visitor

    called for each inner node or inner edge visited during the sort. See componentTraverser for more control by means of FluentProperties.

    Definition Classes
    GraphTraversal
  89. final def topologicalSortByComponent[U](implicit visitor: ((GraphTraversalImpl.this)#InnerElem) ⇒ U = empty): Traversable[(GraphTraversalImpl.this)#CycleNodeOrTopologicalOrder]

    Permalink

    Sorts every isolated component of this graph topologically.

    Sorts every isolated component of this graph topologically.

    visitor

    called for each inner node or inner edge visited during the sort. See componentTraverser for more control by means of FluentProperties.

    Definition Classes
    GraphTraversal
  90. def totalWeight: Long

    Permalink
    Definition Classes
    GraphBase
  91. val value: GraphTraversalImpl[N, E]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. def withHandle[T](reuse: Option[Handle] = None)(block: (Handle) ⇒ T): T

    Permalink

    Executes a code block in the context of a new or reused state handler.

    Executes a code block in the context of a new or reused state handler.

    returns

    The result of the code block executed.

    Attributes
    protected
    Definition Classes
    State
  96. def withHandles[T](nr: Int, reuse: Array[Handle] = Array.empty[Handle])(block: (Array[Handle]) ⇒ T): T

    Permalink

    Executes a code block in the context nr new state handlers or alternatively in the context of the state handlers reuse.

    Executes a code block in the context nr new state handlers or alternatively in the context of the state handlers reuse.

    returns

    The result of the code block executed.

    Attributes
    protected
    Definition Classes
    State
  97. def ~[N >: N1](n2: N): UnDiEdge[N]

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from GraphTraversalImpl[N, E] to ArrowAssoc[GraphTraversalImpl[N, E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def toString(): String

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

Inherited from State[N, E]

Inherited from TraverserImpl[N, E]

Inherited from GraphTraversal[N, E]

Inherited from GraphBase[N, E]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion anyToNode from GraphTraversalImpl[N, E] to OuterNode[GraphTraversalImpl[N, E]]

Inherited by implicit conversion CollectionsHaveToParArray from GraphTraversalImpl[N, E] to CollectionsHaveToParArray[GraphTraversalImpl[N, E], T]

Inherited by implicit conversion EdgeAssoc from GraphTraversalImpl[N, E] to EdgeAssoc[GraphTraversalImpl[N, E]]

Inherited by implicit conversion any2stringadd from GraphTraversalImpl[N, E] to any2stringadd[GraphTraversalImpl[N, E]]

Inherited by implicit conversion StringFormat from GraphTraversalImpl[N, E] to StringFormat[GraphTraversalImpl[N, E]]

Inherited by implicit conversion Ensuring from GraphTraversalImpl[N, E] to Ensuring[GraphTraversalImpl[N, E]]

Inherited by implicit conversion ArrowAssoc from GraphTraversalImpl[N, E] to ArrowAssoc[GraphTraversalImpl[N, E]]

Ungrouped