Class DMSearch
java.lang.Object
edu.cmu.tetrad.search.work_in_progress.DMSearch
Implements the DM search.
- Version:
- $Id: $Id
- Author:
- Alexander Murray-Watters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Structure to hold latent structure. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyDmSearch
(Graph pattern, Set<String> inputString, double penalty) applyDmSearch.boolean
getData()
Getter for the fielddata
.Getter for the fielddmStructure
.int
Getter for the fieldgesDepth
.int[]
Getter for the fieldinputs
.int
getMinDepth.int[]
Getter for the fieldoutputs
.int[]
Getter for the fieldtrueInputs
.search()
search.void
setAlphaPC
(double alpha) Setter for the fieldalphaPC
.void
setAlphaSober
(double alpha) Setter for the fieldalphaSober
.void
Setter for the fielddata
.void
setDiscount
(double discount) setDiscount.void
setDmStructure
(DMSearch.LatentStructure structure) Setter for the fielddmStructure
.void
setGesDepth
(int gesDepth) Setter for the fieldgesDepth
.void
setInputs
(int[] inputs) Setter for the fieldinputs
.void
setMinDiscount
(int minDiscount) Setter for the fieldminDiscount
.void
setOutputs
(int[] outputs) Setter for the fieldoutputs
.void
setTrueInputs
(int[] trueInputs) Setter for the fieldtrueInputs
.void
setUseFgES
(boolean set) setUseFgES.
-
Constructor Details
-
DMSearch
public DMSearch()Constructor for DMSearch.
-
-
Method Details
-
setMinDiscount
public void setMinDiscount(int minDiscount) Setter for the field
minDiscount
.- Parameters:
minDiscount
- a int
-
getMinDepth
public int getMinDepth()getMinDepth.
- Returns:
- a int
-
getGesDepth
public int getGesDepth()Getter for the field
gesDepth
.- Returns:
- a int
-
setGesDepth
public void setGesDepth(int gesDepth) Setter for the field
gesDepth
.- Parameters:
gesDepth
- a int
-
getTrueInputs
public int[] getTrueInputs()Getter for the field
trueInputs
.- Returns:
- an array of objects
-
setTrueInputs
public void setTrueInputs(int[] trueInputs) Setter for the field
trueInputs
.- Parameters:
trueInputs
- an array of objects
-
getData
-
setData
-
getInputs
public int[] getInputs()Getter for the field
inputs
.- Returns:
- an array of objects
-
setInputs
public void setInputs(int[] inputs) Setter for the field
inputs
.- Parameters:
inputs
- an array of objects
-
getOutputs
public int[] getOutputs()Getter for the field
outputs
.- Returns:
- an array of objects
-
setOutputs
public void setOutputs(int[] outputs) Setter for the field
outputs
.- Parameters:
outputs
- an array of objects
-
getDmStructure
Getter for the field
dmStructure
.- Returns:
- a
DMSearch.LatentStructure
object
-
setDmStructure
Setter for the field
dmStructure
.- Parameters:
structure
- aDMSearch.LatentStructure
object
-
setAlphaSober
public void setAlphaSober(double alpha) Setter for the field
alphaSober
.- Parameters:
alpha
- a double
-
setAlphaPC
public void setAlphaPC(double alpha) Setter for the field
alphaPC
.- Parameters:
alpha
- a double
-
setDiscount
public void setDiscount(double discount) setDiscount.
- Parameters:
discount
- a double
-
setUseFgES
public void setUseFgES(boolean set) setUseFgES.
- Parameters:
set
- a boolean
-
search
search.
- Returns:
- a
Graph
object - Throws:
InterruptedException
-
applyDmSearch
public DMSearch.LatentStructure applyDmSearch(Graph pattern, Set<String> inputString, double penalty) applyDmSearch.
- Parameters:
pattern
- aGraph
objectinputString
- aSet
objectpenalty
- a double- Returns:
- a
DMSearch.LatentStructure
object
-
equals
-