scalax.collection.mutable

DefaultGraphImpl

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

Annotations
@SerialVersionUID( 73L )
Linear Supertypes
GraphTraversalImpl[N, E], State[N, E], AdjacencyListGraph[N, E, DefaultGraphImpl], AdjacencyListBase[N, E, DefaultGraphImpl], Graph[N, E], GraphLike[N, E, DefaultGraphImpl], Mutable, EdgeOps[N, E, DefaultGraphImpl], Cloneable[Graph[N, E]], Cloneable, Cloneable, Shrinkable[GraphParam[N, E]], Growable[GraphParam[N, E]], Clearable, GraphAux[N, E], collection.Graph[N, E], collection.GraphLike[N, E, DefaultGraphImpl], GraphDegree[N, E], GraphTraversal[N, E], GraphBase[N, E], Serializable, Serializable, Set[GraphParam[N, E]], Set[GraphParam[N, E]], SetLike[GraphParam[N, E], DefaultGraphImpl[N, E]], Subtractable[GraphParam[N, E], DefaultGraphImpl[N, E]], GenSet[GraphParam[N, E]], GenericSetTemplate[GraphParam[N, E], Set], GenSetLike[GraphParam[N, E], DefaultGraphImpl[N, E]], (GraphParam[N, E]) ⇒ Boolean, Iterable[GraphParam[N, E]], Iterable[GraphParam[N, E]], IterableLike[GraphParam[N, E], DefaultGraphImpl[N, E]], Equals, GenIterable[GraphParam[N, E]], GenIterableLike[GraphParam[N, E], DefaultGraphImpl[N, E]], Traversable[GraphParam[N, E]], Immutable, Traversable[GraphParam[N, E]], GenTraversable[GraphParam[N, E]], GenericTraversableTemplate[GraphParam[N, E], Set], TraversableLike[GraphParam[N, E], DefaultGraphImpl[N, E]], GenTraversableLike[GraphParam[N, E], DefaultGraphImpl[N, E]], Parallelizable[GraphParam[N, E], ParSet[GraphParam[N, E]]], TraversableOnce[GraphParam[N, E]], GenTraversableOnce[GraphParam[N, E]], FilterMonadic[GraphParam[N, E], DefaultGraphImpl[N, E]], HasNewBuilder[GraphParam[N, E], DefaultGraphImpl[N, E]], AnyRef, Any
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. GraphLike
  8. Mutable
  9. EdgeOps
  10. Cloneable
  11. Cloneable
  12. Cloneable
  13. Shrinkable
  14. Growable
  15. Clearable
  16. GraphAux
  17. Graph
  18. GraphLike
  19. GraphDegree
  20. GraphTraversal
  21. GraphBase
  22. Serializable
  23. Serializable
  24. Set
  25. Set
  26. SetLike
  27. Subtractable
  28. GenSet
  29. GenericSetTemplate
  30. GenSetLike
  31. Function1
  32. Iterable
  33. Iterable
  34. IterableLike
  35. Equals
  36. GenIterable
  37. GenIterableLike
  38. Traversable
  39. Immutable
  40. Traversable
  41. GenTraversable
  42. GenericTraversableTemplate
  43. TraversableLike
  44. GenTraversableLike
  45. Parallelizable
  46. TraversableOnce
  47. GenTraversableOnce
  48. FilterMonadic
  49. HasNewBuilder
  50. AnyRef
  51. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultGraphImpl(nodeStreams: Iterable[NodeInputStream[N]], nodes: Iterable[N], edgeStreams: Iterable[GenEdgeInputStream[N, E]], edges: Iterable[E[N]])(implicit edgeManifest: Manifest[E[N]], config: DefaultGraphImpl.Config)

  2. new DefaultGraphImpl(iniNodes: Iterable[N] = scala.this.Predef.Set.apply[N](), iniEdges: Iterable[E[N]] = scala.this.Predef.Set.apply[E[N]]())(implicit edgeManifest: Manifest[E[N]], config: DefaultGraphImpl.Config with AdjacencyListArrayConfig)

