Class NNFVisitor
- java.lang.Object
-
- org.sosy_lab.java_smt.api.visitors.BooleanFormulaTransformationVisitor
-
- org.sosy_lab.java_smt.basicimpl.tactics.NNFVisitor
-
- All Implemented Interfaces:
BooleanFormulaVisitor<BooleanFormula>
public class NNFVisitor extends BooleanFormulaTransformationVisitor
-
-
Constructor Summary
Constructors Constructor Description NNFVisitor(FormulaManager pFmgr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanFormula
visitEquivalence(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Visit an equivalence between two formulas of boolean sort:operand1 = operand2
.BooleanFormula
visitIfThenElse(BooleanFormula processedCondition, BooleanFormula processedThenFormula, BooleanFormula processedElseFormula)
Visit an if-then-else expression.BooleanFormula
visitImplication(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Visit an implication.BooleanFormula
visitNot(BooleanFormula processedOperand)
Visit a NOT-expression.BooleanFormula
visitXor(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Visit a XOR-expression.-
Methods inherited from class org.sosy_lab.java_smt.api.visitors.BooleanFormulaTransformationVisitor
visitAnd, visitAtom, visitBoundVar, visitConstant, visitOr, visitQuantifier
-
-
-
-
Constructor Detail
-
NNFVisitor
public NNFVisitor(FormulaManager pFmgr)
-
-
Method Detail
-
visitNot
public BooleanFormula visitNot(BooleanFormula processedOperand)
Description copied from interface:BooleanFormulaVisitor
Visit a NOT-expression.- Specified by:
visitNot
in interfaceBooleanFormulaVisitor<BooleanFormula>
- Overrides:
visitNot
in classBooleanFormulaTransformationVisitor
- Parameters:
processedOperand
- Negated term.- See Also:
BooleanFormulaManager.not(org.sosy_lab.java_smt.api.BooleanFormula)
-
visitXor
public BooleanFormula visitXor(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Description copied from interface:BooleanFormulaVisitor
Visit a XOR-expression.- Specified by:
visitXor
in interfaceBooleanFormulaVisitor<BooleanFormula>
- Overrides:
visitXor
in classBooleanFormulaTransformationVisitor
- See Also:
BooleanFormulaManager.xor(org.sosy_lab.java_smt.api.BooleanFormula, org.sosy_lab.java_smt.api.BooleanFormula)
-
visitEquivalence
public BooleanFormula visitEquivalence(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Description copied from interface:BooleanFormulaVisitor
Visit an equivalence between two formulas of boolean sort:operand1 = operand2
.- Specified by:
visitEquivalence
in interfaceBooleanFormulaVisitor<BooleanFormula>
- Overrides:
visitEquivalence
in classBooleanFormulaTransformationVisitor
- See Also:
BooleanFormulaManager.equivalence(org.sosy_lab.java_smt.api.BooleanFormula, org.sosy_lab.java_smt.api.BooleanFormula)
-
visitImplication
public BooleanFormula visitImplication(BooleanFormula processedOperand1, BooleanFormula processedOperand2)
Description copied from interface:BooleanFormulaVisitor
Visit an implication.- Specified by:
visitImplication
in interfaceBooleanFormulaVisitor<BooleanFormula>
- Overrides:
visitImplication
in classBooleanFormulaTransformationVisitor
- See Also:
BooleanFormulaManager.implication(org.sosy_lab.java_smt.api.BooleanFormula, org.sosy_lab.java_smt.api.BooleanFormula)
-
visitIfThenElse
public BooleanFormula visitIfThenElse(BooleanFormula processedCondition, BooleanFormula processedThenFormula, BooleanFormula processedElseFormula)
Description copied from interface:BooleanFormulaVisitor
Visit an if-then-else expression.- Specified by:
visitIfThenElse
in interfaceBooleanFormulaVisitor<BooleanFormula>
- Overrides:
visitIfThenElse
in classBooleanFormulaTransformationVisitor
- See Also:
BooleanFormulaManager.ifThenElse(org.sosy_lab.java_smt.api.BooleanFormula, T, T)
-
-