Module logicng

Class BDDNormalFormFunction

  • Direct Known Subclasses:
    BDDCNFFunction, BDDDNFFunction

    public abstract class BDDNormalFormFunction
    extends Object
    Superclass for the normal form generation from a BDD.
    Since:
    2.3.0
    Version:
    2.3.0
    • Constructor Detail

      • BDDNormalFormFunction

        public BDDNormalFormFunction()
    • Method Detail

      • compute

        protected static Formula compute​(BDD bdd,
                                         boolean cnf)
        Computes a CNF/DNF from the given BDD.
        Parameters:
        bdd - the BDD
        cnf - true if a CNF should be computed, false if a DNF should be computed
        Returns:
        the normal form (CNF or DNF) computed from the BDD