Package edu.cmu.tetrad.search
Class IsFges
java.lang.Object
edu.cmu.tetrad.search.Fges
edu.cmu.tetrad.search.IsFges
- All Implemented Interfaces:
IGraphSearch,DagScorer
Instance-Specific FGES: overrides just the bump computations to use ISScore, while the FGES base still runs the rest
of the algorithm (caching, Meek, BES).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPopulationGraph(Graph pop) Sets the population graph for the current instance.Methods inherited from class edu.cmu.tetrad.search.Fges
getElapsedTime, getKnowledge, getMaxDegree, getModelScore, getOut, scoreDag, search, setBoundGraph, setFaithfulnessAssumed, setInitialGraph, setKnowledge, setMaxDegree, setNumThreads, setOut, setReplicating, setSymmetricFirstStep, setVerboseMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.IGraphSearch
getTest, setTest
-
Constructor Details
-
IsFges
Constructs an instance of the IsFges class with the specified instance-specific score and population score. Ensures that the instance-specific score is not null.- Parameters:
isScore- the instance-specific score used for FGES-style searchpopulationScore- the population score used for FGES-style search- Throws:
NullPointerException- if the provided instance-specific score is null
-
-
Method Details
-
setPopulationGraph
Sets the population graph for the current instance. If the provided graph is null, the population graph is set to null. Otherwise, it ensures that the node identities in the population graph match those used by FGES.- Parameters:
pop- the population graph to be set; null if no graph should be assigned.
-