Packages

  • package root

    Welcome to the Graph for Scala API reference.

    Welcome to the Graph for Scala API reference. Some suggested navigation entry points:

    Definition Classes
    root
  • package scalax
    Definition Classes
    root
  • package collection

    Contains the base traits and objects needed to use Graph for Scala.

    Contains the base traits and objects needed to use Graph for Scala.

    See also the Graph for Scala Core User Guide.

    Definition Classes
    scalax
  • package generator

    This package helps you to create random graphs with predefined metrics.

    This package helps you to create random graphs with predefined metrics. It is not only possible to create random graph instances but also Scalacheck generators.

    Definition Classes
    collection
  • object GraphGen

    Provides convenience metrics and methods for the generation of graphs by means of org.scalacheck.Arbitrary[G[N,E]].

    Provides convenience metrics and methods for the generation of graphs by means of org.scalacheck.Arbitrary[G[N,E]].

    Definition Classes
    generator
  • Metrics
  • SmallInt
  • TinyInt

trait Metrics[N] extends MetricsBase[N]

Represents graph metrics like order, nodeDegrees and connected excluding the type of nodes, edges and the type of the graph to be generated.

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Metrics
  2. MetricsBase
  3. AnyRef
  4. Any
Implicitly
  1. by ChainingOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def nodeDegrees: NodeDegreeRange
    Definition Classes
    MetricsBase
  2. abstract def nodeGen: Gen[N]
  3. abstract def order: Int
    Definition Classes
    MetricsBase

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Metrics[N] toany2stringadd[Metrics[N]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Metrics[N], B)
    Implicit
    This member is added by an implicit conversion from Metrics[N] toArrowAssoc[Metrics[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def connected: Boolean
    Definition Classes
    MetricsBase
  9. lazy val divisor: Int
    Definition Classes
    MetricsBase
  10. def ensuring(cond: (Metrics[N]) => Boolean, msg: => Any): Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toEnsuring[Metrics[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Metrics[N]) => Boolean): Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toEnsuring[Metrics[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toEnsuring[Metrics[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toEnsuring[Metrics[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. lazy val expectedTotalDegree: Int
    Definition Classes
    MetricsBase
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. lazy val isDense: Boolean
    Definition Classes
    MetricsBase
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. lazy val maxDegreeDeviation: Int
    Definition Classes
    MetricsBase
  22. def minMax: Int
    Attributes
    protected
    Definition Classes
    MetricsBase
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def pipe[B](f: (Metrics[N]) => B): B
    Implicit
    This member is added by an implicit conversion from Metrics[N] toChainingOps[Metrics[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  27. val self: Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toChainingOps[Metrics[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def tap[U](f: (Metrics[N]) => U): Metrics[N]
    Implicit
    This member is added by an implicit conversion from Metrics[N] toChainingOps[Metrics[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 Metrics[N] toStringFormat[Metrics[N]] 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): (Metrics[N], B)
    Implicit
    This member is added by an implicit conversion from Metrics[N] toArrowAssoc[Metrics[N]] 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 MetricsBase[N]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ChainingOps fromMetrics[N] to ChainingOps[Metrics[N]]

Inherited by implicit conversion any2stringadd fromMetrics[N] to any2stringadd[Metrics[N]]

Inherited by implicit conversion StringFormat fromMetrics[N] to StringFormat[Metrics[N]]

Inherited by implicit conversion Ensuring fromMetrics[N] to Ensuring[Metrics[N]]

Inherited by implicit conversion ArrowAssoc fromMetrics[N] to ArrowAssoc[Metrics[N]]

Ungrouped