|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.ut2004.navigation.evaluator.data.EvaluationResult
public class EvaluationResult
Result of evaluation of corresponding task.
| Constructor Summary | |
|---|---|
EvaluationResult(int total,
String map,
cz.cuni.amis.pogamut.base.utils.logging.LogCategory log,
String resultPath)
|
|
| Method Summary | |
|---|---|
void |
addResult(Path path,
PathResult.ResultType type,
long duration)
Adds result for single path. |
void |
addResult(Path path,
PathResult.ResultType type,
long duration,
cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
NavPoint nearestNavPoint)
Adds result for single path. |
void |
export(boolean append)
Export complete statistics about evaluation. |
void |
exportAggregate()
Exports aggregate statistics about evaluation. |
String |
getLogFile()
|
int |
getProcessedCount()
Number of processed paths. |
int |
getTotalPaths()
Total number of paths for evaluation. |
boolean |
hasFailedResult()
If the evaluation contains failed paths. |
boolean |
isInitialized()
|
void |
loadFromFile(File resultFile,
int remaining)
|
void |
setLog(cz.cuni.amis.pogamut.base.utils.logging.LogCategory log)
|
void |
startRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act)
Starts recording. |
void |
startRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
Path path)
Starts recording of path. |
void |
stopRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
boolean delete)
Stops recording. |
void |
stopRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
Path path,
boolean delete)
Stops recording of path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluationResult(int total,
String map,
cz.cuni.amis.pogamut.base.utils.logging.LogCategory log,
String resultPath)
| Method Detail |
|---|
public void addResult(Path path,
PathResult.ResultType type,
long duration)
path - Added path.type - Result of evaluation.duration - Duration of navigation.
public void addResult(Path path,
PathResult.ResultType type,
long duration,
cz.cuni.amis.pogamut.base3d.worldview.object.Location location,
NavPoint nearestNavPoint)
path - Added path.type - Result of evaluation.duration - Duration of navigation.location - Current bot location. (Failed only)nearestNavPoint - Nearest NavPoint. (Failed only)public void exportAggregate()
public void export(boolean append)
append - Append or overwritepublic void startRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act)
act -
public void startRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
Path path)
act - path -
public void stopRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
Path path,
boolean delete)
act - path - delete -
public void stopRecording(cz.cuni.amis.pogamut.base.communication.command.IAct act,
boolean delete)
act - delete - public String getLogFile()
public boolean hasFailedResult()
public int getTotalPaths()
public int getProcessedCount()
public void setLog(cz.cuni.amis.pogamut.base.utils.logging.LogCategory log)
public boolean isInitialized()
public void loadFromFile(File resultFile,
int remaining)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||