Provides convenience metrics and methods for the generation of graphs by means of org.scalacheck.Arbitrary[G[N,E]].
Attributes
Members list
Type members
Classlikes
Represents graph metrics like order, nodeDegrees and connected excluding the type of nodes, edges and the type of the graph to be generated.
Represents graph metrics like order, nodeDegrees and connected excluding the type of nodes, edges and the type of the graph to be generated.
Attributes
- Supertypes
- Known subtypes
Predefined metrics of a 'small' graph with the node type of Int, an order of 20 and a node degree range of 2 to 5 including org.scalacheck.Gen[Int].
Predefined metrics of a 'small' graph with the node type of Int, an order of 20 and a node degree range of 2 to 5 including org.scalacheck.Gen[Int].
Attributes
- Supertypes
- Self type
-
SmallInt.type
Predefined metrics of a 'tiny' graph with the node type of Int, an order of 5 and a node degree range of 2 to 4 including org.scalacheck.Gen[Int].
Predefined metrics of a 'tiny' graph with the node type of Int, an order of 5 and a node degree range of 2 to 4 including org.scalacheck.Gen[Int].
Attributes
- Supertypes
- Self type
-
TinyInt.type
Value members
Concrete methods
Returns an org.scalacheck.Arbitrary[G[N,DiEdge]] for non-labeled directed graphs of any metrics and any type.
Returns an org.scalacheck.Arbitrary[G[N,DiEdge]] for non-labeled directed graphs of any metrics and any type.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graphto be used to generate graphs. - metrics
-
The
Metricsto be applied to the generated graph.
Attributes
Returns an org.scalacheck.Arbitrary[G[Int,DiEdge]] for small, connected, non-labeled directed graphs with the metrics defined by SmallInt.
Returns an org.scalacheck.Arbitrary[G[Int,DiEdge]] for small, connected, non-labeled directed graphs with the metrics defined by SmallInt.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graphto be used to generate graphs.
Attributes
Returns an org.scalacheck.Arbitrary[G[Int,DiEdge]] for tiny, connected, non-labeled directed graphs with the metrics defined by TinyInt.
Returns an org.scalacheck.Arbitrary[G[Int,DiEdge]] for tiny, connected, non-labeled directed graphs with the metrics defined by TinyInt.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graphto be used to generate graphs.
Attributes
Returns an org.scalacheck.Arbitrary[G[N,UnDiEdge]] for non-labeled undirected graphs of any metrics and any type.
Returns an org.scalacheck.Arbitrary[G[N,UnDiEdge]] for non-labeled undirected graphs of any metrics and any type.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graphto be used to generate graphs. - metrics
-
The
Metricsto be applied to the generated graph.