Package owl.ltl
Class Biconditional
- java.lang.Object
-
- owl.ltl.Formula
-
- owl.ltl.Formula.PropositionalOperator
-
- owl.ltl.Biconditional
-
- All Implemented Interfaces:
Comparable<Formula>
public final class Biconditional extends Formula.PropositionalOperator
Biconditional.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class owl.ltl.Formula
Formula.BinaryTemporalOperator, Formula.NaryPropositionalOperator, Formula.PropositionalOperator, Formula.TemporalOperator, Formula.UnaryTemporalOperator
-
-
Constructor Summary
Constructors Constructor Description Biconditional(Formula leftOperand, Formula rightOperand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(BinaryVisitor<P,R> visitor, P parameter)intaccept(IntVisitor visitor)<R> Raccept(Visitor<R> visitor)booleanisPureEventual()booleanisPureUniversal()FormulaleftOperand()Formulannf()Formulanot()Syntactically negate this formula.static Formulaof(Formula leftOperand, Formula rightOperand)Construct a LTL-equivalent formula for (leftOperand)<->(rightOperand).FormularightOperand()Formulasubstitute(Function<? super Formula.TemporalOperator,? extends Formula> substitution)FormulatemporalStep(BitSet valuation)Do a single temporal step.StringtoString()-
Methods inherited from class owl.ltl.Formula.PropositionalOperator
unfold
-
Methods inherited from class owl.ltl.Formula
allMatch, anyMatch, atomicPropositions, compareTo, compareValue, equals, equalsValue, hashCode, height, isSuspendable, subformulas, subformulas, subformulas
-
-
-
-
Method Detail
-
of
public static Formula of(Formula leftOperand, Formula rightOperand)
Construct a LTL-equivalent formula for (leftOperand)<->(rightOperand). The method examines the operands and might choose to construct a simpler formula. However, the size of the syntax tree is not increased. In order to syntactically construct (leftOperand)<->(rightOperand) use the constructor.- Parameters:
leftOperand- The left operand of the biconditionalrightOperand- The right operand of the biconditional- Returns:
- a formula equivalent to (leftOperand)<->(rightOperand)
-
accept
public int accept(IntVisitor visitor)
-
accept
public <R,P> R accept(BinaryVisitor<P,R> visitor, P parameter)
-
isPureEventual
public boolean isPureEventual()
- Specified by:
isPureEventualin classFormula
-
isPureUniversal
public boolean isPureUniversal()
- Specified by:
isPureUniversalin classFormula
-
not
public Formula not()
Description copied from class:FormulaSyntactically negate this formula.If this formula is in NNF, the returned negation will also be in NNF.
-
substitute
public Formula substitute(Function<? super Formula.TemporalOperator,? extends Formula> substitution)
- Specified by:
substitutein classFormula
-
temporalStep
public Formula temporalStep(BitSet valuation)
Description copied from class:FormulaDo a single temporal step. This means that one layer of X-operators is removed and literals are replaced by their valuations.- Specified by:
temporalStepin classFormula
-
leftOperand
public Formula leftOperand()
-
rightOperand
public Formula rightOperand()
-
-