Package edu.cmu.tetrad.bayes
Class ModelGenerator
java.lang.Object
edu.cmu.tetrad.bayes.ModelGenerator
Provides static methods for generating variants of an input graph. For example, the first method generates all 1 step
modifications of the graph.
- Author:
- Frank Wimberly
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ModelGenerator
public ModelGenerator()
-
-
Method Details
-
generate
This method takes an acyclic graph as input and returns a list of graphs each of which is a modification of the original graph with either an edge deleted, added or reversed. Edges are not added or reversed if a cycle would result.
-