Provides convenience metrics and methods for the generation of random graphs.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RandomGraph.type
Members list
Type members
Classlikes
Attributes
- Supertypes
- Known subtypes
Template for Metrics
with connected
set to true
and some lazy values useful for checking the metrics of generated graphs.
Template for Metrics
with connected
set to true
and some lazy values useful for checking the metrics of generated graphs.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- 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
.
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
.
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
.
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
.
Attributes
- Supertypes
- Self type
-
TinyInt.type
Value members
Concrete methods
Returns a generator for non-labeled directed graphs of any metrics and any type.
Returns a generator for non-labeled directed graphs of any metrics and any type.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graph
to be used to generate graphs. - metrics
-
The
Metrics
to be applied to the generated graph.
Attributes
Returns a generator for small, connected, non-labeled directed graphs with the metrics defined by SmallInt
.
Returns a generator for small, connected, non-labeled directed graphs with the metrics defined by SmallInt
.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graph
to be used to generate graphs.
Attributes
Returns a generator for tiny, connected, non-labeled directed graphs with the metrics defined by TinyInt
.
Returns a generator for tiny, connected, non-labeled directed graphs with the metrics defined by TinyInt
.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graph
to be used to generate graphs.
Attributes
Returns a generator for non-labeled undirected graphs of any metrics and any type.
Returns a generator for non-labeled undirected graphs of any metrics and any type.
Value parameters
- graphCompanion
-
The graph companion object such as
scalax.collection.Graph
to be used to generate graphs. - metrics
-
The
Metrics
to be applied to the generated graph.