Class ScaleFree

java.lang.Object
edu.cmu.tetrad.algcomparison.graph.ScaleFree
All Implemented Interfaces:
RandomGraph, TetradSerializable, Serializable

public class ScaleFree extends Object implements RandomGraph
Returns a scale free graph.
Author:
josephramsey
See Also:
  • Constructor Details

    • ScaleFree

      public ScaleFree()
  • Method Details

    • createGraph

      public Graph createGraph(Parameters parameters)
      Specified by:
      createGraph in interface RandomGraph
      Parameters:
      parameters - Whatever parameters are need for the given graph. See getParameters().
      Returns:
      Returns a random graph using the given parameters.
    • getDescription

      public String getDescription()
      Description copied from interface: RandomGraph
      Returns a short, one-line description of this graph type. This will be printed in the report.
      Specified by:
      getDescription in interface RandomGraph
      Returns:
      This description.
    • getParameters

      public List<String> getParameters()
      Description copied from interface: RandomGraph
      Returns the parameters that this graph uses.
      Specified by:
      getParameters in interface RandomGraph
      Returns:
      A list of String names of parameters.