Skip to content

Commit

Permalink
Merge pull request #366 from cmu-phil/6.0.1-fix-fgs-description
Browse files Browse the repository at this point in the history
Renaming FGS to FGES.
  • Loading branch information
kvb2univpitt authored Dec 13, 2016
2 parents f9e1175 + 5603a16 commit bd9d200
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package edu.cmu.tetrad.algcomparison.algorithm.oracle.pattern;

import edu.cmu.tetrad.algcomparison.algorithm.Algorithm;
import edu.cmu.tetrad.algcomparison.graph.RandomForward;
import edu.cmu.tetrad.algcomparison.score.ScoreWrapper;
import edu.cmu.tetrad.algcomparison.score.SemBicScore;
import edu.cmu.tetrad.algcomparison.simulation.SemSimulation;
import edu.cmu.tetrad.algcomparison.utils.HasKnowledge;
import edu.cmu.tetrad.algcomparison.utils.TakesInitialGraph;
import edu.cmu.tetrad.data.*;
import edu.cmu.tetrad.data.DataModel;
import edu.cmu.tetrad.data.DataType;
import edu.cmu.tetrad.data.IKnowledge;
import edu.cmu.tetrad.data.Knowledge2;
import edu.cmu.tetrad.graph.EdgeListGraph;
import edu.cmu.tetrad.graph.Graph;
import edu.cmu.tetrad.search.SearchGraphUtils;
Expand Down Expand Up @@ -44,8 +44,8 @@ public Graph search(DataModel dataSet, Parameters parameters) {
initial = initialGraph.search(dataSet, parameters);
}

edu.cmu.tetrad.search.Fgs search =
new edu.cmu.tetrad.search.Fgs(score.getScore(dataSet, parameters));
edu.cmu.tetrad.search.Fgs search
= new edu.cmu.tetrad.search.Fgs(score.getScore(dataSet, parameters));
search.setFaithfulnessAssumed(parameters.getBoolean("faithfulnessAssumed"));
search.setKnowledge(knowledge);
search.setVerbose(parameters.getBoolean("verbose"));
Expand All @@ -71,7 +71,7 @@ public Graph getComparisonGraph(Graph graph) {

@Override
public String getDescription() {
return "FGS (Fast Greedy Search) using " + score.getDescription();
return "FGES (Fast Greedy Equivalence Search) using " + score.getDescription();
}

@Override
Expand All @@ -97,4 +97,5 @@ public IKnowledge getKnowledge() {
public void setKnowledge(IKnowledge knowledge) {
this.knowledge = knowledge;
}

}

0 comments on commit bd9d200

Please sign in to comment.