Packages

class GraphGen[N, E[N] <: EdgeLikeIn[N], G[N, E[X] <: EdgeLikeIn[X]] <: Graph[N, E[X]] with GraphLike[N, E[X], G]] extends AnyRef

A Graph generator in terms of org.scalacheck.Gen.

N

Type of the nodes the generated will contain.

E

Kind of type of the edges the generated will contain.

G

Kind of type of the graph to be generated.

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

Instance Constructors

  1. new GraphGen(graphCompanion: GraphCompanion[G], order: Int, nodeGen: Gen[N], nodeDegrees: NodeDegreeRange, edgeCompanions: Set[EdgeCompanionBase[E]], connected: Boolean = true, weightFactory: Option[Gen[Long]] = None, labelFactory: Option[Gen[Any]] = None)(implicit edgeTag: ClassTag[E[N]], nodeTag: ClassTag[N])

    graphCompanion

    The graph companion the factory method fromof which is to be called to create random graphs.

    order

    The total number of nodes the generated random graphs should contain.

    nodeGen

    A node generator that is assumed to generate enough unique elements with respect to order. Typically it will be enough to define a range of elements ten fold of order.

    edgeCompanions

    The edge types to be used in the generated graph.

    connected

    Whether the generated graph should be connected.

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 GraphGen[N, E, G] to any2stringadd[GraphGen[N, E, G]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (GraphGen[N, E, G], B)
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to ArrowAssoc[GraphGen[N, E, G]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def apply: Gen[G[N, E]]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def ensuring(cond: (GraphGen[N, E, G]) ⇒ Boolean, msg: ⇒ Any): GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to Ensuring[GraphGen[N, E, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (GraphGen[N, E, G]) ⇒ Boolean): GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to Ensuring[GraphGen[N, E, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to Ensuring[GraphGen[N, E, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to Ensuring[GraphGen[N, E, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to StringFormat[GraphGen[N, E, G]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val graphCompanion: GraphCompanion[G]
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def nodeSetGen: Gen[Set[N]]
    Attributes
    protected[scalax.collection.generator]
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val order: Int
  26. val outerNodeSet: Arbitrary[Set[N]]
    Attributes
    protected[scalax.collection.generator]
  27. def pipe[B](f: (GraphGen[N, E, G]) ⇒ B): B
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to ChainingOps[GraphGen[N, E, G]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  28. val self: GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to ChainingOps[GraphGen[N, E, G]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def tap[U](f: (GraphGen[N, E, G]) ⇒ U): GraphGen[N, E, G]
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to ChainingOps[GraphGen[N, E, G]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. def [B](y: B): (GraphGen[N, E, G], B)
    Implicit
    This member is added by an implicit conversion from GraphGen[N, E, G] to ArrowAssoc[GraphGen[N, E, G]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ChainingOps from GraphGen[N, E, G] to ChainingOps[GraphGen[N, E, G]]

Inherited by implicit conversion any2stringadd from GraphGen[N, E, G] to any2stringadd[GraphGen[N, E, G]]

Inherited by implicit conversion StringFormat from GraphGen[N, E, G] to StringFormat[GraphGen[N, E, G]]

Inherited by implicit conversion Ensuring from GraphGen[N, E, G] to Ensuring[GraphGen[N, E, G]]

Inherited by implicit conversion ArrowAssoc from GraphGen[N, E, G] to ArrowAssoc[GraphGen[N, E, G]]

Ungrouped