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:
findMb
in interfaceIMbSearch
- Parameters:
target
- aNode
object- Returns:
- a
Set
object - Throws:
InterruptedException
-
getPc
Getter for the field
pc
.- Parameters:
t
- aNode
object- Returns:
- a supserset of PC, or, if the symmetric algorithm is used, PC.
- Throws:
InterruptedException
-
getAlgorithmName
getAlgorithmName.
- Specified by:
getAlgorithmName
in interfaceIMbSearch
- Returns:
- a
String
object
-
getNumIndependenceTests
public int getNumIndependenceTests()getNumIndependenceTests.
- Specified by:
getNumIndependenceTests
in interfaceIMbSearch
- Returns:
- a int
-