Packages

trait GraphOps[N, E <: Edge[N], +CC[X, Y <: Edge[X]] <: GraphLike[X, Y, CC] with Graph[X, Y]] extends AnyRef

Immutable graph only operations.

$define edgesOnlyUseCase Provided for the use case when you don't need to pass any isolated node.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphOps
  2. AnyRef
  3. 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

Abstract Value Members

  1. abstract def --(that: AnyGraph[N, E]): CC[N, E]

    Creates a new graph with the elements of this graph minus the elements of that and edges that are incident with any node in that.

  2. abstract def excl(edge: E): CC[N, E]

    Creates a new graph with the elements of this graph minus edge.

  3. abstract def excl(node: N): CC[N, E]

    Creates a new graph with the elements of this graph minus node and its incident edges.

  4. abstract def incl(edge: E): CC[N, E]

    Creates a new supergraph with an additional edge unless this graph already contains edge.

  5. abstract def incl(node: N): CC[N, E]

    Creates a new supergraph with an additional node unless this graph already contains node.

  6. abstract def removedAll(isolatedNodes: IterableOnce[N], edges: IterableOnce[E]): CC[N, E]

    Creates a new graph with the elements of this graph minus the passed elements and edges that are incident with any of the passed nodes.

    Creates a new graph with the elements of this graph minus the passed elements and edges that are incident with any of the passed nodes. Use diff to subtract all nodes and edges of another graph.

    isolatedNodes

    to be removed. Nodes that are implicitly defined by any edge in edges will be ignored.

    edges

    to be removed.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def +(edge: E): CC[N, E]

    Alias for incl(edge).

    Alias for incl(edge).

    Annotations
    @inline()
  4. final def +(node: N): CC[N, E]

    Alias for incl(node).

    Alias for incl(node).

    Annotations
    @inline()
  5. final def -(edge: E): CC[N, E]

    Alias for incl(edge).

    Alias for incl(edge).

    Annotations
    @inline()
  6. final def -(node: N): CC[N, E]

    Alias for excl(node).

    Alias for excl(node).

    Annotations
    @inline()
  7. final def --(edges: IterableOnce[E]): CC[N, E]

    Alias for removedAll(edges).

    Alias for removedAll(edges).

    Annotations
    @inline()
  8. final def --(isolatedNodes: IterableOnce[N], edges: IterableOnce[E]): CC[N, E]

    Alias for removedAll(isolatedNodes, edges).

    Alias for removedAll(isolatedNodes, edges).

    Annotations
    @inline()
  9. 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()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. 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
  14. 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
  15. 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
  16. 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
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def removedAll(edges: IterableOnce[E]): CC[N, E]

    Same as removedAll(isolatedNodes, edges) but with empty isolatedNodes.

    Same as removedAll(isolatedNodes, edges) but with empty isolatedNodes. $edgesOnlyUseCase

    Annotations
    @inline()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Shadowed Implicit Value Members

  1. 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.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (graphOps: any2stringadd[GraphOps[N, E, CC]]).+(other)
    Definition Classes
    any2stringadd

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 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