Package edu.tufts.hrilab.slug.dialogue
Class Question
java.lang.Object
edu.tufts.hrilab.slug.dialogue.Question
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidlonggetQid()longbooleanhasMatchingResponseForm(Term responseForm) booleanhasMatchingResponseForms(List<Term> responseForms) booleanisActive()booleanisMatchingAddressee(Symbol speaker) booleanisMatchingAnswerSemantics(Term answerSemantics) booleanisMatchingQuestion(String questionString) protected voidprotected voidresume()protected voidprotected voidsuspend()waitForResponse(long waitDuration) boolean
-
Method Details
-
isMatchingAnswerSemantics
-
getLastFormMatch
-
isMatchingQuestion
-
hasMatchingResponseForms
-
hasMatchingResponseForm
-
suspend
protected void suspend() -
resume
protected void resume() -
isActive
public boolean isActive() -
waitForResponse
-
endWaitForResponse
protected void endWaitForResponse() -
startWaitTimer
protected void startWaitTimer() -
resetWaitTimer
protected void resetWaitTimer() -
answer
-
wasAnswered
public boolean wasAnswered() -
getAnswerBindings
-
getTimestamp
public long getTimestamp() -
getQuestionString
-
getResponseForms
-
getQid
public long getQid() -
isMatchingAddressee
-
getAddressee
-