|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrwth.i2.ltlrv.formula.base.AbstractFormula
rwth.i2.ltlrv.afastate.base.AbstractAFAState
rwth.i2.ltlrv.afastate.base.NullaryAFAState
public abstract class NullaryAFAState
NullaryAFAState - Abstract base class of all nullary AFA states.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface rwth.i2.ltlrv.afastate.interfaze.IAFAState |
---|
IAFAState.ValidationException, IAFAState.VariableKind |
Field Summary |
---|
Fields inherited from class rwth.i2.ltlrv.formula.base.AbstractFormula |
---|
factory |
Constructor Summary | |
---|---|
NullaryAFAState()
|
Method Summary | |
---|---|
INullaryAFAState |
getInstance()
|
int |
hashCode()
|
IAFAState |
negationNormalForm()
Produces a formula in negation normal form, where negations occur only in front of propositions. |
void |
providesNeg(Set<String> result)
This returns the set of negatively provided variables at the current temporal levels. |
void |
providesPos(Set<String> result)
This returns the set of positively provided variables at the current temporal levels. |
void |
requires(Set<String> result)
This returns the set of required variables. |
IAFAState |
specializeBindings(WeakValuesMap<String,Object> bindings)
Returns a fresh copy of this subformula with bindings in propositions specialized by the bindings of propositions, which are passed in as argument. |
String |
toString()
|
void |
unboundVariablesAtCurrentJoinpoint(IAFAState.VariableKind variableKind,
Set<String> result)
|
void |
validate(Set<String> context)
To be implemented by actual formulae as described in IAFAState.validate() . |
Methods inherited from class rwth.i2.ltlrv.afastate.base.AbstractAFAState |
---|
doTransition, provides, transition, updateContext, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rwth.i2.ltlrv.afastate.interfaze.IAFAState |
---|
isFinalStateInAFA, provides, transition, validate |
Methods inherited from interface rwth.i2.ltlrv.formula.interfaze.IFormula |
---|
symbol |
Constructor Detail |
---|
public NullaryAFAState()
Method Detail |
---|
public IAFAState negationNormalForm()
Not.negationNormalForm()
.
negationNormalForm
in interface IFormula
IUntil
,
IRelease
,
IAnd
,
IOr
,
IProposition
public void unboundVariablesAtCurrentJoinpoint(IAFAState.VariableKind variableKind, Set<String> result)
unboundVariablesAtCurrentJoinpoint
in interface IAFAState
public IAFAState specializeBindings(WeakValuesMap<String,Object> bindings)
specializeBindings
in interface IAFAState
bindings
- Set of propositions holding actual bindings.
public void providesPos(Set<String> result)
providesPos( phi /\ psi ) = providesPos( phi ) join providesPos( psi ) providesPos( phi \/ psi ) = providesPos( phi ) intersect providesPos( psi ) providesPos( phi R psi ) = providesPos( (psi /\ phi) \/ (psi /\ X(phi R psi)) ) = providesPos( psi ) providesPos( phi U psi ) = providesPos( psi \/ (phi /\ X(phi U psi) ) = providesPos( psi ) intersect providesPos( phi ) providesPos( X phi ) = emptyset providesPos( !prop ) = emptyset providesPos( prop ) = provided variables of prop
providesPos
in interface IAFAState
result
- The result will be placed here.public void providesNeg(Set<String> result)
providesNeg( phi /\ psi ) = providesNeg( phi ) intersect providesNeg( psi ) providesNeg( phi \/ psi ) = providesNeg( phi ) join providesNeg( psi ) providesNeg( phi R psi ) = providesNeg( psi ) intersect providesNeg( phi ) providesNeg( phi U psi ) = providesNeg( psi ) providesNeg( X phi ) = emptyset providesNeg( !prop ) = provided variables of prop providesNeg( prop ) = emptyset
providesNeg
in interface IAFAState
result
- The result will be placed here.public void requires(Set<String> result)
requires
in interface IAFAState
result
- The result will be placed here.public void validate(Set<String> context) throws IAFAState.ValidationException
IAFAState.validate()
.
validate
in class AbstractAFAState
context
- Here the context is passed in from the outer (earlier) temporal layers.
IAFAState.ValidationException
public INullaryAFAState getInstance()
getInstance
in interface INullaryAFAState
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |