Class PerformanceAssessment

java.lang.Object
edu.tufts.hrilab.action.PerformanceAssessment

public class PerformanceAssessment extends Object
  • Constructor Details

    • PerformanceAssessment

      public PerformanceAssessment()
  • Method Details

    • setExecutionManager

      public static void setExecutionManager(ExecutionManager em, boolean shouldRunParallel)
    • estimatePerformanceMeasures

      public static org.apache.commons.lang3.tuple.Triple<Symbol,Symbol,Symbol> estimatePerformanceMeasures(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 assess
      temporal - (before, during, after) denotes if the goal hasn't been submitted, the agent is working toward the goal, or the agent has completed the goal
      assessmentModification - 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