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 SummaryNested ClassesModifier and TypeClassDescriptionclassStructure to hold latent structure.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplyDmSearch(Graph pattern, Set<String> inputString, double penalty) applyDmSearch.booleangetData()Getter for the fielddata.Getter for the fielddmStructure.intGetter for the fieldgesDepth.int[]Getter for the fieldinputs.intgetMinDepth.int[]Getter for the fieldoutputs.int[]Getter for the fieldtrueInputs.search()search.voidsetAlphaPC(double alpha) Setter for the fieldalphaPC.voidsetAlphaSober(double alpha) Setter for the fieldalphaSober.voidSetter for the fielddata.voidsetDiscount(double discount) setDiscount.voidsetDmStructure(DMSearch.LatentStructure structure) Setter for the fielddmStructure.voidsetGesDepth(int gesDepth) Setter for the fieldgesDepth.voidsetInputs(int[] inputs) Setter for the fieldinputs.voidsetMinDiscount(int minDiscount) Setter for the fieldminDiscount.voidsetOutputs(int[] outputs) Setter for the fieldoutputs.voidsetTrueInputs(int[] trueInputs) Setter for the fieldtrueInputs.voidsetUseFgES(boolean set) setUseFgES.
- 
Constructor Details- 
DMSearchpublic DMSearch()Constructor for DMSearch. 
 
- 
- 
Method Details- 
setMinDiscountpublic void setMinDiscount(int minDiscount) Setter for the field minDiscount.- Parameters:
- minDiscount- a int
 
- 
getMinDepthpublic int getMinDepth()getMinDepth. - Returns:
- a int
 
- 
getGesDepthpublic int getGesDepth()Getter for the field gesDepth.- Returns:
- a int
 
- 
setGesDepthpublic void setGesDepth(int gesDepth) Setter for the field gesDepth.- Parameters:
- gesDepth- a int
 
- 
getTrueInputspublic int[] getTrueInputs()Getter for the field trueInputs.- Returns:
- an array of objects
 
- 
setTrueInputspublic void setTrueInputs(int[] trueInputs) Setter for the field trueInputs.- Parameters:
- trueInputs- an array of objects
 
- 
getData
- 
setData
- 
getInputspublic int[] getInputs()Getter for the field inputs.- Returns:
- an array of objects
 
- 
setInputspublic void setInputs(int[] inputs) Setter for the field inputs.- Parameters:
- inputs- an array of objects
 
- 
getOutputspublic int[] getOutputs()Getter for the field outputs.- Returns:
- an array of objects
 
- 
setOutputspublic void setOutputs(int[] outputs) Setter for the field outputs.- Parameters:
- outputs- an array of objects
 
- 
getDmStructureGetter for the field dmStructure.- Returns:
- a DMSearch.LatentStructureobject
 
- 
setDmStructureSetter for the field dmStructure.- Parameters:
- structure- a- DMSearch.LatentStructureobject
 
- 
setAlphaSoberpublic void setAlphaSober(double alpha) Setter for the field alphaSober.- Parameters:
- alpha- a double
 
- 
setAlphaPCpublic void setAlphaPC(double alpha) Setter for the field alphaPC.- Parameters:
- alpha- a double
 
- 
setDiscountpublic void setDiscount(double discount) setDiscount. - Parameters:
- discount- a double
 
- 
setUseFgESpublic void setUseFgES(boolean set) setUseFgES. - Parameters:
- set- a boolean
 
- 
searchsearch. - Returns:
- a Graphobject
- Throws:
- InterruptedException
 
- 
applyDmSearchpublic DMSearch.LatentStructure applyDmSearch(Graph pattern, Set<String> inputString, double penalty) applyDmSearch. - Parameters:
- pattern- a- Graphobject
- inputString- a- Setobject
- penalty- a double
- Returns:
- a DMSearch.LatentStructureobject
 
- 
equals
 
-