Package owl.ltl
Class MOperator
-
- All Implemented Interfaces:
Comparable<Formula>
public final class MOperator extends BinaryModalOperator
Strong Release.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class owl.ltl.Formula
Formula.LogicalOperator, Formula.ModalOperator, Formula.TemporalOperator
-
-
Field Summary
-
Fields inherited from class owl.ltl.BinaryModalOperator
left, right
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,B>
Aaccept(BinaryVisitor<B,A> v, B parameter)
int
accept(IntVisitor v)
<R> R
accept(Visitor<R> v)
Formula
nnf()
Formula
not()
Syntactically negate this formula.static Formula
of(Formula leftOperand, Formula rightOperand)
Construct a LTL-equivalent formula for (leftOperand)M(rightOperand).String
operatorSymbol()
Formula
unfold()
Formula
unfoldTemporalStep(BitSet valuation)
Short-cut operation to avoid intermediate construction of formula ASTs.-
Methods inherited from class owl.ltl.BinaryModalOperator
children, compareToImpl, equalsImpl, isPureEventual, isPureUniversal, toString
-
Methods inherited from class owl.ltl.Formula.TemporalOperator
substitute, temporalStep, temporalStep, temporalStep, temporalStepUnfold
-
Methods inherited from class owl.ltl.Formula
allMatch, anyMatch, atomicPropositions, compareTo, equals, hashCode, height, isSuspendable, subformulas, subformulas, subformulas
-
-
-
-
Method Detail
-
of
public static Formula of(Formula leftOperand, Formula rightOperand)
Construct a LTL-equivalent formula for (leftOperand)M(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)M(rightOperand) use the constructor.- Parameters:
leftOperand
- The left operand of the M-operatorrightOperand
- The right operand of the M-operator- Returns:
- a formula equivalent to (leftOperand)M(rightOperand)
-
accept
public int accept(IntVisitor v)
-
accept
public <A,B> A accept(BinaryVisitor<B,A> v, B parameter)
-
operatorSymbol
public String operatorSymbol()
- Specified by:
operatorSymbol
in classBinaryModalOperator
-
not
public Formula not()
Description copied from class:Formula
Syntactically negate this formula.If this formula is in NNF, the returned negation will also be in NNF.
-
unfoldTemporalStep
public Formula unfoldTemporalStep(BitSet valuation)
Description copied from class:Formula
Short-cut operation to avoid intermediate construction of formula ASTs.- Specified by:
unfoldTemporalStep
in classFormula
-
-