Class RelevanceTreeQueryOutput

    • Constructor Detail

      • RelevanceTreeQueryOutput

        public RelevanceTreeQueryOutput()
        Initializes a new instance of the RelevanceTreeQueryOutput class.
    • Method Detail

      • getLogLikelihood

        public Double getLogLikelihood()
        Gets the log-likelihood value. On return from a query the value will be null unless QueryOptions.getLogLikelihood() is set to true.

        The log-likelihood should only be requested if required.

        The natural log (base e) likelihood is returned, or null if not requested.

        Specified by:
        getLogLikelihood in interface QueryOutput
      • setLogLikelihood

        public void setLogLikelihood​(Double value)
        Sets the log-likelihood value. On return from a query the value will be null unless QueryOptions.getLogLikelihood() is set to true.

        The log-likelihood should only be requested if required.

        The natural log (base e) likelihood is returned, or null if not requested.

        Specified by:
        setLogLikelihood in interface QueryOutput
      • reset

        public void reset()
        Resets all values to their defaults. For example the log-likelihood is reset to null.
        Specified by:
        reset in interface QueryOutput