Package owl.ltl
Class BooleanConstant
- java.lang.Object
-
- owl.ltl.Formula
-
- owl.ltl.Formula.PropositionalOperator
-
- owl.ltl.BooleanConstant
-
- All Implemented Interfaces:
Comparable<Formula>
public final class BooleanConstant extends Formula.PropositionalOperator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class owl.ltl.Formula
Formula.BinaryTemporalOperator, Formula.NaryPropositionalOperator, Formula.PropositionalOperator, Formula.TemporalOperator, Formula.UnaryTemporalOperator
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanConstant
FALSE
static BooleanConstant
TRUE
boolean
value
-
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)
protected int
compareValue(Formula o)
protected boolean
equalsValue(Formula o)
boolean
isPureEventual()
boolean
isPureUniversal()
Formula
nnf()
BooleanConstant
not()
Syntactically negate this formula.static BooleanConstant
of(boolean value)
Formula
substitute(Function<? super Formula.TemporalOperator,? extends Formula> substitution)
Formula
temporalStep(BitSet valuation)
Do a single temporal step.String
toString()
-
Methods inherited from class owl.ltl.Formula.PropositionalOperator
unfold
-
Methods inherited from class owl.ltl.Formula
allMatch, anyMatch, atomicPropositions, compareTo, equals, hashCode, height, isSuspendable, subformulas, subformulas, subformulas
-
-
-
-
Field Detail
-
FALSE
public static final BooleanConstant FALSE
-
TRUE
public static final BooleanConstant TRUE
-
value
public final boolean value
-
-
Method Detail
-
of
public static BooleanConstant of(boolean value)
-
accept
public int accept(IntVisitor v)
-
accept
public <A,B> A accept(BinaryVisitor<B,A> v, B parameter)
-
isPureEventual
public boolean isPureEventual()
- Specified by:
isPureEventual
in classFormula
-
isPureUniversal
public boolean isPureUniversal()
- Specified by:
isPureUniversal
in classFormula
-
not
@Nonnull public BooleanConstant not()
Description copied from class:Formula
Syntactically negate this formula.If this formula is in NNF, the returned negation will also be in NNF.
-
temporalStep
public Formula temporalStep(BitSet valuation)
Description copied from class:Formula
Do a single temporal step. This means that one layer of X-operators is removed and literals are replaced by their valuations.- Specified by:
temporalStep
in classFormula
-
substitute
public Formula substitute(Function<? super Formula.TemporalOperator,? extends Formula> substitution)
- Specified by:
substitute
in classFormula
-
compareValue
protected int compareValue(Formula o)
- Overrides:
compareValue
in classFormula
-
equalsValue
protected boolean equalsValue(Formula o)
- Overrides:
equalsValue
in classFormula
-
-