Search in sources :

Example 1 with ScoredGraph

use of edu.cmu.tetrad.search.ScoredGraph in project tetrad by cmu-phil.

the class FgesDisplay method setDisplayGraph.

private void setDisplayGraph() {
    int index = getIndexable().getIndex();
    if (topGraphs.size() == 0) {
        workbench.setGraph(new EdgeListGraph());
    } else {
        ScoredGraph scoredGraph = topGraphs.get(index);
        workbench.setGraph(scoredGraph.getGraph());
    }
}
Also used : EdgeListGraph(edu.cmu.tetrad.graph.EdgeListGraph) ScoredGraph(edu.cmu.tetrad.search.ScoredGraph)

Aggregations

EdgeListGraph (edu.cmu.tetrad.graph.EdgeListGraph)1 ScoredGraph (edu.cmu.tetrad.search.ScoredGraph)1