I - the input typeD - the output type@ParametersAreNonnullByDefault public class OmegaQuery<I,D> extends Object
When answering OmegaQueries, one needs to specify the periodicity p of the looping suffix v, i.e. for what p the answer contains information about the response to the query uvp (which can then be generalized to the infinite case since u(vp)ω = uvω.
If one cannot determine this value (e.g. because the response exhibits a non periodic pattern), one may specify a
negative value for p. isUltimatelyPeriodic() then consequently returns false. In this case
the output of the query (getOutput()) may be undefined.
DefaultQuery,
Query,
ObservableSUL.getState()| Constructor and Description |
|---|
OmegaQuery(Word<I> prefix,
Word<I> loop,
int repeat) |
| Modifier and Type | Method and Description |
|---|---|
void |
answer(D output,
int periodicity) |
DefaultQuery<I,D> |
asDefaultQuery() |
boolean |
equals(Object o) |
Word<I> |
getLoop() |
D |
getOutput() |
int |
getPeriodicity() |
Word<I> |
getPrefix() |
int |
getRepeat() |
int |
hashCode() |
boolean |
isUltimatelyPeriodic() |
String |
toString() |
public void answer(D output, int periodicity)
public int getRepeat()
public int getPeriodicity()
public boolean isUltimatelyPeriodic()
public DefaultQuery<I,D> asDefaultQuery()
Copyright © 2019. All rights reserved.