Packages

trait GraphOps[N, E <: Edge[N], +CC[X, Y <: Edge[X]] <: GraphLike[X, Y, CC] with Graph[X, Y]] extends Growable[N, E] with Shrinkable[N, E] with AbstractBuilder[N, E] with Cloneable[CC[N, E]]

Self Type
GraphOps[N, E, CC] with collection.GraphOps[N, E, CC]
Linear Supertypes
Cloneable[CC[N, E]], Cloneable, AbstractBuilder[N, E], Shrinkable[N, E], OuterElems[N @scala.annotation.unchecked.uncheckedVariance, E @scala.annotation.unchecked.uncheckedVariance], Growable[N, E], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphOps
  2. Cloneable
  3. Cloneable
  4. AbstractBuilder
  5. Shrinkable
  6. OuterElems
  7. Growable
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed case class OuterEdge(edge: E) extends OuterElem with Product with Serializable

    To be mixed in by edge classes to allow passing them to Graph(...).

    To be mixed in by edge classes to allow passing them to Graph(...).

    Definition Classes
    OuterElems
  2. trait OuterElem extends AnyRef
    Definition Classes
    OuterElems
  3. sealed case class OuterNode(node: N) extends OuterElem with Product with Serializable

    Wraps any type to be accepted when calling Graph(...).

    Wraps any type to be accepted when calling Graph(...).

    Definition Classes
    OuterElems

