public class TseitinTransformationVisitor extends java.lang.Object implements BooleanFormulaVisitor<java.lang.Integer>
Constructor and Description |
---|
TseitinTransformationVisitor() |
Modifier and Type | Method and Description |
---|---|
CnfSatInstance |
getCNF(int topVar) |
java.lang.Integer |
visitConjunction(Conjunction fm) |
java.lang.Integer |
visitConstant(BooleanConstant fm) |
java.lang.Integer |
visitDisjunction(Disjunction fm) |
java.lang.Integer |
visitNegation(Negation fm) |
java.lang.Integer |
visitVariable(BooleanVariable fm) |
public java.lang.Integer visitVariable(BooleanVariable fm)
visitVariable
in interface BooleanFormulaVisitor<java.lang.Integer>
public java.lang.Integer visitNegation(Negation fm)
visitNegation
in interface BooleanFormulaVisitor<java.lang.Integer>
public java.lang.Integer visitDisjunction(Disjunction fm)
visitDisjunction
in interface BooleanFormulaVisitor<java.lang.Integer>
public java.lang.Integer visitConjunction(Conjunction fm)
visitConjunction
in interface BooleanFormulaVisitor<java.lang.Integer>
public java.lang.Integer visitConstant(BooleanConstant fm)
visitConstant
in interface BooleanFormulaVisitor<java.lang.Integer>
public CnfSatInstance getCNF(int topVar)