org.hops.common
Class UserModel_Demsfer

java.lang.Object
  extended by org.hops.common.UserModel_Demsfer
All Implemented Interfaces:
UserModel

public class UserModel_Demsfer
extends java.lang.Object
implements UserModel


Field Summary
 int interventions_num_iguals
          taxa d'encert amb manual
 int interventions_total
           
 ut_status last_stat
          configuraciķ
 initiative mode
           
 
Constructor Summary
UserModel_Demsfer()
          Creates a new instance of UserModel
UserModel_Demsfer(int cas)
           
 
Method Summary
 void adjustFactors(int manualUserLevel)
          funciķ per aprendre valors
 double getTaxaEncert()
          dona la taxa d'encert respecte les etiquetes manuals
 int getUserLevel()
          return the level of initiative of the intervention 0--> open 1--> directive
 void initNewDialogue()
          inicialitza les variables per a un nou diāleg del mateix usuari
 void setLastStatus(ut_status stat, answer_result ar, answer_coverage ac, answer_expected ae, boolean taskcovered, int numasknous, int numaskrepes, int numansnous, int numansrepes)
          actualitza les variables amb l'últim resultat de la interpretaciķ de la intervenciķ de l'usuari.
 java.lang.String toString()
          retorna un string amb la informaciķ actual del model d'usuari
 java.lang.String toStringBis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

last_stat

public ut_status last_stat
configuraciķ


mode

public initiative mode

interventions_num_iguals

public int interventions_num_iguals
taxa d'encert amb manual


interventions_total

public int interventions_total
Constructor Detail

UserModel_Demsfer

public UserModel_Demsfer()
Creates a new instance of UserModel


UserModel_Demsfer

public UserModel_Demsfer(int cas)
Method Detail

initNewDialogue

public void initNewDialogue()
inicialitza les variables per a un nou diāleg del mateix usuari

Specified by:
initNewDialogue in interface UserModel

setLastStatus

public void setLastStatus(ut_status stat,
                          answer_result ar,
                          answer_coverage ac,
                          answer_expected ae,
                          boolean taskcovered,
                          int numasknous,
                          int numaskrepes,
                          int numansnous,
                          int numansrepes)
actualitza les variables amb l'últim resultat de la interpretaciķ de la intervenciķ de l'usuari. Si no es vol usar coverage/expected del parser, posar els parāmetres d'entrada a null

Specified by:
setLastStatus in interface UserModel

adjustFactors

public void adjustFactors(int manualUserLevel)
funciķ per aprendre valors

Specified by:
adjustFactors in interface UserModel

getTaxaEncert

public double getTaxaEncert()
dona la taxa d'encert respecte les etiquetes manuals

Specified by:
getTaxaEncert in interface UserModel

getUserLevel

public int getUserLevel()
return the level of initiative of the intervention 0--> open 1--> directive

Specified by:
getUserLevel in interface UserModel

toString

public java.lang.String toString()
retorna un string amb la informaciķ actual del model d'usuari

Specified by:
toString in interface UserModel
Overrides:
toString in class java.lang.Object

toStringBis

public java.lang.String toStringBis()
Specified by:
toStringBis in interface UserModel