Packages

class RandomGraph extends AnyRef

The RandomGraph class generates random undirected graphs with clusters (as adjacency matrices).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomGraph
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomGraph(n: Int, p: Double, c: Int)

    n

    the number of nodes in the graph

    p

    the probability that any two nodes are connected

    c

    the number of clusters to generate

Value Members

  1. def gen(): MatrixD

    Generate a cluster random graph returning its adjacency matrix.