public void reset(DialogueState state){
  recordState(state,CURRENT);
  listBox.setSelectedIndex(0);
  while (listModel.size() > 2) {
    String name=listModel.remove(2);
    states.remove(name);
  }
  visualisation.showBayesianNetwork(state);
}

public void reset ( DialogueState state ) { recordState ( state , CURRENT ) ; listBox . setSelectedIndex ( 0 ) ; while ( listModel . size ( ) > 2 ) { String name = listModel . remove ( 2 ) ; states . remove ( name ) ; } visualisation . showBayesianNetwork ( state ) ; }
resets the dialogue state shown in the monitor tab .
