Class BooleanExpressions


  • public final class BooleanExpressions
    extends Object
    • Method Detail

      • createConjunction

        public static <T extends jhoafparser.ast.Atom> jhoafparser.ast.BooleanExpression<T> createConjunction​(Iterable<jhoafparser.ast.BooleanExpression<T>> conjuncts)
      • mkFin

        public static jhoafparser.ast.BooleanExpression<jhoafparser.ast.AtomAcceptance> mkFin​(int number)
      • mkInf

        public static jhoafparser.ast.BooleanExpression<jhoafparser.ast.AtomAcceptance> mkInf​(int number)
      • toDnf

        public static List<jhoafparser.ast.BooleanExpression<jhoafparser.ast.AtomAcceptance>> toDnf​(jhoafparser.ast.BooleanExpression<jhoafparser.ast.AtomAcceptance> acc)
      • toPropositionalFormula

        public static PropositionalFormula<Integer> toPropositionalFormula​(jhoafparser.ast.BooleanExpression<? extends jhoafparser.ast.AtomAcceptance> expression)
      • fromPropositionalFormula

        public static jhoafparser.ast.BooleanExpression<jhoafparser.ast.AtomAcceptance> fromPropositionalFormula​(PropositionalFormula<Integer> formula)
      • fromPropositionalFormula

        public static <A extends jhoafparser.ast.Atom> jhoafparser.ast.BooleanExpression<A> fromPropositionalFormula​(PropositionalFormula<Integer> formula,
                                                                                                                     Function<? super Integer,​? extends jhoafparser.ast.BooleanExpression<A>> mapper)
      • fromPropositionalFormula

        public static <A extends jhoafparser.ast.Atom> jhoafparser.ast.BooleanExpression<A> fromPropositionalFormula​(PropositionalFormula<Integer> formula,
                                                                                                                     Function<? super Integer,​? extends jhoafparser.ast.BooleanExpression<A>> mapper,
                                                                                                                     Function<? super Integer,​? extends jhoafparser.ast.BooleanExpression<A>> negatedMapper)