|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.ext.statisticsData
public class statisticsData
Nested Class Summary | |
---|---|
class |
statisticsData.AttrHash
|
class |
statisticsData.attributeInfo
informació sobre l'atribut |
Constructor Summary | |
---|---|
statisticsData()
Creates a new instance of statisticsData |
Method Summary | |
---|---|
void |
actualize_counters(int _sysinter,
int _usrinter,
java.util.Date sysInitDate,
java.util.Date usrInitDate)
actualitza els comptadors de temps i nombre de torns |
void |
clear()
|
void |
descarrega_attributes_info()
fa recompte de sumes |
java.util.HashMap |
geNumTurnsAskAnswer()
Returns the hash with the answered attributes |
int |
getNumAnsNous()
number new answer-attributes in the current intervention |
int |
getNumAnsRepetits()
number repeated answer-attributes in the current intervention |
int |
getNumAskNous()
number new asks in the current intervention |
int |
getNumAskRepetits()
number repeated asks in the current intervention |
java.util.HashMap |
getNumSystemAsk()
Returns the hash with the ask-attributes raised by the system |
java.util.HashMap |
getNumUserAnswer(java.lang.String key)
Returns the hash with the answered attributes raised by the user |
int |
getSysInterventions()
sys_inter getter - number of system intervention including greet |
java.util.ArrayList |
getSystemInterventionsTimes()
system interventions array containing the times for each intervention of the system |
long |
getSysTime()
sys_time getter - the time the system spent answering. |
long |
getTotalTime()
total_time of the dialogue getter in miliseconds |
java.util.ArrayList |
getUserInterventionsTimes()
user interventions array containing the times for each intervention of the user |
int |
getUsrInterventions()
usr_inter getter - numer of user interventions |
long |
getUsrTime()
usr_time getter - the time the user spent answering. |
void |
loadAttributesInfo(java.lang.String pathfile)
loads the attributes info file |
java.lang.String |
toString()
|
void |
trace_attributes(utterance ut)
processar utterance per actualitzar info dels atributs |
void |
WriteStatistics(java.io.PrintStream outstat,
java.lang.String sysstate,
java.lang.String sessionId)
|
void |
WriteStatistics(java.lang.String sysstate,
java.lang.String sessionId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public statisticsData()
Method Detail |
---|
public void loadAttributesInfo(java.lang.String pathfile)
public int getNumAnsRepetits()
public int getNumAnsNous()
public int getNumAskRepetits()
public int getNumAskNous()
public int getSysInterventions()
public int getUsrInterventions()
public long getSysTime()
public long getUsrTime()
public java.util.ArrayList getSystemInterventionsTimes()
public java.util.ArrayList getUserInterventionsTimes()
public long getTotalTime()
public java.util.HashMap getNumUserAnswer(java.lang.String key)
public java.util.HashMap geNumTurnsAskAnswer()
public java.util.HashMap getNumSystemAsk()
public void actualize_counters(int _sysinter, int _usrinter, java.util.Date sysInitDate, java.util.Date usrInitDate)
public void trace_attributes(utterance ut)
public void descarrega_attributes_info()
public void clear()
public void WriteStatistics(java.io.PrintStream outstat, java.lang.String sysstate, java.lang.String sessionId)
public void WriteStatistics(java.lang.String sysstate, java.lang.String sessionId)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |