Class TreeQueryOutput


  • public final class TreeQueryOutput
    extends Object
    Contains information output by a TreeQuery.
    • 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.