Class Question

java.lang.Object
edu.tufts.hrilab.slug.dialogue.Question

public class Question extends Object
  • Method Details

    • isMatchingAnswerSemantics

      public boolean isMatchingAnswerSemantics(Term answerSemantics)
    • getLastFormMatch

      public Term getLastFormMatch()
    • isMatchingQuestion

      public boolean isMatchingQuestion(String questionString)
    • hasMatchingResponseForms

      public boolean hasMatchingResponseForms(List<Term> responseForms)
    • hasMatchingResponseForm

      public boolean hasMatchingResponseForm(Term responseForm)
    • suspend

      protected void suspend()
    • resume

      protected void resume()
    • isActive

      public boolean isActive()
    • waitForResponse

      protected Map<Variable,Symbol> waitForResponse(long waitDuration)
    • endWaitForResponse

      protected void endWaitForResponse()
    • startWaitTimer

      protected void startWaitTimer()
    • resetWaitTimer

      protected void resetWaitTimer()
    • answer

      protected void answer(Map<Variable,Symbol> answerBindings)
    • wasAnswered

      public boolean wasAnswered()
    • getAnswerBindings

      public Map<Variable,Symbol> getAnswerBindings()
    • getTimestamp

      public long getTimestamp()
    • getQuestionString

      public String getQuestionString()
    • getResponseForms

      public List<Term> getResponseForms()
    • getQid

      public long getQid()
    • isMatchingAddressee

      public boolean isMatchingAddressee(Symbol speaker)
    • getAddressee

      public Symbol getAddressee()