trait Shrinkable[-N, -E <: Edge[N]] extends OuterElems[N, E]
- Alphabetic
- By Inheritance
- Shrinkable
- OuterElems
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- trait OuterElem extends AnyRef
- Definition Classes
- OuterElems
- 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
- 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
- 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.
- abstract def subtractOne(edge: E): Shrinkable.this.type
Removes a single edge from this graph.
- abstract def subtractOne(node: N): Shrinkable.this.type
Removes a single node from this graph.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toany2stringadd[Shrinkable[N, E]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- final def --=(that: AnyGraph[N, E]): Shrinkable.this.type
Alias for
diffInPlace
.Alias for
diffInPlace
.- Annotations
- @inline()
- final def --=(edges: IterableOnce[E]): Shrinkable.this.type
Alias for
removeAll(edges)
.Alias for
removeAll(edges)
.- Annotations
- @inline()
- final def --=(nodes: IterableOnce[N], edges: IterableOnce[E]): Shrinkable.this.type
Alias for
removeAll(nodes, edges)
.Alias for
removeAll(nodes, edges)
.- Annotations
- @inline()
- final def -=(edge: E): Shrinkable.this.type
Alias for
subtractOne(node)
.Alias for
subtractOne(node)
.- Annotations
- @inline()
- final def -=(node: N): Shrinkable.this.type
Alias for
subtractOne(node)
.Alias for
subtractOne(node)
.- Annotations
- @inline()
- def ->[B](y: B): (Shrinkable[N, E], B)
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toArrowAssoc[Shrinkable[N, E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def diffInPlace(that: AnyGraph[N, E]): Shrinkable.this.type
Removes all nodes and edges contained in
that
graph from this graph. - def ensuring(cond: (Shrinkable[N, E]) => Boolean, msg: => Any): Shrinkable[N, E]
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toEnsuring[Shrinkable[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (Shrinkable[N, E]) => Boolean): Shrinkable[N, E]
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toEnsuring[Shrinkable[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): Shrinkable[N, E]
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toEnsuring[Shrinkable[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): Shrinkable[N, E]
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toEnsuring[Shrinkable[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def removeAll(edges: IterableOnce[E]): Shrinkable.this.type
Removes all
edges
from this graph. - final def removeAll(nodes: IterableOnce[N], edges: IterableOnce[E]): Shrinkable.this.type
Removes all
nodes
andedges
from this graph. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toStringFormat[Shrinkable[N, E]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Shrinkable[N, E], B)
- Implicit
- This member is added by an implicit conversion from Shrinkable[N, E] toArrowAssoc[Shrinkable[N, E]] 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.
Welcome to the Graph for Scala API reference. Some suggested entry points:
AnyGraph
immutable.Graph
and its inner nodesmutable.Graph
and its inner nodes.edges
package and its subpackageshyperedges
package and its subpackages.labeled edges
packagemultilabeled edges
packagelabeled hyperedges
packagemultilabeled hyperedges
packageordered labeled hyperedges
packageordered multilabeled hyperedges
objectgeneric
package.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.