|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncOracle
An asynchronous oracle buffers queries, which can be retrieved and processed.
Method Summary | |
---|---|
void |
answerQuery(Word query,
Word answer)
Provide an answer for a query previously retrieved from this asynchronous oracle. |
List<Word> |
getQueries(int max)
Retrieve a list of queries currently buffered in this asynchronous oracle. |
Methods inherited from interface de.ls5.jlearn.interfaces.Oracle |
---|
processQuery |
Method Detail |
---|
List<Word> getQueries(int max)
max
- the maximal number of queries to be retrieved
Word
objectsvoid answerQuery(Word query, Word answer)
query
- a query previously retrieved from this asynchronous oracleanswer
- the result of the query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |