Class Mmmb
java.lang.Object
edu.cmu.tetrad.search.work_in_progress.Mmmb
- All Implemented Interfaces:
IMbSearch
Implements the Min-Max Markov Blanks (MMMB) algorithm as defined in Tsamardinos, Aliferis, and Statnikov, Time and
Sample Efficient Discovery of Markov Blankets and Direct Causal Relations (KDD 2003).
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Mmmb
Constructs.- Parameters:
test- The independence test used in the search.depth- The maximum number of variables conditioned on.symmetric- True if the symmetric algorithm is to be used.
-
-
Method Details
-
findMb
Given the target, this returns all the nodes in the Markov Blanket.Searches for the Markov blanket of the node by the given name.
- Specified by:
findMbin interfaceIMbSearch- Parameters:
target- aNodeobject- Returns:
- a
Setobject - Throws:
InterruptedException- if any
-
getPc
Getter for the field
pc.- Parameters:
t- aNodeobject- Returns:
- a supserset of PC, or, if the symmetric algorithm is used, PC.
- Throws:
InterruptedException- if any.
-
getAlgorithmName
getAlgorithmName.
- Specified by:
getAlgorithmNamein interfaceIMbSearch- Returns:
- a
Stringobject
-
getNumIndependenceTests
public int getNumIndependenceTests()getNumIndependenceTests.
- Specified by:
getNumIndependenceTestsin interfaceIMbSearch- Returns:
- a int
-