Package edu.cmu.tetrad.search
Interface IFas
- All Superinterfaces:
IGraphSearch
Gives an interface for fast adjacency searches (i.e., PC adjacency searches).
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Method Summary
Modifier and TypeMethodDescriptiongetAmbiguousTriples(Node node) Returns the list of ambiguous triples found for a given node.longReturns the elapsed time of the search.getNodes()Returns the nodes searched over.Returns the sepset map discovered during search--that is, the map from node pairs to the sepsets used in the search to remove the corresponding edges from the complete graph.voidsetDepth(int depth) Sets the depth of the search--that is, the maximum number of variables conditioned on in the search.voidsetKnowledge(Knowledge knowledge) Sets the knowledge for the search.voidsetOut(PrintStream out) sets the print stream to send text to.voidsetStartTime(long startTime) Sets the start time for the search process.voidsetTimeout(long timeout) Sets the maximum time in milliseconds that a search process is allowed to run.voidsetVerbose(boolean verbose) Sets whether verbose output should be printed.Methods inherited from interface edu.cmu.tetrad.search.IGraphSearch
search
-
Method Details
-
setKnowledge
Sets the knowledge for the search.- Parameters:
knowledge- This knowledge.
-
getSepsets
SepsetMap getSepsets()Returns the sepset map discovered during search--that is, the map from node pairs to the sepsets used in the search to remove the corresponding edges from the complete graph.- Returns:
- This map.
-
setDepth
void setDepth(int depth) Sets the depth of the search--that is, the maximum number of variables conditioned on in the search.- Parameters:
depth- This maximum.
-
getElapsedTime
long getElapsedTime()Returns the elapsed time of the search.- Returns:
- This time.
-
getNodes
Returns the nodes searched over.- Returns:
- This list.
-
getAmbiguousTriples
Returns the list of ambiguous triples found for a given node.- Parameters:
node- The node- Returns:
- The list.
- See Also:
-
setVerbose
void setVerbose(boolean verbose) Sets whether verbose output should be printed.- Parameters:
verbose- True, if so.
-
setOut
sets the print stream to send text to.- Parameters:
out- This print stream.
-
setStartTime
void setStartTime(long startTime) Sets the start time for the search process.- Parameters:
startTime- The start time in milliseconds.
-
setTimeout
void setTimeout(long timeout) Sets the maximum time in milliseconds that a search process is allowed to run.- Parameters:
timeout- The timeout duration in milliseconds.
-