Package edu.cmu.tetrad.search
Interface IGraphSearch
- All Known Subinterfaces:
IFas
- All Known Implementing Classes:
BossFci,BossPod,Ccd,Cdnod,Cfci,DmPc,Fas,Fasd,FaskOrig,FasLofs,Fci,FciMax,Fcit,Fges,FgesFci,FgesOrienter,Gfci,GraspFci,IsFges,IsGFci,Kpc,Mmhc,PagSamplingRfci,Pc,Pcd,PcMb,Pcmci,Rfci,RfciBsc,SampleVcpc,SampleVcpcFast,SpFci,StarFci,VcPc,VcPcAlt,VcPcFast
public interface IGraphSearch
Gives an interface for a search method that searches and returns a graph.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndependenceTestgetTest()Gets the test used by the search.search()Runs the search and returns a graph.default voidsetTest(IndependenceTest test) Sets the test to be used by the search.
-
Method Details
-
search
Runs the search and returns a graph.- Returns:
- The discovered graph.
- Throws:
InterruptedException- if any.
-
getTest
Gets the test used by the search.- Returns:
- The test used by the search.
- Throws:
IllegalStateException- if the search does not support getting the test.
-
setTest
Sets the test to be used by the search. The list of variables of the new proposed test must be equal to the list of variables of the existing test.- Parameters:
test- The test to be used by the search.- Throws:
IllegalArgumentException- if the list of variables of the new proposed test is not equal to the list of variables of the existing test.IllegalStateException- if the search does not support setting the test.
-