scalax.collection.immutable

DefaultGraphImpl

class DefaultGraphImpl[N, E[X] <: EdgeLikeIn[X]] extends Graph[N, E] with AdjacencyListGraph[N, E, DefaultGraphImpl] with GraphTraversalImpl[N, E]

Annotations
@SerialVersionUID()
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultGraphImpl
  2. GraphTraversalImpl
  3. State
  4. AdjacencyListGraph
  5. AdjacencyListBase
  6. Graph
  7. Graph
  8. GraphLike
  9. GraphDegree
  10. GraphTraversal
  11. GraphBase
  12. Serializable
  13. Serializable
  14. Set
  15. Set
  16. SetLike
  17. Subtractable
  18. GenSet
  19. GenericSetTemplate
  20. GenSetLike
  21. Function1
  22. Iterable
  23. Iterable
  24. IterableLike
  25. Equals
  26. GenIterable
  27. GenIterableLike
  28. Traversable
  29. Immutable
  30. Traversable
  31. GenTraversable
  32. GenericTraversableTemplate
  33. TraversableLike
  34. GenTraversableLike
  35. Parallelizable
  36. TraversableOnce
  37. GenTraversableOnce
  38. FilterMonadic
  39. HasNewBuilder
  40. AnyRef
  41. Any
Implicitly
  1. by anyToNode
  2. by CollectionsHaveToParArray
  3. by MonadOps
  4. by EdgeAssoc
  5. by predicateToNodePredicate
  6. by any2stringadd
  7. by StringFormat
  8. by Ensuring
  9. by ArrowAssoc
  10. by alternateImplicit
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultGraphImpl(iniNodes: Iterable[N] = Set[N](), iniEdges: Iterable[E[N]] = Set[E[N]]())(implicit edgeT: scala.reflect.api.JavaUniverse.TypeTag[E[N]], config: DefaultGraphImpl.Config with AdjacencyListArrayConfig)

