Package edu.tufts.hrilab.action
Class PerformanceAssessment
java.lang.Object
edu.tufts.hrilab.action.PerformanceAssessment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionestimatePerformanceMeasures
(Predicate goalPred, Symbol temporal, Predicate assessmentModification, int numSamples) estimate the expected performance measures for a goal given a possible assessment typestatic void
setExecutionManager
(ExecutionManager em, boolean shouldRunParallel)
-
Constructor Details
-
PerformanceAssessment
public PerformanceAssessment()
-
-
Method Details
-
setExecutionManager
-
estimatePerformanceMeasures
public static org.apache.commons.lang3.tuple.Triple<Symbol,Symbol, estimatePerformanceMeasuresSymbol> (Predicate goalPred, Symbol temporal, Predicate assessmentModification, int numSamples) estimate the expected performance measures for a goal given a possible assessment type- Parameters:
goalPred
- the goal to assesstemporal
- (before, during, after) denotes if the goal hasn't been submitted, the agent is working toward the goal, or the agent has completed the goalassessmentModification
- possible modification to make for assessment if(none()) -- no modification if(complete(goal/action)) -- agent completes goal/action if(state(stateToHold)) -- specific state holds if(modify(modType(...)) -- modify action sequence insert(goal/action) delete(goal/action) replace(original goal/action, new goal/action)numSamples
- number of simulation samples for assessment
-