Type Members

  1. type Config = CoreConfig

    Attributes
    protected
    Definition Classes
    DefaultGraphImplAdjacencyListBaseGraphLike
  2. trait Cycle extends Path

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

  3. class CycleBuffer extends PathBuffer with Cycle

    Definition Classes
    GraphTraversalImpl
  4. trait DegreeFunction extends ((GraphDegree.this)#NodeT) ⇒ Int

    Definition Classes
    GraphDegree
  5. 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
  6. final class DegreeOrdering extends Ordering[(GraphDegree.this)#NodeT]

    Decreasing ordering of nodes with respect to their degree.

  7. trait Edge extends Serializable

    Definition Classes
    GraphBase
  8. class EdgeBase extends InnerEdge with InnerEdgeLike

    Definition Classes
    GraphBase
  9. class EdgeImpl extends This.EdgeBase

    Definition Classes
    AdjacencyListGraph
    Annotations
    @SerialVersionUID( 7972L )
  10. sealed trait EdgeOrdering extends Ordering[EdgeT] with ElemOrdering

    Definition Classes
    GraphBase
  11. class EdgeSet extends This.EdgeSet with This.EdgeSet

    Definition Classes
    AdjacencyListGraphAdjacencyListBaseGraphLikeGraphLikeGraphBase
    Annotations
    @SerialVersionUID( 7974L )
  12. trait EdgeSetAux extends EdgeSet

    Definition Classes
    GraphAux
  13. type EdgeSetT = EdgeSet

  14. type EdgeT = EdgeImpl

    Definition Classes
    AdjacencyListGraphGraphBase
  15. sealed trait ElemOrdering extends AnyRef

    Base trait for graph Orderings.

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

    Template for extended node visitors.

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

    Definition Classes
    GraphDegree
  18. type InnerEdge = EdgeOut[N, E, NodeT, E]

    Attributes
    protected
    Definition Classes
    GraphBase
  19. trait InnerEdgeLike extends Iterable[NodeT] with Edge

    Definition Classes
    GraphBase
  20. abstract class InnerNodeImpl extends This.NodeBase with This.InnerNodeLike with This.InnerNodeLike

    Definition Classes
    AdjacencyListGraph
  21. trait InnerNodeLike extends (AdjacencyListBase.this)#InnerNodeLike

    Definition Classes
    AdjacencyListBaseGraphLikeGraphTraversalGraphBase
  22. trait InnerNodeOps extends AnyRef

    Definition Classes
    EdgeOps
  23. trait InnerNodeState extends AnyRef

    Definition Classes
    State
  24. trait InnerNodeTraversalImpl extends InnerNodeLike with InnerNodeState

    Definition Classes
    GraphTraversalImpl
  25. sealed class NoOrdering extends ElemOrdering

    The empty ElemOrdering.

  26. trait Node extends Serializable

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

    Attributes
    protected
    Definition Classes
    DefaultGraphImplGraphLikeGraphBase
    Annotations
    @SerialVersionUID( 7370L )
  28. sealed trait NodeOrdering extends Ordering[NodeT] with ElemOrdering

    Ordering for the path dependent type NodeT.

  29. class NodeSet extends This.NodeSet with This.NodeSet

    Definition Classes
    AdjacencyListGraphAdjacencyListBaseGraphLikeGraphLikeGraphBase
    Annotations
    @SerialVersionUID( 7970L )
  30. trait NodeSetAux extends NodeSet

    Definition Classes
    GraphAux
  31. type NodeSetT = NodeSet

  32. type NodeT = NodeBase

  33. trait Path extends Iterable[GraphParamOut[N, E]]

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

  34. class PathBuffer extends Path

    Serves as a buffer to be populated by graph algorithms yielding a Path.

  35. type Self = DefaultGraphImpl[N, E]

    Attributes
    protected
    Definition Classes
    TraversableLike
  36. type ThisGraph = DefaultGraphImpl.this.type

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

    Abstract class for functional traversals.

  38. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

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

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

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    GenSetLike
  5. def &=(coll: Iterable[GraphParam[N, E]]): DefaultGraphImpl[N, E]

    Shrinks this graph to its intersection with coll.

    Shrinks this graph to its intersection with coll.

    coll

    Collection of nodes and/or edges to intersect with;

    returns

    this graph shrinked by the nodes and edges not contained in coll.

    Definition Classes
    GraphLike
  6. def &~(that: GenSet[GraphParam[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  7. def +(node: 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.

    node

    the node to be added

    returns

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

    Definition Classes
    GraphLikeGraphLike
  8. def +(elem: GraphParam[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
  9. def +(elem1: GraphParam[N, E], elem2: GraphParam[N, E], elems: GraphParam[N, E]*): DefaultGraphImpl[N, E]

    Definition Classes
    SetLike
  10. final def +#(edge: 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.

    edge

    the edge to be added

    returns

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

    Attributes
    protected
    Definition Classes
    GraphLikeGraphLike
    Annotations
    @inline()
  11. def ++(elems: GenTraversableOnce[GraphParam[N, E]]): DefaultGraphImpl[N, E]

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

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

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

    Definition Classes
    TraversableLike
  15. def ++=(xs: TraversableOnce[GraphParam[N, E]]): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike → Growable
  16. def +=(elem: GraphParam[N, E]): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike → Growable
  17. final def +=(node: N): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike
    Annotations
    @inline()
  18. def +=(elem1: GraphParam[N, E], elem2: GraphParam[N, E], elems: GraphParam[N, E]*): DefaultGraphImpl.this.type

    Definition Classes
    Growable
  19. final def +=#(edge: E[N]): DefaultGraphImpl.this.type

    Attributes
    protected
    Definition Classes
    AdjacencyListGraphGraphLike
    Annotations
    @inline()
  20. final def +~%+=[EE[X] <: E[X] with EdgeLikeIn[X] with WLHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(weight: Long, label: L)(implicit edgeFactory: WLHyperEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addWLEdge(node_1, node_2, nodes)(weight, label) except for the returned result.

    Same as addWLEdge(node_1, node_2, nodes)(weight, label) except for the returned result.

    returns

    This mutable graph containing the hyperedge that has been created or found. to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  21. final def +~%+=[EE[X] <: E[X] with EdgeLikeIn[X] with WLEdgeBound[_, EE], L](node_1: N, node_2: N)(weight: Long, label: L)(implicit edgeFactory: WLEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addWLEdge(node_1, node_2)(weight, label) except for the returned result.

    Same as addWLEdge(node_1, node_2)(weight, label) except for the returned result.

    returns

    This mutable graph containing the edge that has been created or found.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  22. final def +~%=[EE[X] <: E[X] with EdgeLikeIn[X] with WHyperEdgeBound[_, EE]](node_1: N, node_2: N, nodes: N*)(weight: Long)(implicit edgeFactory: WHyperEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addWEdge(node_1, node_2, nodes)(weight) except for the returned result.

    Same as addWEdge(node_1, node_2, nodes)(weight) except for the returned result.

    returns

    This mutable graph containing the hyperedge that has been created or found. to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  23. final def +~%=[EE[X] <: E[X] with EdgeLikeIn[X] with WEdgeBound[_, EE]](node_1: N, node_2: N)(weight: Long)(implicit edgeFactory: WEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addWEdge(node_1, node_2)(weight) except for the returned result.

    Same as addWEdge(node_1, node_2)(weight) except for the returned result.

    returns

    This mutable graph containing the edge that has been created or found.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  24. final def +~+=[EE[X] <: E[X] with EdgeLikeIn[X] with LHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(label: L)(implicit edgeFactory: LHyperEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addLEdge(node_1, node_2, nodes)(label) except for the returned result.

    Same as addLEdge(node_1, node_2, nodes)(label) except for the returned result.

    returns

    This mutable graph containing the hyperedge that has been created or found. to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  25. final def +~+=[EE[X] <: E[X] with EdgeLikeIn[X] with LEdgeBound[_, EE], L](node_1: N, node_2: N)(label: L)(implicit edgeFactory: LEdgeCompanion[EE]): DefaultGraphImpl.this.type

    Same as addLEdge(node_1, node_2)(label) except for the returned result.

    Same as addLEdge(node_1, node_2)(label) except for the returned result.

    returns

    This mutable graph containing the edge that has been created or found.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  26. final def +~=(node_1: N, node_2: N, nodes: N*)(implicit edgeFactory: HyperEdgeCompanion[E]): DefaultGraphImpl.this.type

    Same as addEdge(node_1, node_2, nodes) except for the returned result.

    Same as addEdge(node_1, node_2, nodes) except for the returned result.

    returns

    This mutable graph containing the hyperedge that has been created or found. to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  27. final def +~=(node_1: N, node_2: N)(implicit edgeFactory: EdgeCompanion[E]): DefaultGraphImpl.this.type

    Same as addEdge(node_1, node_2) except for the returned result.

    Same as addEdge(node_1, node_2) except for the returned result.

    returns

    This mutable graph containing the edge that has been created or found.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  28. final def -(edge: E[N]): DefaultGraphImpl[N, E]

    Definition Classes
    GraphLike
    Annotations
    @inline()
  29. final def -(node: 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.

    node

    the node to be removed.

    returns

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

    Definition Classes
    GraphLikeGraphLike
    Annotations
    @inline()
  30. def -(elem: GraphParam[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
  31. def -(elem1: GraphParam[N, E], elem2: GraphParam[N, E], elems: GraphParam[N, E]*): DefaultGraphImpl[N, E]

    Definition Classes
    Subtractable
  32. final def -!(edge: E[N]): DefaultGraphImpl[N, E]

    Definition Classes
    GraphLike
    Annotations
    @inline()
  33. def -!(elem: GraphParam[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
  34. final def -!#(edge: 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.

    edge

    the edge to be removed.

    returns

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

    Attributes
    protected
    Definition Classes
    GraphLikeGraphLike
    Annotations
    @inline()
  35. def -!=(elem: GraphParam[N, E]): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike
  36. final def -!=#(edge: E[N]): DefaultGraphImpl.this.type

    Attributes
    protected
    Definition Classes
    GraphLike
    Annotations
    @inline()
  37. final def -#(edge: 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.

    edge

    the edge to be removed.

    returns

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

    Attributes
    protected
    Definition Classes
    GraphLikeGraphLike
    Annotations
    @inline()
  38. def --(elems: GenTraversableOnce[GraphParam[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GraphLike → Subtractable
  39. def --!(elems: GenTraversableOnce[GraphParam[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
  40. final def --!=(coll: Iterable[GraphParam[N, E]]): DefaultGraphImpl[N, E]

    Removes all elements of coll from this graph.

    Removes all elements of coll from this graph. Edges will be ripple removed.

    coll

    Collection of nodes and/or edges to be removed; if the element type is N, it is removed from the node set otherwise from the edge set.

    returns

    this graph shrinked by the nodes and edges contained in coll.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  41. def --=(xs: TraversableOnce[GraphParam[N, E]]): DefaultGraphImpl.this.type

    Definition Classes
    Shrinkable
  42. def -=(elem: GraphParam[N, E]): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike → Shrinkable
  43. final def -=(node: N): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike
    Annotations
    @inline()
  44. def -=(elem1: GraphParam[N, E], elem2: GraphParam[N, E], elems: GraphParam[N, E]*): DefaultGraphImpl.this.type

    Definition Classes
    Shrinkable
  45. final def -=#(edge: E[N]): DefaultGraphImpl.this.type

    Attributes
    protected
    Definition Classes
    GraphLike
    Annotations
    @inline()
  46. final def -?(node: 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.

    node

    the node to be gently removed.

    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
    GraphLikeGraphLike
    Annotations
    @inline()
  47. final def -?=(node: N): DefaultGraphImpl.this.type

    Definition Classes
    GraphLike
    Annotations
    @inline()
  48. def /:[B](z: B)(op: (B, GraphParam[N, E]) ⇒ B): B

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  50. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  52. object CycleBuffer

    Definition Classes
    GraphTraversalImpl
  53. object Degree extends (GraphDegree.this)#DegreeFunction

    Definition Classes
    GraphDegree
  54. object DegreeOrdering extends Serializable

    Definition Classes
    GraphDegree
  55. object Edge extends Serializable

    Definition Classes
    GraphBase
  56. object EdgeAux

  57. object EdgeOrdering extends Serializable

    Ordering for the path dependent type EdgeT.

  58. object ExtendedNodeVisitor

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

    Definition Classes
    GraphDegree
  60. object IntReverseOrdering extends Ordering[Int]

    Decreasing ordering of integers.

  61. object Node extends Serializable

    Definition Classes
    GraphBase
  62. object NodeAux

    Definition Classes
    GraphAux
  63. object NodeOrdering extends Serializable

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

    Definition Classes
    GraphDegree
  65. object PathBuffer

    Definition Classes
    GraphTraversalImpl
  66. final def add(edge: E[N]): Boolean

    Definition Classes
    AdjacencyListGraphGraphLike
    Annotations
    @inline()
  67. final def add(node: N): Boolean

    Adds a node to this graph.

    Adds a node to this graph.

    returns

    true if the node was not yet present in the graph, false otherwise.

    Definition Classes
    AdjacencyListGraphGraphLike
    Annotations
    @inline()
  68. final def addAndGet(edge: E[N]): EdgeT

    Adds the given edge if not yet present and returns it as an inner edge.

    Adds the given edge if not yet present and returns it as an inner edge.

    edge

    the edge to add.

    returns

    the inner edge containing the added edge.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  69. final def addAndGet(node: N): NodeT

    Adds the given node if not yet present and returns it as an inner node.

    Adds the given node if not yet present and returns it as an inner node.

    node

    the node to add.

    returns

    inner node containing the added node.

    Definition Classes
    GraphLike
    Annotations
    @inline()
  70. def addAndGetEdge(node_1: N, node_2: N, nodes: N*)(implicit edgeFactory: HyperEdgeCompanion[E]): EdgeT

    Same as addEdge(node_1, node_2, nodes) except for the returned result.

    Same as addEdge(node_1, node_2, nodes) except for the returned result.

    returns

    The new hyperedge or the corresponding contained hyperedge if the hyperedge to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
  71. final def addAndGetEdge(node_1: N, node_2: N)(implicit edgeFactory: EdgeCompanion[E]): EdgeT

    Same as addEdge(node_1, node_2) except for the returned result.

    Same as addEdge(node_1, node_2) except for the returned result.

    returns

    The new edge or the corresponding contained edge if the edge to be created equals to an already existing edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  72. def addAndGetLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with LHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(label: L)(implicit edgeFactory: LHyperEdgeCompanion[EE]): EdgeT

    Same as addLEdge(node_1, node_2, nodes)(label) except for the returned result.

    Same as addLEdge(node_1, node_2, nodes)(label) except for the returned result.

    returns

    The new hyperedge or the corresponding contained hyperedge if the hyperedge to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
  73. final def addAndGetLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with LEdgeBound[_, EE], L](node_1: N, node_2: N)(label: L)(implicit edgeFactory: LEdgeCompanion[EE]): EdgeT

    Same as addLEdge(node_1, node_2)(label) except for the returned result.

    Same as addLEdge(node_1, node_2)(label) except for the returned result.

    returns

    The new edge or the corresponding contained edge if the edge to be created equals to an already existing edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  74. def addAndGetWEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WHyperEdgeBound[_, EE]](node_1: N, node_2: N, nodes: N*)(weight: Long)(implicit edgeFactory: WHyperEdgeCompanion[EE]): EdgeT

    Same as addWEdge(node_1, node_2, nodes)(weight) except for the returned result.

    Same as addWEdge(node_1, node_2, nodes)(weight) except for the returned result.

    returns

    The new hyperedge or the corresponding contained hyperedge if the hyperedge to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
  75. final def addAndGetWEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WEdgeBound[_, EE]](node_1: N, node_2: N)(weight: Long)(implicit edgeFactory: WEdgeCompanion[EE]): EdgeT

    Same as addWEdge(node_1, node_2)(weight) except for the returned result.

    Same as addWEdge(node_1, node_2)(weight) except for the returned result.

    returns

    The new edge or the corresponding contained edge if the edge to be created equals to an already existing edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  76. def addAndGetWLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WLHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(weight: Long, label: L)(implicit edgeFactory: WLHyperEdgeCompanion[EE]): EdgeT

    Same as addWLEdge(node_1, node_2, nodes)(weight, label) except for the returned result.

    Same as addWLEdge(node_1, node_2, nodes)(weight, label) except for the returned result.

    returns

    The new hyperedge or the corresponding contained hyperedge if the hyperedge to be created equals to an already existing hyperedge.

    Definition Classes
    EdgeOps
  77. final def addAndGetWLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WLEdgeBound[_, EE], L](node_1: N, node_2: N)(weight: Long, label: L)(implicit edgeFactory: WLEdgeCompanion[EE]): EdgeT

    Same as addWLEdge(node_1, node_2)(weight, label) except for the returned result.

    Same as addWLEdge(node_1, node_2)(weight, label) except for the returned result.

    returns

    The new edge or the corresponding contained edge if the edge to be created equals to an already existing edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  78. final def addEdge(node_1: N, node_2: N, nodes: N*)(implicit edgeFactory: HyperEdgeCompanion[E]): Boolean

    Creates a new inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph.

    Creates a new inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    nodes

    The third and possibly more inner or outer nodes to be incident with the hyperedge to be created. In case of a directed edge, these become targets.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new hyperedge has been created. false if no new hyperedge could be created because there exists a corresponding equaling hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  79. final def addEdge(node_1: N, node_2: N)(implicit edgeFactory: EdgeCompanion[E]): Boolean

    Creates a new inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph.

    Creates a new inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new edge has been created. false if no new edge could be created because there exists a corresponding equaling edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  80. final def addLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with LHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(label: L)(implicit edgeFactory: LHyperEdgeCompanion[EE]): Boolean

    Creates a new weighted and labeled inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph.

    Creates a new weighted and labeled inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    nodes

    The third and possibly more inner or outer nodes to be incident with the hyperedge to be created. In case of a directed edge, these become targets.

    label

    The value the labeled edge to be created should have as its label.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new hyperedge has been created. false if no new hyperedge could be created because there exists a corresponding equaling hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  81. final def addLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with LEdgeBound[_, EE], L](node_1: N, node_2: N)(label: L)(implicit edgeFactory: LEdgeCompanion[EE]): Boolean

    Creates a new labeled inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph.

    Creates a new labeled inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    label

    The value the labeled edge to be created should have as its label.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new edge has been created. false if no new edge could be created because there exists a corresponding equaling edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  82. def addString(b: StringBuilder): StringBuilder

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

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

    Definition Classes
    TraversableOnce
  85. final def addWEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WHyperEdgeBound[_, EE]](node_1: N, node_2: N, nodes: N*)(weight: Long)(implicit edgeFactory: WHyperEdgeCompanion[EE]): Boolean

    Creates a new weighted inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph.

    Creates a new weighted inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    nodes

    The third and possibly more inner or outer nodes to be incident with the hyperedge to be created. In case of a directed edge, these become targets.

    weight

    The number the weighted edge to be created should have as its weight.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new hyperedge has been created. false if no new hyperedge could be created because there exists a corresponding equaling hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  86. final def addWEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WEdgeBound[_, EE]](node_1: N, node_2: N)(weight: Long)(implicit edgeFactory: WEdgeCompanion[EE]): Boolean

    Creates a new weighted inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph.

    Creates a new weighted inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    weight

    The number the weighted edge to be created should have as its weight.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new edge has been created. false if no new edge could be created because there exists a corresponding equaling edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  87. final def addWLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WLHyperEdgeBound[_, EE], L](node_1: N, node_2: N, nodes: N*)(weight: Long, label: L)(implicit edgeFactory: WLHyperEdgeCompanion[EE]): Boolean

    Creates a new weighted and labeled inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph.

    Creates a new weighted and labeled inner hyperedge between node_1, node_2 and nodes using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    nodes

    The third and possibly more inner or outer nodes to be incident with the hyperedge to be created. In case of a directed edge, these become targets.

    weight

    The number the weighted edge to be created should have as its weight.

    label

    The value the labeled edge to be created should have as its label.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new hyperedge has been created. false if no new hyperedge could be created because there exists a corresponding equaling hyperedge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  88. final def addWLEdge[EE[X] <: E[X] with EdgeLikeIn[X] with WLEdgeBound[_, EE], L](node_1: N, node_2: N)(weight: Long, label: L)(implicit edgeFactory: WLEdgeCompanion[EE]): Boolean

    Creates a new weighted and labeled inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph.

    Creates a new weighted and labeled inner edge between node_1 and node_2 using edgeFactory and adds it to the edge set of this graph. Node arguments not yet contained in this graph will be added to the node set.

    node_1

    The first outer node to be incident with the edge to be created. In case of a directed edge, this becomes the source.

    node_2

    The second outer node to be incident with the edge to be created. In case of a directed edge, this becomes the target.

    weight

    The number the weighted edge to be created should have as its weight.

    label

    The value the labeled edge to be created should have as its label.

    edgeFactory

    An edge companion who's from is to serve as the edge factory.

    returns

    true if a new edge has been created. false if no new edge could be created because there exists a corresponding equaling edge.

    Definition Classes
    EdgeOps
    Annotations
    @inline()
  89. def aggregate[B](z: B)(seqop: (B, GraphParam[N, E]) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. final def alteredClone(delNodes: Iterable[NodeT], delEdges: Iterable[EdgeT], ripple: Boolean, addNodes: Iterable[N], addEdges: Iterable[E[N]]): DefaultGraphImpl[N, E]

    Attributes
    protected
  91. def andThen[A](g: (Boolean) ⇒ A): (GraphParam[N, E]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  92. 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
  93. 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
  94. final lazy val anyOrdering: AnyOrdering[N]

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

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

    Definition Classes
    Any
  97. 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
  98. final def bulkOp(elems: GenTraversableOnce[GraphParam[N, E]], isPlusPlus: Boolean): DefaultGraphImpl[N, E]

    Prepares and calls plusPlus or minusMinus.

    Prepares and calls plusPlus or minusMinus.

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

    Definition Classes
    IterableLike → Equals
  100. final def clear(): Unit

    Definition Classes
    AdjacencyListGraph → Growable → Clearable
    Annotations
    @inline()
  101. def clearNodeStates(flags: FlagWord, flagsExt: ExtBitSet): Unit

    Attributes
    protected
    Definition Classes
    State
  102. final def clone(): DefaultGraphImpl.this.type

    Definition Classes
    DefaultGraphImplGraphLike → Cloneable → AnyRef
    Annotations
    @inline()
  103. def collect[B, That](pf: PartialFunction[GraphParam[N, E], B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], B, That]): That

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

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

    Definition Classes
    Set → Set → GenSet → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  106. def compose[A](g: (A) ⇒ GraphParam[N, E]): (A) ⇒ Boolean

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

    Definition Classes
    DefaultGraphImplGraphLike
  108. def contains(elem: GraphParam[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
  109. def copyToArray[B >: GraphParam[N, E]](xs: Array[B], start: Int, len: Int): Unit

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. final lazy val defaultEdgeOrdering: EdgeOrdering

    Definition Classes
    GraphBase
  115. final lazy val defaultNodeOrdering: NodeOrdering

    Definition Classes
    GraphBase
  116. 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
  117. def degreeNodeSeq(implicit nodeDegree: DegreeFunction = Degree, degreeFilter: (Int) ⇒ Boolean = AnyDegree): Seq[(Int, NodeT)]

    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
  118. 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
  119. 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
  120. 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
  121. def diff(that: GenSet[GraphParam[N, E]]): DefaultGraphImpl[N, E]

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

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

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

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

    Attributes
    protected
    Definition Classes
    State
  126. 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
  127. 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
  128. def edgeIterator: GroupIterator[EdgeT] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    AdjacencyListBase
  129. implicit val edgeManifest: Manifest[E[N]]

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

    Attributes
    protected
    Definition Classes
    GraphBase
    Annotations
    @inline()
  131. 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
  132. final def empty: DefaultGraphImpl[N, E]

    Definition Classes
    DefaultGraphImplGraphGraph → SetLike → GenericSetTemplate
    Annotations
    @inline()
  133. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  134. 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
  135. def exists(p: (GraphParam[N, E]) ⇒ Boolean): Boolean

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  139. 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()
  140. 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()
  141. def find(p: (GraphParam[N, E]) ⇒ Boolean): Option[GraphParam[N, E]]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  142. 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 limits the number of layers for BFS respectively the number of consecutive child visits before siblings are visited for DFS. 0 - the default - indicates that the traversal should have an unlimited depth meaning that it will be continued either until it's canceled by nodeVisitor or until 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 a) there exists no cycle in this graph or b) 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
    GraphTraversalImplGraphTraversal
  143. final def findCycle: Option[Cycle]

    Same as findCycle(...) with default arguments.

    Same as findCycle(...) with default arguments.

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  151. final def from(that: AdjacencyListBase[N, E, DefaultGraphImpl])(delNodes: Iterable[immutable.AdjacencyListBase.NodeT] = Seq(), delEdges: Iterable[immutable.AdjacencyListBase.EdgeT] = Seq(), ripple: Boolean = false, addNodes: Iterable[N] = Seq(), addEdges: Iterable[E[N]] = Seq()): Unit

    Attributes
    protected
    Definition Classes
    AdjacencyListBase
    Annotations
    @inline()
  152. def from(nodeStream: NodeInputStream[N], edgeStream: GenEdgeInputStream[N, E]): Unit

    Populates this graph with the nodes and edges read from nodeStream and edgeStream.

    Populates this graph with the nodes and edges read from nodeStream and edgeStream.

    Definition Classes
    GraphLike
  153. def from(nodeStreams: Iterable[NodeInputStream[N]], nodes: Iterable[N], edgeStreams: Iterable[GenEdgeInputStream[N, E]], edges: Iterable[E[N]]): Unit

    Populates this graph with nodes and the edges to be created through edgeStream.

    Populates this graph with nodes and the edges to be created through edgeStream.

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

    nodeStreams

    list of node input streams to be processed. All nodes read from any of these streams will be added to this graph. Note that only isolated nodes must be included in a stream or in nodes, non-isolated nodes are optional.

    nodes

    The isolated (and optionally any other) outer nodes that the node set of this graph is to be populated with. This parameter may be used as an alternative or in addition to nodeStreams.

    edgeStreams

    list of edge input streams, each with its own edge factory, to be processed. All edges and edge ends (nodes) read from any of these streams will be added to this graph.

    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. This parameter is meant be used as an alternative or in addition to edgeStreams.

    Attributes
    protected
    Definition Classes
    GraphAux
  154. def genericBuilder[B]: Builder[B, Set[B]]

    Definition Classes
    GenericTraversableTemplate
  155. 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()
  156. 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()
  157. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  158. 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()
  159. 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()
  160. final val graphCompanion: DefaultGraphImpl.type

    The companion object of This.

    The companion object of This.

    Definition Classes
    DefaultGraphImplGraphLike
  161. 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
  162. def groupBy[K](f: (GraphParam[N, E]) ⇒ K): Map[K, DefaultGraphImpl[N, E]]

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

    Definition Classes
    IterableLike
  164. def hasDefiniteSize: Boolean

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

    Definition Classes
    GenSetLike → AnyRef → Any
  166. def having(node: (NodeT) ⇒ Boolean = _ => false, edge: (EdgeT) ⇒ Boolean = null): PartialFunction[GraphParam[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
  167. def head: GraphParam[N, E]

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  170. 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. This parameter may be used as an alternative or in addition to nodeStreams.

    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. This parameter is meant be used as an alternative or in addition to edgeStreams.

    Attributes
    protected
    Definition Classes
    GraphBase
  171. def inits: Iterator[DefaultGraphImpl[N, E]]

    Definition Classes
    TraversableLike
  172. def intersect(that: GenSet[GraphParam[N, E]]): DefaultGraphImpl[N, E]

    Definition Classes
    GenSetLike
  173. final def isAcyclic: Boolean

    Whether this graph has no cycle.

    Whether this graph has no cycle.

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

    Definition Classes
    GraphTraversal
  175. 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
  176. final def isCustomEdgeFilter(filter: (EdgeT) ⇒ Boolean): Boolean

    true if filter is not equivalent to anyEdge.

    true if filter is not equivalent to anyEdge.

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

    true if visitor is not equivalent to noEdgeAction.

    true if visitor is not equivalent to noEdgeAction.

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

    true if filter is not equivalent to anyNode.

    true if filter is not equivalent to anyNode.

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

    true if visitor is not equivalent to noNodeUpAction.

    true if visitor is not equivalent to noNodeUpAction.

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

    true if visitor is not equivalent to noNodeAction.

    true if visitor is not equivalent to noNodeAction.

    Definition Classes
    GraphTraversal
    Annotations
    @inline()
  181. 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()
  182. def isEmpty: Boolean

    Definition Classes
    SetLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  183. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  184. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  185. 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()
  186. def iterator: Iterator[GraphParamOut[N, E] with Serializable]

    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
  187. def last: GraphParam[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  188. def lastOption: Option[GraphParam[N, E]]

    Definition Classes
    TraversableLike → GenTraversableLike
  189. def map[B, That](f: (GraphParam[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.

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  192. 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
  193. def min[B >: GraphParam[N, E]](implicit cmp: Ordering[B]): GraphParam[N, E]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  195. 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
  196. 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
  197. 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
  198. def mkString: String

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  201. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    DefaultGraphImplAdjacencyListBase
    Annotations
    @inline()
  208. 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
  209. def nextHandle: Handle

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

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

    Default edge visitor doing nothing (non-visitor).

    Default edge visitor doing nothing (non-visitor).

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

    Node predicate always returning false.

    Node predicate always returning false.

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

    Default node visitor doing nothing (non-visitor).

    Default node visitor doing nothing (non-visitor).

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

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

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

    Definition Classes
    GraphTraversal
  214. final val noOrdering: NoOrdering

    Definition Classes
    GraphBase
  215. 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
  216. final def nodesToEdgeCont(edgeFactory: HyperEdgeCompanion[E], node_1: N, node_2: N, nodes: N*): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  217. final def nodesToEdgeCont(edgeFactory: EdgeCompanion[E], node_1: N, node_2: N): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  218. final def nodesToLEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with LHyperEdgeBound[_, EE], L](edgeFactory: LHyperEdgeCompanion[EE], label: L, node_1: N, node_2: N, nodes: N*): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  219. final def nodesToLEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with LEdgeBound[_, EE], L](edgeFactory: LEdgeCompanion[EE], label: L, node_1: N, node_2: N): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  220. final def nodesToWEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with WHyperEdgeBound[_, EE]](edgeFactory: WHyperEdgeCompanion[EE], weight: Long, node_1: N, node_2: N, nodes: N*): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  221. final def nodesToWEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with WEdgeBound[_, EE]](edgeFactory: WEdgeCompanion[EE], weight: Long, node_1: N, node_2: N): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  222. final def nodesToWLEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with WLHyperEdgeBound[_, EE], L](edgeFactory: WLHyperEdgeCompanion[EE], weight: Long, label: L, node_1: N, node_2: N, nodes: N*): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  223. final def nodesToWLEdgeCont[EE[X] <: E[X] with EdgeLikeIn[X] with WLEdgeBound[_, EE], L](edgeFactory: WLEdgeCompanion[EE], weight: Long, label: L, node_1: N, node_2: N): EdgeT

    Attributes
    protected
    Definition Classes
    EdgeOps
    Annotations
    @inline()
  224. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  225. 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()
  226. final def notify(): Unit

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

    Definition Classes
    AnyRef
  228. 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
  229. def par: ParSet[GraphParam[N, E]]

    Definition Classes
    Parallelizable
  230. def parCombiner: Combiner[GraphParam[N, E], ParSet[GraphParam[N, E]]]

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  233. 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
  234. def product[B >: GraphParam[N, E]](implicit num: Numeric[B]): B

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

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

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

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

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

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

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

    Avoid calling this directly, prefer withHandle instead.

    Avoid calling this directly, prefer withHandle instead.

    Attributes
    protected
    Definition Classes
    State
  242. final def remove(edge: E[N]): Boolean

    Definition Classes
    GraphLike
    Annotations
    @inline()
  243. final def remove(node: N): Boolean

    Definition Classes
    GraphLike
    Annotations
    @inline()
  244. final def removeGently(node: N): Boolean

    Definition Classes
    GraphLike
  245. final def removeWithNodes(edge: E[N]): Boolean

    Definition Classes
    GraphLike
    Annotations
    @inline()
  246. def repr: DefaultGraphImpl[N, E]

    Definition Classes
    TraversableLike → GenTraversableLike
  247. def reversed: List[GraphParam[N, E]]

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  251. def scanRight[B, That](z: B)(op: (GraphParam[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.

  252. def seq: Set[GraphParam[N, E]]

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

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

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  259. def stringPrefix: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  276. def toIterable: Iterable[GraphParam[N, E]]

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

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  278. def toList: List[GraphParam[N, E]]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  280. def toSeq: Seq[GraphParam[N, E]]

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

    Definition Classes
    Set → TraversableOnce → GenTraversableOnce
  282. 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
  283. def toStream: Stream[GraphParam[N, E]]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  284. 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
  285. def toTraversable: Traversable[GraphParam[N, E]]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  286. def toVector: Vector[GraphParam[N, E]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  287. 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
  288. def totalWeight: Long

    Definition Classes
    GraphBase
  289. def transpose[B](implicit asTraversable: (GraphParam[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.

  290. def union(that: GenSet[GraphParam[N, E]]): DefaultGraphImpl[N, E]

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

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

    Definition Classes
    GenericTraversableTemplate
  293. def view(from: Int, until: Int): IterableView[GraphParam[N, E], DefaultGraphImpl[N, E]]

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

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

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

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

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

    Definition Classes
    TraversableLike → FilterMonadic
  299. 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
  300. 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
  301. def zip[A1 >: GraphParam[N, E], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[DefaultGraphImpl[N, E], (A1, B), That]): That

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

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

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

    Definition Classes
    GenSetLike

Deprecated Value Members

  1. def /:\[A1 >: GraphParam[N, E]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold 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 GraphLike[N, E, DefaultGraphImpl]

Inherited from Mutable

Inherited from EdgeOps[N, E, DefaultGraphImpl]

Inherited from Cloneable[Graph[N, E]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Shrinkable[GraphParam[N, E]]

Inherited from Growable[GraphParam[N, E]]

Inherited from Clearable

Inherited from GraphAux[N, E]

Inherited from collection.Graph[N, E]

Inherited from collection.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[GraphParam[N, E]]

Inherited from Set[GraphParam[N, E]]

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

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

Inherited from GenSet[GraphParam[N, E]]

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

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

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

Inherited from Iterable[GraphParam[N, E]]

Inherited from Iterable[GraphParam[N, E]]

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

Inherited from Equals

Inherited from GenIterable[GraphParam[N, E]]

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

Inherited from Traversable[GraphParam[N, E]]

Inherited from Immutable

Inherited from Traversable[GraphParam[N, E]]

Inherited from GenTraversable[GraphParam[N, E]]

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

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

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

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

Inherited from TraversableOnce[GraphParam[N, E]]

Inherited from GenTraversableOnce[GraphParam[N, E]]

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped