Topologically ordered nodes or layers of a topological order of a graph or of an isolated graph component.
LazyPath where edges are selected by taking the first one fitting.
Represents a component of this graph with an underlying lazy implementation.
Controls the properties of graph traversals with no specific root.
Represents a cycle in this graph listing the nodes and connecting edges on it with the following syntax:
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.
Base trait for graph Orderings.
Template for extended node visitors.
Properties and methods for creating modified properties in a fluent-interface manner.
Controls the properties of inner-edge graph traversals.
Controls the properties of inner-element graph traversals.
Controls the properties of inner-node down-up graph traversals.
Controls the properties of inner-node graph traversals.
Represents a topological sort layer.
Layers of a topological order of a graph or of an isolated graph component.
The result of a topological sort in the layered view.
The result of a topological sort in the layered view.
Path based on the passed collection of nodes with lazy evaluation of edges.
Enables lazy traversing of a Map with key = source, value = target.
LazyPath with edges selected by minimal weight.
LazyPath with edge selection such that there exists no duplicate edge in the path.
Ordering for the path dependent type NodeT.
Controls the properties of outer-edge graph traversals.
Controls the properties of outer-element graph traversals.
Controls the properties of outer-node down-up graph traversals.
Controls the properties of outer-node graph traversals.
Represents a path in this graph where
A Builder for valid paths in this graph.
Properties controlling traversals.
Efficient reverse foreach overcoming ArrayStack's deficiency
not to overwrite reverseIterator.
LazyPath with deferred edges selection.
Properties controlling the scope of traversals.
A traversable topological order of nodes of a graph or of an isolated graph component.
Controls the properties of consecutive graph traversals starting at a root node.
The root-related methods Traverser will inherit.
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.
A Builder for valid walks in this graph.
The edge set of this Graph commonly referred to as E(G).
The edge set of this Graph commonly referred to as E(G).
Set of all contained edges.
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).
Set of all contained nodes.
Ordering for the path dependent type EdgeT.
The empty ElemOrdering.
Default edge filter letting path all edges (non-filter).
Default edge filter letting path all edges (non-filter).
An arbitrary edge between from and to that is available most efficiently.
An arbitrary edge between from and to that is available most efficiently.
Default node filter letting traverse all nodes (non-filter).
Default node filter letting traverse all nodes (non-filter).
Creates a ComponentTraverser responsible for invoking graph traversal methods that cover all components of this possibly disconnected graph.
Creates a ComponentTraverser responsible for invoking graph traversal methods that cover all components of this possibly disconnected graph.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Returns a copy of the current dirty-flags for dump purposes.
Returns a copy of the current dirty-flags for dump purposes.
Returns a copy of the current inUse-flags for dump purposes.
Returns a copy of the current inUse-flags for dump purposes.
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.
Calculates in-degrees of nodes spanned by traversable.
Calculates in-degrees of nodes spanned by traversable.
supplies the nodes for which the degree is to be calculated
to be used to mark visited nodes
include this node in the resulting list of nodes without predecessors irrespective of its in degree
optionally filters predecessor nodes when calculation the in degree
pair of
traverserThe 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.
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.
The isolated (and optionally any other) outer nodes that the node set of this graph is to be populated with.
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.
Creates a InnerEdgeTraverser based on scala.collection.Traversable[EdgeT].
Creates a InnerEdgeTraverser based on scala.collection.Traversable[EdgeT].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Creates a InnerElemTraverser based on scala.collection.Traversable[InnerElem].
Creates a InnerElemTraverser based on scala.collection.Traversable[InnerElem].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
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.
The node where subsequent graph traversals start.
The properties controlling subsequent traversals. A kind different from DepthFirst will be ignored.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Creates a InnerNodeTraverser based on scala.collection.Traversable[NodeT].
Creates a InnerNodeTraverser based on scala.collection.Traversable[NodeT].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Whether this graph has no cycle.
Whether this graph has no cycle.
Whether all nodes are pairwise adjacent.
Whether all nodes are pairwise adjacent.
true if this graph is complete, false if this graph contains any
independent nodes.
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.
true if f is not equivalent to anyEdge.
true if f is not equivalent to anyEdge.
true if f is not equivalent to anyNode.
true if f is not equivalent to anyNode.
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.
true if this graph has at most 1 node.
true if this graph has at most 1 node.
Instantiates a PathBuilder for this graph.
Instantiates a PathBuilder for this graph.
The node this path starts at.
Expected maximum number of nodes on this path.
Determines the edge to be selected between neighbor nodes if an edge is not supplied explicitly. This is only relevant in case of multigraphs.
Instantiates a WalkBuilder for this graph.
Instantiates a WalkBuilder for this graph.
The node this walk starts at.
Expected maximum number of nodes on this walk.
Determines the edge to be selected between neighbor nodes if an edge is not supplied explicitly. This is only relevant in case of multigraphs.
Avoid calling this directly, prefer withHandle instead.
Avoid calling this directly, prefer withHandle instead.
Node predicate always returning false.
Node predicate always returning false.
true if this graph has at least 2 nodes.
true if this graph has at least 2 nodes.
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.
Creates a OuterEdgeTraverser based on scala.collection.Traversable[E[N]].
Creates a OuterEdgeTraverser based on scala.collection.Traversable[E[N]].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Creates a OuterElemTraverser based on scala.collection.Traversable[OuterElem].
Creates a OuterElemTraverser based on scala.collection.Traversable[OuterElem].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
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.
The node where subsequent graph traversals start.
The properties controlling subsequent traversals. A kind different from DepthFirst will be ignored.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Creates a OuterNodeTraverser based on scala.collection.Traversable[N].
Creates a OuterNodeTraverser based on scala.collection.Traversable[N].
The node where subsequent graph traversals start.
The properties controlling subsequent traversals.
Restricts subsequent graph traversals to visit only nodes holding this predicate.
Restricts subsequent graph traversals to walk only along edges that hold this predicate.
If a NodeOrdering or EdgeOrdering different from NoOrdering is supplied
neighbor nodes will visited during the traversal according to this ordering.
Avoid calling this directly, prefer withHandle instead.
Avoid calling this directly, prefer withHandle instead.
Sorts this graph topologically.
Sorts this graph topologically.
called for each inner node or inner edge visited during the sort.
See componentTraverser for more control by means of FluentProperties.
Sorts every isolated component of this graph topologically.
Sorts every isolated component of this graph topologically.
called for each inner node or inner edge visited during the sort.
See componentTraverser for more control by means of FluentProperties.
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.
The result of the code block executed.
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.
The result of the code block executed.
(graphTraversalImpl: StringAdd).self
(graphTraversalImpl: StringFormat).self
(graphTraversalImpl: OuterNode[GraphTraversalImpl[N, E]]).toString()
(graphTraversalImpl: ArrowAssoc[GraphTraversalImpl[N, E]]).x
(Since version 2.10.0) Use leftOfArrow instead
(graphTraversalImpl: Ensuring[GraphTraversalImpl[N, E]]).x
(Since version 2.10.0) Use resultOfEnsuring instead
Default implementation of the functionality defined by GraphTraversal except for algorithms that are placed in TraverserImpl.