Interface RandomGraph

All Superinterfaces:
Serializable, TetradSerializable
All Known Implementing Classes:
Cyclic, ErdosRenyi, RandomForward, RandomSingleFactorMim, RandomTwoFactorMim, ScaleFree, SingleGraph

public interface RandomGraph extends TetradSerializable
An interface to represent a random graph of some sort.
Version:
$Id: $Id
Author:
josephramsey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    Constant serialVersionUID=23L
  • Method Summary

    Modifier and Type
    Method
    Description
    createGraph(Parameters parameters)
    createGraph.
    Returns a short, one-line description of this graph type.
    Returns the parameters that this graph uses.
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Constant serialVersionUID=23L
      See Also:
  • Method Details

    • createGraph

      Graph createGraph(Parameters parameters)

      createGraph.

      Parameters:
      parameters - Whatever parameters are need for the given graph. See getParameters().
      Returns:
      Returns a random graph using the given parameters.
    • getDescription

      String getDescription()
      Returns a short, one-line description of this graph type. This will be printed in the report.
      Returns:
      This description.
    • getParameters

      List<String> getParameters()
      Returns the parameters that this graph uses.
      Returns:
      A list of String names of parameters.