Class Ion
java.lang.Object
edu.cmu.tetrad.search.work_in_progress.Ion
Implements the ION (Integration of Overlapping Networks) algorithm for distributed causal inference. The algorithm
takes as input a set of PAGs (presumably learned using a local learning algorithm) over variable sets that may have
some variables in common and others not in common. The algorithm returns a complete set of PAGs over every variable
form an input PAG_of_the_true_DAG that are consistent (same d-separations and d-connections) with every input
PAG_of_the_true_DAG.
- Version:
- $Id: $Id
- Author:
- Robert Tillman, josephramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIterations.doublegetMaxMemUsage.Getter for the fieldruntime.getStats()Summarizes time and hitting set time and size information for latexsearch()Runs the ION search and returns a list of compatible graphs.voidsetDoAdjacencySearch(boolean doAdjacencySearch) Sets adjacency search on or offvoidsetDoPathLengthSearch(boolean doPathLengthSearch) Sets path length search on or off.voidsetKnowledge(Knowledge knowledge) Sets the knowledge to be used for this search.treks.
-
Constructor Details
-
Ion
Constructs a new instance of the ION search from the input PAGs- Parameters:
pags- The PAGs to be integrated
-
-
Method Details
-
treks
treks.
-
setDoPathLengthSearch
public void setDoPathLengthSearch(boolean doPathLengthSearch) Sets path length search on or off.- Parameters:
doPathLengthSearch- True if on.
-
setDoAdjacencySearch
public void setDoAdjacencySearch(boolean doAdjacencySearch) Sets adjacency search on or off- Parameters:
doAdjacencySearch- True if on.
-
setKnowledge
Sets the knowledge to be used for this search.- Parameters:
knowledge- This knowledge.
-
search
Runs the ION search and returns a list of compatible graphs.- Returns:
- These graphs.
-
getRuntime
Getter for the field
runtime.- Returns:
- The total runtime and times for hitting set calculations.
-
getMaxMemUsage
public double getMaxMemUsage()getMaxMemUsage.
- Returns:
- The maximum memory used in a run of ION
-
getIterations
getIterations.
- Returns:
- a
Listobject
-
getStats
Summarizes time and hitting set time and size information for latex- Returns:
- A string summarizing this information.
-