Module logicng

Class EliminatingOrderDTreeGenerator

  • All Implemented Interfaces:
    DTreeGenerator
    Direct Known Subclasses:
    MinFillDTreeGenerator

    public abstract class EliminatingOrderDTreeGenerator
    extends Object
    implements DTreeGenerator
    A generator for a DTree from an arbitrary eliminating order of variables as described in A. Darwiche "Decomposable Negation Normal Form" (algorithm "el2dt").
    Since:
    2.0.0
    Version:
    2.0.0
    • Constructor Detail

      • EliminatingOrderDTreeGenerator

        public EliminatingOrderDTreeGenerator()
    • Method Detail

      • generateWithEliminatingOrder

        public final DTree generateWithEliminatingOrder​(Formula cnf,
                                                        List<Variable> ordering)
        Generates the DTree
        Parameters:
        cnf - the CNF input formula
        ordering - the variable ordering
        Returns:
        the DTree