Abstract Value Members

  1. abstract def add(edge: E): Boolean

    Adds a single edge to this graph.

    Adds a single edge to this graph.

    returns

    true if this graph has not contained edge before.

    Definition Classes
    GraphOpsGrowable
  2. abstract def add(node: N): Boolean

    Adds a single node to this graph.

    Adds a single node to this graph.

    returns

    true if this graph has not contained node before.

    Definition Classes
    GraphOpsGrowable
  3. abstract def clear(): Unit
    Definition Classes
    AbstractBuilder
  4. abstract def filterInPlace(fNode: (GraphOps.this)#NodePredicate = anyNode, fEdge: (GraphOps.this)#EdgePredicate = anyEdge): GraphOps.this

    Computes a new graph with nodes satisfying fNode and edges satisfying fEdge.

    Computes a new graph with nodes satisfying fNode and edges satisfying fEdge. If both fNode and fEdge have default values the original graph is retained.

  5. abstract def remove(edge: E): Boolean

    Removes a single edge from this graph.

    Removes a single edge from this graph.

    returns

    whether the edge existed before

    Definition Classes
    Shrinkable
  6. abstract def remove(node: N): Boolean

    Removes a single node from this graph.

    Removes a single node from this graph.

    returns

    whether the node existed before.

    Definition Classes
    Shrinkable
  7. abstract def subtractOne(edge: E): GraphOps.this

    Removes a single edge from this graph.

    Removes a single edge from this graph.

    Definition Classes
    Shrinkable
  8. abstract def subtractOne(node: N): GraphOps.this

    Removes a single node from this graph.

    Removes a single node from this graph.

    Definition Classes
    Shrinkable
  9. abstract def upsert(edge: E): Boolean

    If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted.

    If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted. This is useful if non-key parts of an immutable edge are to be modified.

    returns

    true if edge has been inserted, false if it has been replaced.

    Definition Classes
    AbstractBuilder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def &=(that: AnyGraph[N, E]): GraphOps.this

    Alias for intersectInPlace.

    Alias for intersectInPlace.

    Annotations
    @inline()
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toany2stringadd[GraphOps[N, E, CC]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ++=(nodes: Iterable[N] = Nil, edges: Iterable[E] = Nil): GraphOps.this

    Adds all passed nodes and edges to this graph.

    Adds all passed nodes and edges to this graph. For a mutable Graph see also unionInPlace.

    Definition Classes
    Growable
  6. def ++=(xs: Iterable[collection.OuterElem[N, E]]): GraphOps.this

    Alias for addAll(xs).

    Alias for addAll(xs).

    Definition Classes
    Growable
  7. final def +=(edge: E): GraphOps.this

    Alias for addOne(edge).

    Alias for addOne(edge).

    Definition Classes
    Growable
    Annotations
    @inline()
  8. final def +=(node: N): GraphOps.this

    Alias for addOne(node).

    Alias for addOne(node).

    Definition Classes
    Growable
    Annotations
    @inline()
  9. final def --=(that: AnyGraph[N, E]): GraphOps.this

    Alias for diffInPlace.

    Alias for diffInPlace.

    Definition Classes
    Shrinkable
    Annotations
    @inline()
  10. final def --=(edges: IterableOnce[E]): GraphOps.this

    Alias for removeAll(edges).

    Alias for removeAll(edges).

    Definition Classes
    Shrinkable
    Annotations
    @inline()
  11. final def --=(nodes: IterableOnce[N], edges: IterableOnce[E]): GraphOps.this

    Alias for removeAll(nodes, edges).

    Alias for removeAll(nodes, edges).

    Definition Classes
    Shrinkable
    Annotations
    @inline()
  12. final def -=(edge: E): GraphOps.this

    Alias for subtractOne(node).

    Alias for subtractOne(node).

    Definition Classes
    Shrinkable
    Annotations
    @inline()
  13. final def -=(node: N): GraphOps.this

    Alias for subtractOne(node).

    Alias for subtractOne(node).

    Definition Classes
    Shrinkable
    Annotations
    @inline()
  14. def ->[B](y: B): (GraphOps[N, E, CC], B)
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toArrowAssoc[GraphOps[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  15. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def addAll(xs: Iterable[collection.OuterElem[N, E]]): GraphOps.this

    Adds all elements produced by outer to this graph.

    Adds all elements produced by outer to this graph. For a graph see also unionInPlace.

    Definition Classes
    Growable
  17. def addOne(edge: E): GraphOps.this

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    Growable
  18. def addOne(node: N): GraphOps.this

    Adds a single node to this graph.

    Adds a single node to this graph.

    Definition Classes
    Growable
  19. final def addOuter(elem: collection.OuterElem[N, E]): GraphOps.this

    Adds a single outer element to this graph.

    Adds a single outer element to this graph.

    Attributes
    protected[collection]
    Definition Classes
    Growable
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clone(): CC[N, E]
    Definition Classes
    Cloneable → AnyRef
  22. final def diffInPlace(that: AnyGraph[N, E]): GraphOps.this

    Removes all nodes and edges contained in that graph from this graph.

    Removes all nodes and edges contained in that graph from this graph.

    Definition Classes
    Shrinkable
  23. def ensuring(cond: (GraphOps[N, E, CC]) => Boolean, msg: => Any): GraphOps[N, E, CC]
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toEnsuring[GraphOps[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: (GraphOps[N, E, CC]) => Boolean): GraphOps[N, E, CC]
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toEnsuring[GraphOps[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean, msg: => Any): GraphOps[N, E, CC]
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toEnsuring[GraphOps[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: Boolean): GraphOps[N, E, CC]
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toEnsuring[GraphOps[N, E, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def intersectInPlace(that: AnyGraph[N, E]): GraphOps.this

    Shrinks this graph to its intersection with that graph.

  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def removeAll(edges: IterableOnce[E]): GraphOps.this

    Removes all edges from this graph.

    Removes all edges from this graph.

    Definition Classes
    Shrinkable
  37. final def removeAll(nodes: IterableOnce[N], edges: IterableOnce[E]): GraphOps.this

    Removes all nodes and edges from this graph.

    Removes all nodes and edges from this graph.

    Definition Classes
    Shrinkable
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def unionInPlace(that: AnyGraph[N, E]): GraphOps.this

    Adds all elements in other to this Growable.

  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def |=(that: AnyGraph[N, E]): GraphOps.this

    Alias for unionInPlace.

    Alias for unionInPlace.

    Annotations
    @inline()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toStringFormat[GraphOps[N, E, CC]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (GraphOps[N, E, CC], B)
    Implicit
    This member is added by an implicit conversion from GraphOps[N, E, CC] toArrowAssoc[GraphOps[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Cloneable[CC[N, E]]

Inherited from Cloneable

Inherited from AbstractBuilder[N, E]

Inherited from Shrinkable[N, E]

Inherited from OuterElems[N @scala.annotation.unchecked.uncheckedVariance, E @scala.annotation.unchecked.uncheckedVariance]

Inherited from Growable[N, E]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromGraphOps[N, E, CC] to any2stringadd[GraphOps[N, E, CC]]

Inherited by implicit conversion StringFormat fromGraphOps[N, E, CC] to StringFormat[GraphOps[N, E, CC]]

Inherited by implicit conversion Ensuring fromGraphOps[N, E, CC] to Ensuring[GraphOps[N, E, CC]]

Inherited by implicit conversion ArrowAssoc fromGraphOps[N, E, CC] to ArrowAssoc[GraphOps[N, E, CC]]

Ungrouped