Package com.bayesserver.inference
Class TreeQueryOutput
- java.lang.Object
-
- com.bayesserver.inference.TreeQueryOutput
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JunctionTreesDefinition
getJunctionTrees()
Gets the junction tree definition, if requested.Double
getTreeWidth()
Gets the tree width, if requested.
-
-
-
Method Detail
-
getTreeWidth
public Double getTreeWidth()
Gets the tree width, if requested. The tree width gives an indication of how much space is required to calculate the queries using exact inference, given the evidence.
-
getJunctionTrees
public JunctionTreesDefinition getJunctionTrees()
Gets the junction tree definition, if requested. The junction tree shows what factors/distributions are required to calculate the queries using exact inference, given the evidence, without actually creating the distributions. This is useful for debugging slow inference or out of memory issues.
-
-