Class RandomForward
java.lang.Object
edu.cmu.tetrad.algcomparison.graph.RandomForward
- All Implemented Interfaces:
RandomGraph
,TetradSerializable
,Serializable
Creates a random graph by adding forward edges.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGraph
(Parameters parameters) Creates a random graph by adding forward edges.Returns a short, one-line description of this graph type.Returns the parameters that this graph uses.
-
Constructor Details
-
RandomForward
public RandomForward()Constructs a new instance of the RandomForward.
-
-
Method Details
-
createGraph
Creates a random graph by adding forward edges.- Specified by:
createGraph
in interfaceRandomGraph
- Parameters:
parameters
- Whatever parameters are needed for the given graph. See getParameters().- Returns:
- The created graph.
-
getDescription
Returns a short, one-line description of this graph type. This will be printed in the report.- Specified by:
getDescription
in interfaceRandomGraph
- Returns:
- The description of the graph type.
-
getParameters
Returns the parameters that this graph uses.- Specified by:
getParameters
in interfaceRandomGraph
- Returns:
- A list of String names of parameters.
-