Module logicng

Class DnnfModelCountFunction

    • Method Detail

      • get

        public static DnnfModelCountFunction get()
        Returns the singleton instance of this function.
        Returns:
        an instance of this function
      • apply

        public BigInteger apply​(SortedSet<Variable> originalVariables,
                                Formula formula)
        Description copied from interface: DnnfFunction
        Applies this function to a given DNNF
        Specified by:
        apply in interface DnnfFunction<BigInteger>
        Parameters:
        originalVariables - the original variables of the DNNF
        formula - the formula of the DNNF
        Returns:
        the result of the function application