Changes between Version 5 and Version 6 of dialogmanager


Ignore:
Timestamp:
12/03/19 14:53:13 (5 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dialogmanager

    v5 v6  
    33The dialog manager is a tool to create and execute dialogs  with a human user.
    44
    5 == Terminology
     5The basic dialog cycle as represented in DialogState and implemented in DemoApp is like this
    66
    7 * Distance between parameters: the euclidean distance (sqrt of the sum of squares) of the difference between the two parameter values, on a per-key basis. Only values for which hoth parameters have the key are compared.
     7{{{
     8while (!state.isFinal()) {
     9        state = state.withRandomOption();
     10        Stimulus stimulus = state.getOption().getStimulation()
     11                .substitute(state.getParameters());
     12        present stimulus
     13        String answer = get answer fitting state.getOption.getAnswerType();
     14        state = state.with(answer);
     15}}}
    816
     17== Parameters
     18* The user's answers, current dialog state label, and other parameters relevant for the dialog are stored in a set of parameters. This is just a map with keys and values both strings. The keys are called the "variable name" and the values the "variable value".
     19* Distance between two parameters is the euclidean distance (sqrt of the sum of squares) of the difference between the two parameter values, on a per-key basis. Only values for which both parameters have the key are compared. For non-numeric values, the difference is usually 0 if the values are equal, or else 1.
    920
    1021The dialog manager contains a number of key objects