Package edu.tufts.hrilab.action.db
Class PerformanceMeasuresDatabase
java.lang.Object
edu.tufts.hrilab.action.db.PerformanceMeasuresDatabase
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Protected so that only the Database can instantiate. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Get the performance measures for an action db entry.void
loadPerformanceMeasures
(String fileDir, String filename) load the performance models from a file.void
savePerformanceMeasures
(String path, String filename) void
savePerformanceMeasures
(String path, String filename, Symbol agent)
-
Constructor Details
-
PerformanceMeasuresDatabase
protected PerformanceMeasuresDatabase()Protected so that only the Database can instantiate.
-
-
Method Details
-
createPerformanceMeasuresEntry
-
getPerformanceMeasures
Get the performance measures for an action db entry.- Parameters:
adbe
- action used to get performance measures
-
savePerformanceMeasures
-
savePerformanceMeasures
-
loadPerformanceMeasures
load the performance models from a file. FIXME: need better way to load performance models. The current implementation assumes single db entry per action However, there will be different db entries for different agents.- Parameters:
fileDir
- file containing performance modelsfilename
- file containing performance models
-