Package edu.cmu.tetrad.search
Class AdLeafTree
java.lang.Object
edu.cmu.tetrad.search.AdLeafTree
Constructs and AD leaf tree on the fly. Probably doesn't speed up the first
algorithm it's used for much, but it should speed up subsequent algorithm
on the same data.
Continuous variables in the data set are ignored.
- Author:
- Joseph Ramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFinds the set of indices into the leaves of the tree for the given variables.Finds the set of indices into the leaves of the tree for the given variables.void
setColumn
(DiscreteVariable var, int[] col)
-
Constructor Details
-
AdLeafTree
-
-
Method Details
-
getCellLeaves
Finds the set of indices into the leaves of the tree for the given variables. Counts are the sizes of the index sets.- Parameters:
A
- A list of discrete variables.- Returns:
- The list of index sets of the first variable varied by the second variable, and so on, to the last variable.
-
getCellLeaves
Finds the set of indices into the leaves of the tree for the given variables. Counts are the sizes of the index sets.- Parameters:
A
- A list of discrete variables.- Returns:
- The list of index sets of the first variable varied by the second variable, and so on, to the last variable.
-
setColumn
-