rwth.i2.ltlrv.formula.impl
Class Implies
java.lang.Object
rwth.i2.ltlrv.formula.base.AbstractFormula
rwth.i2.ltlrv.formula.base.BinaryFormula
rwth.i2.ltlrv.formula.impl.Implies
- All Implemented Interfaces:
- IBinaryTerm, IFormula, IImplies
public class Implies
- extends BinaryFormula
- implements IImplies
Implies - Implements the Implies relation as subformula.
- Author:
- Eric Bodden
Method Summary |
IAFAState |
negationNormalForm()
Produces a formula in negation normal form, where negations
occur only in front of propositions. |
String |
symbol()
Returns the symbol for this term constructor. |
Implies
public Implies(IFormula subFormula1,
IFormula subFormula2)
- Parameters:
subFormula1
- left subformulasubFormula2
- right subformula
symbol
public String symbol()
- Returns the symbol for this term constructor.
Propositions should return their label.
All symbols, including those for nullary term constructors
should be distinct.
- Specified by:
symbol
in interface IFormula
- Returns:
- The symbol for this term constructor.
negationNormalForm
public IAFAState negationNormalForm()
- Produces a formula in negation normal form, where negations
occur only in front of propositions. This form also holds
only IUntil, IRelease, IAnd, IOr, INot, IProposition subformulae.
This must return a copy of the original formula.
The major work is done in
Not.negationNormalForm()
.
- Specified by:
negationNormalForm
in interface IFormula
- Returns:
- the formula in negation normal form
- See Also:
IUntil
,
IRelease
,
IAnd
,
IOr
,
IProposition