Type Members

  1. class AnyEdgeLazyCycle extends AnyEdgeLazyPath with Cycle

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  2. class AnyEdgeLazyPath extends SimpleLazyPath

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

  3. abstract class Component extends Properties

    Represents a component of this graph by a lazy implementation.

  4. class ComponentImpl extends Component

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  5. case class ComponentTraverser(root: NodeT = emptyRoot, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.ComponentTraverser with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  6. type Config = CoreConfig

    Attributes
    protected
    Definition Classes
    DefaultGraphImplAdjacencyListBaseGraphLike
  7. trait Cycle extends Path

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

  8. type CycleStackElem = (NodeT, Iterable[EdgeT])

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  9. trait DegreeFunction extends ((GraphDegree.this)#NodeT) ⇒ Int

    Definition Classes
    GraphDegree
  10. type DegreeNodeSeqEntry = (Int, NodeT)

    Type alias for entries in degree maps returned by degreeSeqMap.

    Type alias for entries in degree maps returned by degreeSeqMap.

    Definition Classes
    GraphDegree
  11. final class DegreeOrdering extends Ordering[(GraphDegree.this)#NodeT]

    Decreasing ordering of nodes with respect to their degree.

  12. trait DownUpTraverser[A] extends AnyRef

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  13. trait Edge extends Serializable

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

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

    Definition Classes
    GraphBase
  16. class EdgeSet extends This.EdgeSet

    Definition Classes
    AdjacencyListGraph
    Annotations
    @SerialVersionUID()
  17. type EdgeSetT = EdgeSet

  18. type EdgeT = EdgeBase

    Definition Classes
    AdjacencyListGraphGraphBase
  19. sealed trait ElemOrdering extends AnyRef

    Base trait for graph Orderings.

  20. trait ExtendedNodeVisitor extends (NodeT) ⇒ VisitorReturn with (NodeT, Int, Int, ⇒ NodeInformer) ⇒ VisitorReturn

    Template for extended node visitors.

  21. trait Filter[T] extends (T) ⇒ Boolean

    Definition Classes
    GraphDegree
  22. abstract class FluentProperties[+This <: FluentProperties[This]] extends AnyRef

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

  23. trait Impl[A] extends AnyRef

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  24. trait InnerEdge extends Iterable[NodeT] with InnerEdgeParam[N, E, NodeT, E] with Edge with InnerElem

    Definition Classes
    GraphBase
  25. case class InnerEdgeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.InnerEdgeTraverser with Impl[EdgeT] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  26. sealed trait InnerElem extends AnyRef

    Definition Classes
    GraphBase
  27. case class InnerElemTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.InnerElemTraverser with Impl[InnerElem] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  28. trait InnerNode extends (AdjacencyListBase.this)#InnerNode

    Definition Classes
    AdjacencyListBase
  29. case class InnerNodeDownUpTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.InnerNodeDownUpTraverser with DownUpTraverser[(Boolean, NodeT)] with Impl[(Boolean, NodeT)] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  30. abstract class InnerNodeImpl extends This.NodeBase with This.InnerNode

    Definition Classes
    AdjacencyListGraph
  31. trait InnerNodeState extends AnyRef

    Definition Classes
    State
  32. trait InnerNodeTraversalImpl extends TraverserInnerNode with InnerNodeState

    Definition Classes
    GraphTraversalImpl
  33. case class InnerNodeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.InnerNodeTraverser with Impl[NodeT] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  34. abstract class LazyPath extends Path

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

  35. final class MapPathTraversable[T] extends Traversable[T]

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

  36. class MinWeightEdgeLazyPath extends SimpleLazyPath

    LazyPath with edges selected by minimal weight.

  37. class MultiEdgeLazyCycle extends MultiEdgeLazyPath with Cycle

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  38. class MultiEdgeLazyPath extends LazyPath

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

  39. sealed class NoOrdering extends ElemOrdering

    The empty ElemOrdering.

  40. trait Node extends Serializable

    Definition Classes
    GraphBase
  41. final class NodeBase extends InnerNodeImpl with InnerNodeTraversalImpl

    Attributes
    protected
    Annotations
    @SerialVersionUID()
  42. sealed trait NodeOrdering extends Ordering[NodeT] with ElemOrdering

    Ordering for the path dependent type NodeT.

  43. class NodeSet extends This.NodeSet

    Definition Classes
    AdjacencyListGraph
    Annotations
    @SerialVersionUID()
  44. type NodeSetT = NodeSet

  45. type NodeT = NodeBase

  46. case class OuterEdgeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.OuterEdgeTraverser with Impl[E[N]] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  47. case class OuterElemTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends Traverser[OuterElem[N, E], GraphTraversalImpl.OuterElemTraverser] with GraphTraversalImpl.OuterElemTraverser with Impl[OuterElem[N, E]] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  48. case class OuterNodeDownUpTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.OuterNodeDownUpTraverser with DownUpTraverser[(Boolean, N)] with Impl[(Boolean, N)] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  49. case class OuterNodeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (GraphTraversalImpl.EdgeT) ⇒ Boolean = anyEdge, ordering: GraphTraversalImpl.ElemOrdering = noOrdering) extends GraphTraversalImpl.OuterNodeTraverser with Impl[N] with Product with Serializable

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  50. trait Path extends Walk

    Represents a path in this graph where

  51. trait Properties extends AnyRef

    Properties controlling traversals.

  52. final class ReverseStackTraversable[S, T] extends Traversable[T]

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

  53. type Self = DefaultGraphImpl[N, E]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  54. abstract class SimpleLazyPath extends LazyPath

    LazyPath with deferred edges selection.

  55. type ThisGraph = DefaultGraphImpl.this.type

    Attributes
    protected
    Definition Classes
    GraphLike
  56. class Traversal extends GraphTraversalImpl.Traversal

    Definition Classes
    GraphTraversalImpl
  57. abstract class Traverser[A, +This <: Traverser[A, This]] extends TraverserMethods[A, This] with Properties with Traversable[A]

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

  58. trait TraverserInnerNode extends InnerNode

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

    The root-related methods Traverser will inherit.

  60. trait Walk extends Traversable[InnerElem]

    Represents a walk in this graph where

  61. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike
  62. trait ZeroWalk extends AnyRef

    Attributes
    protected
    Definition Classes
    GraphTraversal

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def &(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  4. def &~(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  5. def +(n: N): DefaultGraphImpl[N, E]

    Creates a new supergraph with an additional node, unless the node passed is already present.

    Creates a new supergraph with an additional node, unless the node passed is already present.

    returns

    the new supergraph containing all nodes and edges of this graph and node additionally.

    Definition Classes
    AdjacencyListGraphGraphLike
  6. def +(elem: Param[N, E]): DefaultGraphImpl[N, E]

    Creates a new supergraph with an additional node or edge, unless the node or edge passed is already present.

    Creates a new supergraph with an additional node or edge, unless the node or edge passed is already present.

    This method purely wraps +(node: N) respectively +(edge: E[N]) granting the same behavior.

    elem

    the wrapped node or edge to be added; ; if elem is of type N, the wrapped object is added to the node set otherwise to the edge set.

    returns

    a new supergraph containing all nodes and edges of this graph plus elem.

    Definition Classes
    GraphLike → SetLike → GenSetLike
  7. def +(elem1: Param[N, E], elem2: Param[N, E], elems: Param[N, E]*): DefaultGraphImpl[N, E]

    Definition Classes
    SetLike
  8. def +#(e: E[N]): DefaultGraphImpl[N, E]

    Creates a new supergraph with an additional edge, unless the edge passed is already present.

    Creates a new supergraph with an additional edge, unless the edge passed is already present.

    returns

    the new supergraph containing all nodes and edges of this graph plus edge.

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphGraphLike
  9. def ++(elems: GenTraversableOnce[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GraphLike → SetLike
  10. def ++[B >: Param[N, E], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  11. def ++:[B >: Param[N, E], That](that: Traversable[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike
  12. def ++:[B >: Param[N, E], That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike
  13. def -(n: N): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph except node and those edges which node is incident with.

    Creates a new subgraph consisting of all nodes and edges of this graph except node and those edges which node is incident with.

    returns

    the new subgraph of this graph after the "ripple" deletion of node.

    Definition Classes
    AdjacencyListGraphGraphLike
  14. def -(elem: Param[N, E]): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph except elem.

    Creates a new subgraph consisting of all nodes and edges of this graph except elem. If elem is of type N, this method maps to -(node: N). Otherwise the edge is deleted leaving the node set unchanged.

    elem

    node or edge to be removed.

    returns

    the new subgraph of this graph after the "ripple" deletion of the passed node or the simple deletion of the passed edge.

    Definition Classes
    GraphLike → SetLike → Subtractable → GenSetLike
  15. def -(elem1: Param[N, E], elem2: Param[N, E], elems: Param[N, E]*): DefaultGraphImpl[N, E]

    Definition Classes
    Subtractable
  16. def -!(elem: Param[N, E]): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph except elem.

    Creates a new subgraph consisting of all nodes and edges of this graph except elem. If elem is of type N, this method maps to -(node: N). Otherwise the edge is deleted along with those incident nodes which would become edge-less after deletion.

    elem

    node or edge to be removed.

    returns

    a new subgraph of this graph after the "ripple" deletion of the passed node or edge.

    Definition Classes
    GraphLike
  17. def -!#(e: E[N]): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph except edge and those nodes which are incident with edge and would become edge-less after deletion.

    Creates a new subgraph consisting of all nodes and edges of this graph except edge and those nodes which are incident with edge and would become edge-less after deletion.

    returns

    a new subgraph of this graph after the "ripple" deletion of edge from this graph.

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphGraphLike
  18. def -#(e: E[N]): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph but edge.

    Creates a new subgraph consisting of all nodes and edges of this graph but edge. The node set remains unchanged.

    returns

    a new subgraph of this graph that contains all nodes and edges of this graph except of edge.

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphGraphLike
  19. def --(elems: GenTraversableOnce[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GraphLike → Subtractable
  20. def --!(elems: GenTraversableOnce[Param[N, E]]): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph but the elements of coll which will be unconditionally removed.

    Creates a new subgraph consisting of all nodes and edges of this graph but the elements of coll which will be unconditionally removed. This operation differs from -- in that edges are deleted along with those incident nodes which would become isolated after deletion.

    returns

    the new subgraph containing all nodes and edges of this graph after the "ripple" deletion of nodes and the simple deletion of edges in coll .

    Definition Classes
    GraphLike
  21. def ->[B](y: B): (DefaultGraphImpl[N, E], B)

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to ArrowAssoc[DefaultGraphImpl[N, E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  22. def -?(n: N): DefaultGraphImpl[N, E]

    Creates a new subgraph consisting of all nodes and edges of this graph but node which is conditionally removed from this graph.

    Creates a new subgraph consisting of all nodes and edges of this graph but node which is conditionally removed from this graph. The removal only succeeds if the node is not incident with any edges or it is only incident with hooks.

    returns

    the new subgraph of this graph after the "gentle" deletion of node. If node could not be deleted, the new graph is a copy of this graph.

    Definition Classes
    AdjacencyListGraphGraphLike
  23. def /:[B](z: B)(op: (B, Param[N, E]) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def :\[B](z: B)(op: (Param[N, E], B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  26. object Degree extends (GraphDegree.this)#DegreeFunction

    Definition Classes
    GraphDegree
  27. object DegreeOrdering extends Serializable

    Definition Classes
    GraphDegree
  28. object Edge extends Serializable

    Definition Classes
    GraphBase
  29. object EdgeOrdering extends Serializable

    Ordering for the path dependent type EdgeT.

  30. object EdgeT

    Definition Classes
    GraphBase
  31. object ExtendedNodeVisitor

    Definition Classes
    GraphTraversal
  32. object InDegree extends (GraphDegree.this)#DegreeFunction

    Definition Classes
    GraphDegree
  33. object InnerEdge extends Serializable

    Definition Classes
    GraphBase
  34. object InnerNode extends Serializable

    Definition Classes
    GraphBase
  35. object IntReverseOrdering extends Ordering[Int]

    Decreasing ordering of integers.

  36. object Node extends Serializable

    Definition Classes
    GraphBase
  37. object NodeOrdering extends Serializable

    Definition Classes
    GraphBase
  38. object OutDegree extends (GraphDegree.this)#DegreeFunction

    Definition Classes
    GraphDegree
  39. object Path

    Definition Classes
    GraphTraversal
  40. object TraverserInnerNode extends Serializable

    Definition Classes
    GraphTraversal
  41. object Walk

    Definition Classes
    GraphTraversal
  42. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  43. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  44. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  45. def aggregate[B](z: ⇒ B)(seqop: (B, Param[N, E]) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def andThen[A](g: (Boolean) ⇒ A): (Param[N, E]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  47. final val anyEdge: (EdgeT) ⇒ Boolean

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

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

    Definition Classes
    GraphTraversal
  48. final val anyNode: (NodeT) ⇒ Boolean

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

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

    Definition Classes
    GraphTraversal
  49. final lazy val anyOrdering: AnyOrdering[N]

    Attributes
    protected
    Definition Classes
    GraphBase
  50. def apply(elem: Param[N, E]): Boolean

    Definition Classes
    GenSetLike → Function1
  51. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  52. def asSortedString(nodeSeparator: String = GraphBase.defaultSeparator, edgeSeparator: String = GraphBase.defaultSeparator, nodesEdgesSeparator: String = GraphBase.defaultSeparator, withNodesEdgesPrefix: Boolean = false)(implicit ordNode: NodeOrdering = defaultNodeOrdering, ordEdge: EdgeOrdering = defaultEdgeOrdering): String

    Sorts all nodes of this graph by ordNode followed by all edges sorted by ordEdge and concatinates their string representation nodeSeparator and edgeSeparator respectively.

    Sorts all nodes of this graph by ordNode followed by all edges sorted by ordEdge and concatinates their string representation nodeSeparator and edgeSeparator respectively.

    nodeSeparator

    to separate nodes by.

    edgeSeparator

    to separate edges by.

    nodesEdgesSeparator

    to separate nodes from edges by.

    withNodesEdgesPrefix

    whether the node and edge set should be prefixed.

    ordNode

    the node ordering defaulting to defaultNodeOrdering.

    ordEdge

    the edge ordering defaulting to defaultEdgeOrdering.

    Definition Classes
    GraphLike
  53. final def bulkOp(elems: GenTraversableOnce[Param[N, E]], isPlusPlus: Boolean): DefaultGraphImpl[N, E]

    Prepares and calls plusPlus or minusMinus.

    Prepares and calls plusPlus or minusMinus.

    Attributes
    protected
    Definition Classes
    GraphLike
  54. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  55. def clearNodeStates(flags: FlagWord, flagsExt: ExtBitSet): Unit

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def collect[B, That](pf: PartialFunction[Param[N, E], B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  58. def collectFirst[B](pf: PartialFunction[Param[N, E], B]): Option[B]

    Definition Classes
    TraversableOnce
  59. def companion: GenericCompanion[Set]

    Definition Classes
    Set → Set → GenSet → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  60. def componentTraverser(parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): ComponentTraverser

    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.

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  61. def compose[A](g: (A) ⇒ Param[N, E]): (A) ⇒ Boolean

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  62. implicit val config: DefaultGraphImpl.Config with AdjacencyListArrayConfig

    Definition Classes
    DefaultGraphImplGraphLike
  63. def contains(elem: Param[N, E]): Boolean

    Checks whether a given node or edge is contained in this graph.

    Checks whether a given node or edge is contained in this graph.

    elem

    the node or edge the existence of which is to be checked

    returns

    true if elem is contained in this graph

    Definition Classes
    GraphLike → SetLike → GenSetLike
  64. final def copy(nodes: Iterable[N], edges: Iterable[E[N]]): DefaultGraphImpl[N, E]

    Definition Classes
    DefaultGraphImplAdjacencyListGraph
    Annotations
    @inline()
  65. def copyToArray[B >: Param[N, E]](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  66. def copyToArray[B >: Param[N, E]](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def copyToArray[B >: Param[N, E]](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def copyToBuffer[B >: Param[N, E]](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  69. def count(p: (Param[N, E]) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. final def cycle(results: (Option[NodeT], ArrayStack[CycleStackElem]), edgeFilter: (EdgeT) ⇒ Boolean): Option[Cycle]

    Attributes
    protected
    Definition Classes
    GraphTraversalImpl
  71. final lazy val defaultEdgeOrdering: EdgeOrdering

    Definition Classes
    GraphBase
  72. final lazy val defaultNodeOrdering: NodeOrdering

    Definition Classes
    GraphBase
  73. final def defaultPathSize: Int

    Attributes
    protected
    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  74. def degreeCount(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): SortedMap[Int, Int]

    The degree set of this graph projected onto a map.

    The degree set of this graph projected onto a map. The keys of the map are the degrees in decreasing order while the values are the number of inner nodes having the degree of the corresponding key.

    Definition Classes
    GraphDegree
  75. def degreeNodeSeq(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Seq[DegreeNodeSeqEntry]

    The degree sequence of this graph projected onto a sequence of tuples.

    The degree sequence of this graph projected onto a sequence of tuples. The first elements of the tuples are the degrees in non-increasing order while the second elements are the corresponding inner nodes.

    Definition Classes
    GraphDegree
  76. def degreeNodesMap(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): SortedMap[Int, Set[NodeT]]

    The degree set of this graph projected onto a map.

    The degree set of this graph projected onto a map. The keys of the map are the degrees in decreasing order while the values are sets of the corresponding inner nodes.

    Definition Classes
    GraphDegree
  77. def degreeSeq(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Seq[Int]

    The degree sequence of this graph, that is the non-increasing sequence of degrees over all nodes.

    The degree sequence of this graph, that is the non-increasing sequence of degrees over all nodes.

    Definition Classes
    GraphDegree
  78. def degreeSet(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): SortedSet[Int]

    The degree set of this graph, that is the decreasing set of unique degrees over all nodes.

    The degree set of this graph, that is the decreasing set of unique degrees over all nodes. Same as degreeSeq without duplicates.

    Definition Classes
    GraphDegree
  79. def diff(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    SetLike → GenSetLike
  80. def drop(n: Int): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  81. def dropRight(n: Int): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike
  82. def dropWhile(p: (Param[N, E]) ⇒ Boolean): DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  83. def dump(store: FlagStore): ExtBitSet

    Attributes
    protected
    Definition Classes
    State
  84. def dumpDirty: ExtBitSet

    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
  85. def dumpInUse: ExtBitSet

    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
  86. def edgeIterator: GroupIterator[EdgeT] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    AdjacencyListBase
  87. implicit val edgeT: scala.reflect.api.JavaUniverse.TypeTag[E[N]]

    Definition Classes
    DefaultGraphImplGraphLike
  88. implicit final def edgeToEdgeCont(e: E[N]): E[NodeT]

    Attributes
    protected
    Definition Classes
    GraphBase
    Annotations
    @inline()
  89. final val edges: EdgeSet

    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
    DefaultGraphImplAdjacencyListGraphGraphBase
  90. final def empty: DefaultGraphImpl[N, E]

    Definition Classes
    DefaultGraphImplGraphGraph → SetLike → GenericSetTemplate
    Annotations
    @inline()
  91. def ensuring(cond: (DefaultGraphImpl[N, E]) ⇒ Boolean, msg: ⇒ Any): DefaultGraphImpl[N, E]

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

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

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

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

    Definition Classes
    AnyRef
  96. def equals(that: Any): Boolean

    Graph instances are equal if their nodes and edges turned to outer nodes and outer edges are equal.

    Graph instances are equal if their nodes and edges turned to outer nodes and outer edges are equal. Any TraversableOnce instance may also be equal to this graph if its set representation contains equalling outer nodes and outer edges. Thus the following expressions hold:

    Graph(1~2, 3) == List(1~2, 3)
    Graph(1~2, 3) == List(1, 2, 2, 3, 2~1)

    The first test is false because of the failing nodes 1 and 2. The second is true because of duplicate elimination and undirected edge equivalence.

    Definition Classes
    GraphLike → GenSetLike → Equals → AnyRef → Any
  97. def exists(p: (Param[N, E]) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  98. def filter(p: (Param[N, E]) ⇒ Boolean): DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  99. def filterNot(p: (Param[N, E]) ⇒ Boolean): DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  100. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  101. final def find(outerEdge: E[N]): Option[EdgeT]

    Searches for an edge node equaling to outerEdge in this graph.

    Searches for an edge node equaling to outerEdge in this graph.

    outerEdge

    the outer edge to search for in this graph.

    returns

    Some of the inner edge found or None.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  102. final def find(outerNode: N): Option[NodeT]

    Searches for an inner node equaling to outerNode in this graph.

    Searches for an inner node equaling to outerNode in this graph.

    returns

    Some of the inner node found or None.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  103. def find(p: (Param[N, E]) ⇒ Boolean): Option[Param[N, E]]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  104. final def findCycle(visitor: (InnerElem) ⇒ Unit): Option[Cycle]

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

    Finds a cycle in this graph and calls visitor for each inner element visited during the search. Use componentTraverser to pass non-default arguments.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  105. final def findCycle: Option[Cycle]

    Finds a cycle in this graph.

    Finds a cycle in this graph. Use componentTraverser to pass non-default arguments.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  106. def flatMap[B, That](f: (Param[N, E]) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  107. def flatten[B](implicit asTraversable: (Param[N, E]) ⇒ GenTraversableOnce[B]): Set[B]

    Definition Classes
    GenericTraversableTemplate
  108. def fold[A1 >: Param[N, E]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def foldLeft[B](z: B)(op: (B, Param[N, E]) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def foldRight[B](z: B)(op: (Param[N, E], B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  111. def forall(p: (Param[N, E]) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  112. def foreach[U](f: (Param[N, E]) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  113. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to StringFormat[DefaultGraphImpl[N, E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  114. final def from(that: AdjacencyListBase[N, E, DefaultGraphImpl])(delNodes: Iterable[AdjacencyListBase.NodeT] = Seq(), delEdges: Iterable[AdjacencyListBase.EdgeT] = Seq(), ripple: Boolean = false, addNodes: Iterable[N] = Seq(), addEdges: Iterable[E[N]] = Seq()): Unit

    Attributes
    protected
    Definition Classes
    AdjacencyListBase
    Annotations
    @inline()
  115. def genericBuilder[B]: Builder[B, Set[B]]

    Definition Classes
    GenericTraversableTemplate
  116. final def get(outerEdge: E[N]): EdgeT

    Searches for an inner edge equaling to outerEdge in this graph which must exist in this graph.

    Searches for an inner edge equaling to outerEdge in this graph which must exist in this graph.

    outerEdge

    the outer edge to search for in this graph.

    returns

    the inner edge if found. Otherwise NoSuchElementException is thrown.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  117. final def get(outerNode: N): NodeT

    Searches for an inner node equaling to outerNode in this graph which must exist in this graph.

    Searches for an inner node equaling to outerNode in this graph which must exist in this graph.

    outerNode

    the outer node to search for in this graph.

    returns

    the inner node if found. Otherwise NoSuchElementException is thrown.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  118. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  119. final def getOrElse(outerEdge: E[N], default: EdgeT): EdgeT

    Searches for an inner edge equaling to outerEdge in this graph.

    Searches for an inner edge equaling to outerEdge in this graph.

    outerEdge

    the outer edge to search for in this graph.

    default

    the inner edge to return if outerEdge cannot be found.

    returns

    the inner edge looked up or default if no inner edge equaling to edge could be found.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  120. final def getOrElse(outerNode: N, default: NodeT): NodeT

    Searches for an inner node equaling to outerNode in this graph.

    Searches for an inner node equaling to outerNode in this graph.

    outerNode

    the outer node to search for in this graph.

    default

    the inner node to return if outerNode is not contained.

    returns

    The inner node looked up or default if no inner node equaling to outerNode could be found.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  121. final val graphCompanion: DefaultGraphImpl.type

    The companion object of This.

    The companion object of This.

    Definition Classes
    DefaultGraphImplGraphLike
  122. def graphSize: Int

    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
  123. def groupBy[K](f: (Param[N, E]) ⇒ K): Map[K, DefaultGraphImpl[N, E]]

    Definition Classes
    TraversableLike → GenTraversableLike
  124. def grouped(size: Int): Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    IterableLike
  125. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  126. def hashCode(): Int

    Definition Classes
    GenSetLike → AnyRef → Any
  127. def having(node: (NodeT) ⇒ Boolean = _ => false, edge: (EdgeT) ⇒ Boolean = null): PartialFunction[Param[N, E], Boolean]

    Provides a shortcut for predicates involving any graph element.

    Provides a shortcut for predicates involving any graph element. In order to compute a subgraph of this graph, the result of this method may be passed to any graph-level method requiring a predicate such as count, exists, filter, filterNot, forall etc. For instance

    val g = Graph(2~>3, 3~>1, 5)
    g filter g.having(nodes = _ >= 2) // yields Graph(2, 3, 5, 2~>3)
    node

    The predicate that must hold for the nodes.

    edge

    The predicate that must hold for the edges. If omitted, all edges between nodes to be included by nodes will also be included.

    returns

    A partial function combining the passed predicates.

    Definition Classes
    GraphLike
  128. def head: Param[N, E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  129. def headOption: Option[Param[N, E]]

    Definition Classes
    TraversableLike → GenTraversableLike
  130. def init: DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  131. def initialize(nodes: Iterable[N], edges: Iterable[E[N]]): Unit

    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
  132. def inits: Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    TraversableLike
  133. def innerEdgeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): InnerEdgeTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  134. def innerElemTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): InnerElemTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  135. def innerNodeDownUpTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): InnerNodeDownUpTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  136. def innerNodeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): InnerNodeTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  137. def intersect(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  138. final def isAcyclic: Boolean

    Whether this graph has no cycle.

    Whether this graph has no cycle.

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

    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
  140. def isConnected: Boolean

    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
  141. final def isCustomEdgeFilter(f: (EdgeT) ⇒ Boolean): Boolean

    true if f is not equivalent to anyEdge.

    true if f is not equivalent to anyEdge.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  142. final def isCustomEdgeVisitor(v: (EdgeT) ⇒ Unit): Boolean

    true if v is not equivalent to noEdgeAction.

    true if v is not equivalent to noEdgeAction.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  143. final def isCustomNodeFilter(f: (NodeT) ⇒ Boolean): Boolean

    true if f is not equivalent to anyNode.

    true if f is not equivalent to anyNode.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  144. final def isCustomNodeUpVisitor(v: (NodeT) ⇒ Unit): Boolean

    true if v is not equivalent to noNodeUpAction.

    true if v is not equivalent to noNodeUpAction.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  145. final def isCustomNodeVisitor(v: (NodeT) ⇒ VisitorReturn): Boolean

    true if v is not equivalent to noNodeAction.

    true if v is not equivalent to noNodeAction.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  146. final def isCyclic: Boolean

    Whether this graph has at least one cycle.

    Whether this graph has at least one cycle.

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

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to OuterNode[DefaultGraphImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    Param
  148. lazy val isDirected: Boolean

    Definition Classes
    GraphLikeGraphBase
  149. def isEdge: Boolean

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

    Definition Classes
    SetLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  151. lazy val isHyper: Boolean

    Definition Classes
    GraphLikeGraphBase
  152. def isIn: Boolean

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

    Definition Classes
    Any
  154. def isNode: Boolean

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

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

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  157. final def isTrivial: Boolean

    true if this graph has at most 1 node.

    true if this graph has at most 1 node.

    Definition Classes
    GraphBase
    Annotations
    @inline()
  158. def iterator: Iterator[OutParam[N, E] with Serializable with InnerElem]

    Iterates over all nodes and all edges.

    Iterates over all nodes and all edges.

    returns

    iterator containing all nodes and all edges

    Definition Classes
    GraphLike → GenSetLike → IterableLike → GenIterableLike
  159. def last: Param[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  160. def lastOption: Option[Param[N, E]]

    Definition Classes
    TraversableLike → GenTraversableLike
  161. def map[B, That](f: (Param[N, E]) ⇒ B)(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    SetLike → TraversableLike → GenTraversableLike → FilterMonadic
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.

  162. def max[B >: Param[N, E]](implicit cmp: Ordering[B]): Param[N, E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  163. def maxBy[B](f: (Param[N, E]) ⇒ B)(implicit cmp: Ordering[B]): Param[N, E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  164. def maxDegree(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Int

    The degree of the node having the highest degree or 0 if this graph is empty.

    The degree of the node having the highest degree or 0 if this graph is empty.

    Definition Classes
    GraphDegree
  165. def min[B >: Param[N, E]](implicit cmp: Ordering[B]): Param[N, E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  166. def minBy[B](f: (Param[N, E]) ⇒ B)(implicit cmp: Ordering[B]): Param[N, E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  167. def minDegree(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Int

    The degree of the node having the least degree or 0 if this graph is empty.

    The degree of the node having the least degree or 0 if this graph is empty.

    Definition Classes
    GraphDegree
  168. def minusMinus(delNodes: Iterable[N], delEdges: Iterable[E[N]]): DefaultGraphImpl[N, E]

    Implements the heart of -- calling the from factory method of the companion object.

    Implements the heart of -- calling the from factory method of the companion object. Note that this method must be reimplemented in each module having its own factory methods such as constrained does.

    Attributes
    protected
    Definition Classes
    GraphLike
  169. def minusMinusNodesEdges(delNodes: Iterable[N], delEdges: Iterable[E[N]]): (Set[N], Set[E[N]])

    Calculates the nodes and edges arguments to be passed to a factory method when delNodes and delEdges are to be deleted by --.

    Calculates the nodes and edges arguments to be passed to a factory method when delNodes and delEdges are to be deleted by --.

    Attributes
    protected
    Definition Classes
    GraphLike
  170. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  171. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  172. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  173. val n1: DefaultGraphImpl[N, E]

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

    Definition Classes
    AnyRef
  175. def newBuilder: GraphBuilder[N, E, DefaultGraphImpl]

    Attributes
    protected[this]
    Definition Classes
    DefaultGraphImpl → SetLike → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  176. final def newEdge(innerEdge: E[NodeT]): EdgeBase

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphGraphBase
    Annotations
    @inline()
  177. final def newEdgeTArray(size: Int): Array[EdgeT]

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphAdjacencyListBase
    Annotations
    @inline()
  178. final def newNode(n: N): NodeT

    Attributes
    protected
    Definition Classes
    AdjacencyListBaseGraphBase
    Annotations
    @inline()
  179. final def newNodeSet: NodeSetT

    Definition Classes
    DefaultGraphImplAdjacencyListBase
    Annotations
    @inline()
  180. final def newNodeWithHints(n: N, h: Hints): NodeBase

    Attributes
    protected
    Definition Classes
    DefaultGraphImplAdjacencyListBase
    Annotations
    @inline()
  181. def newTraversal(direction: Direction = Successors, nodeFilter: (NodeT) ⇒ Boolean = anyNode, edgeFilter: (EdgeT) ⇒ Boolean = anyEdge, nodeVisitor: (NodeT) ⇒ VisitorReturn = noNodeAction, edgeVisitor: (EdgeT) ⇒ Unit = noEdgeAction, ordering: ElemOrdering = noOrdering): Traversal

    Creates a Traversal instance allowing subsequent traversals with constant filters and visitors.

    Creates a Traversal instance allowing subsequent traversals with constant filters and visitors.

    direction

    Determines which connected nodes the traversal has to follow. The default value is Successors.

    nodeFilter

    Predicate to filter the nodes to be visited during traversal. The default value is anyNode, that is no filtering. A return of true signals that the traversal is to be canceled.

    edgeFilter

    Predicate to filter the edges to be visited during traversal. The default value is anyEdge meaning that no filtering takes place.

    nodeVisitor

    Function to be called on visiting a node for the first time during a traversal. It can mutate the node or carry out any other side effect. The default value is the empty function noNodeAction. Alternatively, an instance of ExtendedNodeVisitor may be passed to obtain additional state information such as the current depth. The concrete type of the last argument, the informer depends on the underlying implementation so you need to match against it. Concerning this method please match against scalax.collection.GraphTraversalImpl.DfsInformer or scalax.collection.GraphTraversalImpl.BfsInformer depending on the breadthFirst argument.

    edgeVisitor

    Function to be called on visiting an edge. It can mutate the node or carry out any other side effect. The default value is the empty function noEdgeAction.

    ordering

    If a NodeOrdering or EdgeOrdering different from noOrdering is supplied neighbor nodes will be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  182. def nextHandle: Handle

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

    Attributes
    protected
    Definition Classes
    State
  183. final val noEdgeAction: (EdgeT) ⇒ Unit

    Default edge visitor doing nothing (non-visitor).

    Default edge visitor doing nothing (non-visitor).

    Definition Classes
    GraphTraversal
  184. final val noNode: (NodeT) ⇒ Boolean

    Node predicate always returning false.

    Node predicate always returning false.

    Definition Classes
    GraphTraversal
  185. final val noNodeAction: (NodeT) ⇒ GraphTraversal.VisitorReturn.Value

    Default node visitor doing nothing (non-visitor).

    Default node visitor doing nothing (non-visitor).

    Definition Classes
    GraphTraversal
  186. final val noNodeUpAction: (NodeT) ⇒ Unit

    Default node-up visitor doing nothing (non-visitor).

    Default node-up visitor doing nothing (non-visitor).

    Definition Classes
    GraphTraversal
  187. final val noOrdering: NoOrdering

    Definition Classes
    GraphBase
  188. final val nodes: NodeSetT

    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
    DefaultGraphImplAdjacencyListGraphGraphBase
  189. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  190. final def nonTrivial: Boolean

    true if this graph has at least 2 nodes.

    true if this graph has at least 2 nodes.

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

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

    Definition Classes
    AnyRef
  193. def order: Int

    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
  194. def outerEdgeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): OuterEdgeTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  195. def outerElemTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): OuterElemTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  196. def outerNodeDownUpTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): OuterNodeDownUpTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  197. def outerNodeTraverser(root: NodeT, parameters: Parameters = Parameters(), subgraphNodes: (NodeT) ⇒ Boolean = anyNode, subgraphEdges: (EdgeT) ⇒ Boolean = anyEdge, ordering: ElemOrdering = noOrdering): OuterNodeTraverser

    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 be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    Definition Classes
    GraphTraversalImplGraphTraversal
  198. def par: ParSet[Param[N, E]]

    Definition Classes
    Parallelizable
  199. def parCombiner: Combiner[Param[N, E], ParSet[Param[N, E]]]

    Attributes
    protected
    Definition Classes
    Set → SetLike → Iterable → TraversableLike → Parallelizable
  200. final def partition(elems: GenTraversableOnce[Param[N, E]]): Partitions[N, E]

    Attributes
    protected
    Definition Classes
    GraphLike
  201. def partition(p: (Param[N, E]) ⇒ Boolean): (DefaultGraphImpl[N, E], DefaultGraphImpl[N, E])

    Definition Classes
    TraversableLike → GenTraversableLike
  202. def plusPlus(newNodes: Iterable[N], newEdges: Iterable[E[N]]): DefaultGraphImpl[N, E]

    Implements the heart of ++ calling the from factory method of the companion object.

    Implements the heart of ++ calling the from factory method of the companion object. Note that this method must be reimplemented in each module having its own factory methods such as constrained does.

    Attributes
    protected
    Definition Classes
    GraphLike
  203. def product[B >: Param[N, E]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  204. def reduce[A1 >: Param[N, E]](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  205. def reduceLeft[B >: Param[N, E]](op: (B, Param[N, E]) ⇒ B): B

    Definition Classes
    TraversableOnce
  206. def reduceLeftOption[B >: Param[N, E]](op: (B, Param[N, E]) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  207. def reduceOption[A1 >: Param[N, E]](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  208. def reduceRight[B >: Param[N, E]](op: (Param[N, E], B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  209. def reduceRightOption[B >: Param[N, E]](op: (Param[N, E], B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  210. def releaseHandle(handle: Handle): Unit

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

    Attributes
    protected
    Definition Classes
    State
  211. def repr: DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  212. def reversed: List[Param[N, E]]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  213. def sameElements[B >: Param[N, E]](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  214. def scan[B >: Param[N, E], That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  215. def scanLeft[B, That](z: B)(op: (B, Param[N, E]) ⇒ B)(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  216. def scanRight[B, That](z: B)(op: (Param[N, E], B) ⇒ B)(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  217. def seq: Set[Param[N, E]]

    Definition Classes
    Set → Set → GenSet → GenSetLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  218. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  219. def slice(from: Int, until: Int): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  220. def sliding(size: Int, step: Int): Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    IterableLike
  221. def sliding(size: Int): Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    IterableLike
  222. def span(p: (Param[N, E]) ⇒ Boolean): (DefaultGraphImpl[N, E], DefaultGraphImpl[N, E])

    Definition Classes
    TraversableLike → GenTraversableLike
  223. def splitAt(n: Int): (DefaultGraphImpl[N, E], DefaultGraphImpl[N, E])

    Definition Classes
    TraversableLike → GenTraversableLike
  224. def stringPrefix: String

    Definition Classes
    GraphLike → SetLike → TraversableLike → GenTraversableLike
  225. def subsetOf(that: GenSet[Param[N, E]]): Boolean

    Definition Classes
    GenSetLike
  226. def subsets: Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    SetLike
  227. def subsets(len: Int): Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    SetLike
  228. def sum[B >: Param[N, E]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  229. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  230. def tail: DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  231. def tails: Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    TraversableLike
  232. def take(n: Int): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  233. def takeRight(n: Int): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike
  234. def takeWhile(p: (Param[N, E]) ⇒ Boolean): DefaultGraphImpl[N, E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  235. def thisCollection: Iterable[Param[N, E]]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  236. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Param[N, E], Col[Param[N, E]]]): Col[Param[N, E]]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  237. def toArray[B >: Param[N, E]](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  238. def toBuffer[A1 >: Param[N, E]]: Buffer[A1]

    Definition Classes
    SetLike → TraversableOnce → GenTraversableOnce
  239. def toCollection(repr: DefaultGraphImpl[N, E]): Iterable[Param[N, E]]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  240. def toIndexedSeq: IndexedSeq[Param[N, E]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  241. def toIterable: Iterable[Param[N, E]]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  242. def toIterator: Iterator[Param[N, E]]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  243. def toList: List[Param[N, E]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  244. def toMap[T, U](implicit ev: <:<[Param[N, E], (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  245. def toParArray: ParArray[T]

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

    Definition Classes
    SetLike → TraversableOnce → GenTraversableOnce
  247. def toSet[B >: Param[N, E]]: Set[B]

    Definition Classes
    Set → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  248. def toSortedString(nodeSeparator: String = GraphBase.defaultSeparator, edgeSeparator: String = GraphBase.defaultSeparator, nodesEdgesSeparator: String = GraphBase.defaultSeparator, withNodesEdgesPrefix: Boolean = false)(implicit ordNode: NodeOrdering = defaultNodeOrdering, ordEdge: EdgeOrdering = defaultEdgeOrdering): String

    Same as asSortedString but additionally prefixed and parenthesized by stringPrefix.

    Same as asSortedString but additionally prefixed and parenthesized by stringPrefix.

    Definition Classes
    GraphLike
  249. def toStream: Stream[Param[N, E]]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  250. def toString(): String

    Ensures sorted nodes/edges unless this Graph has more than 100 elements.

    Ensures sorted nodes/edges unless this Graph has more than 100 elements. See also asSortedString and toSortedString.

    Definition Classes
    GraphLike → SetLike → Function1 → TraversableLike → AnyRef → Any
  251. def toTraversable: Traversable[Param[N, E]]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  252. def toVector: Vector[Param[N, E]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  253. def totalDegree(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Int

    The total degree of this graph equaling to the sum of the degrees over all nodes or 0 if this graph is empty.

    The total degree of this graph equaling to the sum of the degrees over all nodes or 0 if this graph is empty.

    nodeDegree

    the degree function to apply to the nodes defaulting to Degree. Non-default predefined degree functions are InDegree and OutDegree.

    degreeFilter

    selects nodes to be included by their degree.

    Definition Classes
    GraphDegree
  254. def totalWeight: Long

    Definition Classes
    GraphBase
  255. def transpose[B](implicit asTraversable: (Param[N, E]) ⇒ GenTraversableOnce[B]): Set[Set[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  256. def union(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    SetLike → GenSetLike
  257. def unzip[A1, A2](implicit asPair: (Param[N, E]) ⇒ (A1, A2)): (Set[A1], Set[A2])

    Definition Classes
    GenericTraversableTemplate
  258. def unzip3[A1, A2, A3](implicit asTriple: (Param[N, E]) ⇒ (A1, A2, A3)): (Set[A1], Set[A2], Set[A3])

    Definition Classes
    GenericTraversableTemplate
  259. val value: DefaultGraphImpl[N, E]

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to OuterNode[DefaultGraphImpl[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
    Definition Classes
    OuterNodeNodeParam
  260. def view(from: Int, until: Int): IterableView[Param[N, E], DefaultGraphImpl[N, E]]

    Definition Classes
    IterableLike → TraversableLike
  261. def view: IterableView[Param[N, E], DefaultGraphImpl[N, E]]

    Definition Classes
    IterableLike → TraversableLike
  262. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  265. def withFilter(p: (Param[N, E]) ⇒ Boolean): FilterMonadic[Param[N, E], DefaultGraphImpl[N, E]]

    Definition Classes
    TraversableLike → FilterMonadic
  266. def withHandle[T](reuse: Option[Handle] = None)(block: (Handle) ⇒ T): T

    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
  267. def withHandles[T](nr: Int, reuse: Array[Handle] = Array.empty[Handle])(block: (Array[Handle]) ⇒ T): T

    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
  268. def zip[A1 >: Param[N, E], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  269. def zipAll[B, A1 >: Param[N, E], That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  270. def zipWithIndex[A1 >: Param[N, E], That](implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  271. def |(that: GenSet[Param[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  272. def ~[N >: N1, N2 <: N](n2: N2): UnDiEdge[N]

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

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

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

Shadowed Implicit Value Members

  1. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to any2stringadd[DefaultGraphImpl[N, E]] performed by method any2stringadd in scala.Predef.
    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:
    (defaultGraphImpl: any2stringadd[DefaultGraphImpl[N, E]]).+(other)
    Definition Classes
    any2stringadd
  2. def andThen[A](g: (Boolean) ⇒ A): (Param[Param[N, E], EI]) ⇒ A

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (defaultGraphImpl: (Param[Param[N, E], EI]) ⇒ Boolean).andThen(g)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  3. def apply(v1: Param[Param[N, E], EI]): Boolean

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (defaultGraphImpl: (Param[Param[N, E], EI]) ⇒ Boolean).apply(v1)
    Definition Classes
    Function1
  4. def compose[A](g: (A) ⇒ Param[Param[N, E], EI]): (A) ⇒ Boolean

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (defaultGraphImpl: (Param[Param[N, E], EI]) ⇒ Boolean).compose(g)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def filter(p: (Param[N, E]) ⇒ Boolean): TraversableOnce[Param[N, E]]

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (defaultGraphImpl: MonadOps[Param[N, E]]).filter(p)
    Definition Classes
    MonadOps
  6. def flatMap[B](f: (Param[N, E]) ⇒ GenTraversableOnce[B]): TraversableOnce[B]

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (defaultGraphImpl: MonadOps[Param[N, E]]).flatMap(f)
    Definition Classes
    MonadOps
  7. def map[B](f: (Param[N, E]) ⇒ B): TraversableOnce[B]

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (defaultGraphImpl: MonadOps[Param[N, E]]).map(f)
    Definition Classes
    MonadOps
  8. def stringPrefix: String

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to OuterNode[DefaultGraphImpl[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:
    (defaultGraphImpl: OuterNode[DefaultGraphImpl[N, E]]).stringPrefix
    Definition Classes
    NodeParam
  9. def toString(): String

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

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to (Param[Param[N, E], EI]) ⇒ Boolean performed by method predicateToNodePredicate 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:
    (defaultGraphImpl: (Param[Param[N, E], EI]) ⇒ Boolean).toString()
    Definition Classes
    Function1 → AnyRef → Any
  11. def withFilter(p: (Param[N, E]) ⇒ Boolean): Iterator[Param[N, E]]

    Implicit information
    This member is added by an implicit conversion from DefaultGraphImpl[N, E] to MonadOps[Param[N, E]] performed by method MonadOps in scala.collection.TraversableOnce.
    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:
    (defaultGraphImpl: MonadOps[Param[N, E]]).withFilter(p)
    Definition Classes
    MonadOps

Deprecated Value Members

  1. def findCycle(nodeFilter: (NodeT) ⇒ Boolean = anyNode, edgeFilter: (EdgeT) ⇒ Boolean = anyEdge, maxDepth: Int = 0, nodeVisitor: (NodeT) ⇒ VisitorReturn = noNodeAction, edgeVisitor: (EdgeT) ⇒ Unit = noEdgeAction, ordering: ElemOrdering = noOrdering): Option[Cycle]

    Finds a cycle in this graph taking optional filters and visitors into account.

    Finds a cycle in this graph taking optional filters and visitors into account., if any.

    nodeFilter

    Predicate to filter the nodes to be visited during traversal. The default value is anyNode, that is no filtering. A return of true signals that the traversal is to be canceled.

    edgeFilter

    Predicate to filter the edges to be visited during traversal. The default value is anyEdge meaning that no filtering takes place.

    maxDepth

    A positive value limiting the number of layers for Bfs respectively the number of consecutive child visits before siblings are visited for Dfs. 0, the default value, indicates that the traversal should have an unlimited depth meaning that it will be continued until either it's canceled or all nodes have been visited.

    nodeVisitor

    Function to be called on visiting a node for the first time during a traversal. It can mutate the node or carry out any other side effect. The default value is the empty function noNodeAction. Alternatively, an instance of ExtendedNodeVisitor may be passed to obtain additional state information such as the current depth. The concrete type of the last argument, the informer depends on the underlying implementation so you need to match against it. Concerning this method please match against scalax.collection.GraphTraversalImpl.WgbInformer.

    edgeVisitor

    Function to be called on visiting an edge. It can mutate the node or carry out any other side effect. The default value is the empty function noEdgeAction.

    ordering

    If a NodeOrdering or EdgeOrdering different from noOrdering is supplied neighbor nodes will be sorted during the traversal. Thus it is guaranteed that the smaller an element's ranking the sooner it will be processed. In case of EdgeOrdering it is guaranteed that the smaller an edge's ranking the sooner its relevant end(s) will be processed.

    returns

    A cycle or None if either

    1. there exists no cycle in this graph or
    2. there exists a cycle in this graph but due to the given filtering conditions or a Cancel return by a visitor this cycle had to be disregarded.
    Definition Classes
    GraphTraversal
    Annotations
    @deprecated
    Deprecated

    (Since version 1.8.0) Use componentTraverser instead.

Inherited from GraphTraversalImpl[N, E]

Inherited from State[N, E]

Inherited from AdjacencyListGraph[N, E, DefaultGraphImpl]

Inherited from AdjacencyListBase[N, E, DefaultGraphImpl]

Inherited from Graph[N, E]

Inherited from collection.Graph[N, E]

Inherited from GraphLike[N, E, DefaultGraphImpl]

Inherited from GraphDegree[N, E]

Inherited from GraphTraversal[N, E]

Inherited from GraphBase[N, E]

Inherited from Serializable

Inherited from Serializable

Inherited from Set[Param[N, E]]

Inherited from Set[Param[N, E]]

Inherited from SetLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from Subtractable[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from GenSet[Param[N, E]]

Inherited from GenericSetTemplate[Param[N, E], Set]

Inherited from GenSetLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from (Param[N, E]) ⇒ Boolean

Inherited from Iterable[Param[N, E]]

Inherited from Iterable[Param[N, E]]

Inherited from IterableLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from Equals

Inherited from GenIterable[Param[N, E]]

Inherited from GenIterableLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from Traversable[Param[N, E]]

Inherited from Immutable

Inherited from Traversable[Param[N, E]]

Inherited from GenTraversable[Param[N, E]]

Inherited from GenericTraversableTemplate[Param[N, E], Set]

Inherited from TraversableLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from GenTraversableLike[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from Parallelizable[Param[N, E], ParSet[Param[N, E]]]

Inherited from TraversableOnce[Param[N, E]]

Inherited from GenTraversableOnce[Param[N, E]]

Inherited from FilterMonadic[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from HasNewBuilder[Param[N, E], DefaultGraphImpl[N, E]]

Inherited from AnyRef

Inherited from Any

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

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

Inherited by implicit conversion MonadOps from DefaultGraphImpl[N, E] to MonadOps[Param[N, E]]

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

Inherited by implicit conversion predicateToNodePredicate from DefaultGraphImpl[N, E] to (Param[Param[N, E], EI]) ⇒ Boolean

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

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

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

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

Inherited by implicit conversion alternateImplicit from DefaultGraphImpl[N, E] to ForceImplicitAmbiguity

Ungrouped