Module logicng

Class LngBDDFunction

  • All Implemented Interfaces:
    BDDFunction<BDDNode>

    public final class LngBDDFunction
    extends Object
    implements BDDFunction<BDDNode>
    Creates a LogicNG internal BDD data structure of a given BDD.
    Since:
    2.0.0
    Version:
    2.3.0
    • Constructor Detail

      • LngBDDFunction

        @Deprecated
        public LngBDDFunction()
        Deprecated.
        In the next version, the standard constructor will be replaced by a private constructor. In order to instantiate an object of this class, use the get() method.
    • Method Detail

      • get

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

        public BDDNode apply​(BDD bdd)
        Description copied from interface: BDDFunction
        Applies this function on a given BDD.
        Specified by:
        apply in interface BDDFunction<BDDNode>
        Parameters:
        bdd - the BDD
        Returns:
        the result of the application