Package owl.ltl
Class FOperator
- java.lang.Object
-
- owl.ltl.AbstractFormula
-
- owl.ltl.UnaryModalOperator
-
- owl.ltl.FOperator
-
- All Implemented Interfaces:
Formula
public class FOperator extends UnaryModalOperator
Finally.
-
-
Field Summary
-
Fields inherited from class owl.ltl.UnaryModalOperator
operand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,B> A
accept(BinaryVisitor<B,A> v, B parameter)
int
accept(IntVisitor v)
<R> R
accept(Visitor<R> v)
String
getOperator()
boolean
isPureEventual()
boolean
isPureUniversal()
boolean
isSuspendable()
Formula
nnf()
Formula
not()
Syntactically negate this formula.static Formula
of(Formula operand)
Construct a LTL-equivalent formula for F(operand).Formula
unfold()
Formula
unfoldTemporalStep(BitSet valuation)
Short-cut operation to avoid intermediate construction of formula ASTs.-
Methods inherited from class owl.ltl.AbstractFormula
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from class owl.ltl.UnaryModalOperator
allMatch, anyMatch, equals2, getOperand, hashCodeOnce, temporalStep, temporalStepUnfold, toString
-
-
-
-
Constructor Detail
-
FOperator
public FOperator(Formula f)
-
-
Method Detail
-
of
public static Formula of(Formula operand)
Construct a LTL-equivalent formula for F(operand). The method examines the operand and might choose to construct a simpler formula. However, the size of the syntax tree is not increased. In order to syntactically construct F(operand) use the constructor.- Parameters:
operand
- The operand of the F-operator- Returns:
- a formula equivalent to F(operand)
-
accept
public int accept(IntVisitor v)
-
accept
public <R> R accept(Visitor<R> v)
-
accept
public <A,B> A accept(BinaryVisitor<B,A> v, B parameter)
-
getOperator
public String getOperator()
- Specified by:
getOperator
in classUnaryModalOperator
-
isPureEventual
public boolean isPureEventual()
-
isPureUniversal
public boolean isPureUniversal()
-
isSuspendable
public boolean isSuspendable()
-
nnf
public Formula nnf()
-
not
public Formula not()
Description copied from interface:Formula
Syntactically negate this formula.If this formula is in NNF, the returned negation will also be in NNF.
- Returns:
- the negation of this formula.
-
unfold
public Formula unfold()
-
-