Module logicng

Interface DnnfFunction<RESULT>

  • Type Parameters:
    RESULT - the result type of the function
    All Known Implementing Classes:
    DnnfModelCountFunction

    public interface DnnfFunction<RESULT>
    A function which can be applied on a DNNF.
    Since:
    2.0.0
    Version:
    2.0.0
    • Method Detail

      • apply

        RESULT apply​(SortedSet<Variable> originalVariables,
                     Formula formula)
        Applies this function to a given DNNF
        Parameters:
        originalVariables - the original variables of the DNNF
        formula - the formula of the DNNF
        Returns:
        the result of the function application