Package edu.tufts.hrilab.action.manager
Class SingleGoalExecutionManager
java.lang.Object
edu.tufts.hrilab.action.manager.ExecutionManager
edu.tufts.hrilab.action.manager.SingleGoalExecutionManager
- All Implemented Interfaces:
GoalListener
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.tufts.hrilab.action.manager.ExecutionManager
ExecutionManager.UpdateType -
Field Summary
Fields inherited from class edu.tufts.hrilab.action.manager.ExecutionManager
agentHierarchy, agentTeams, goalComparator, goalsLock, pendingGoals, pendingGoalsLock, resourceLock, rootAgent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHeldResourcesForGoal(Goal goal) Returns the set of all Resources that will be held by the supplied goal during its execution.Returns the set of all Resources required to be available during execution of the supplied goal.protected voidinit(StateMachine sm, RootContext rootContext, Collection<String> groups) Methods inherited from class edu.tufts.hrilab.action.manager.ExecutionManager
activateNextValidPendingGoal, activateValidPendingGoals, addAIListener, cancelActionLearning, cancelActionLearning, cancelActiveGoals, cancelCurrentGoals, cancelGoal, cancelPendingGoalByIndex, cancelPendingGoals, cancelPendingGoalsByIndices, cancelScheduledGoals, cancelScheduledGoalsByIndices, cancelSystemGoals, cancelSystemGoals, changeLearningExecution, configPruningMechanism, consumedResources, createInstance, endActionLearning, endActionLearning, endFreeze, executeGoal, forgetTaughtAction, freeze, getActionLearningGuiFlag, getActionStatus, getActiveGoal, getActiveGoal, getActiveGoals, getAgentTeam, getCurrentGoal, getCurrentGoals, getDescendants, getGoal, getGoalFailConditions, getGoalPriority, getGoalPriorityTier, getGoalStatus, getLearnedActions, getLearnedActionsFile, getLearningStatus, getLockedResourceNames, getNextGoal, getNextGoal, getNextScheduledExecutionDate, getPastGoal, getPastGoals, getPendingGoal, getPendingGoals, getRelevantAgents, getResourceConflictingActiveGoals, getRootContext, getScheduledGoal, getScheduledGoals, getScheduledGoals, getStateMachine, getSystemGoals, getSystemGoals, goalStatusChanged, handleConflictingLowerPriorityGoal, hasGreaterPriority, interruptWaitForLearningStateUpdate, interruptWaitForNextGoalStatusUpdate, isLearnedAction, joinOnGoal, joinOnGoal, joinOnPendingGoal, learnAction, loadLearnedActions, modifyAction, onActiveGoalUpdated, onPendingGoalUpdated, pauseActionLearning, pauseActionLearning, pruneOldData, resourceConflictInPending, resumeActionLearning, resumeActionLearning, resumeGoal, resumeSystemGoals, resumeSystemGoals, setActionLearningGuiFlag, setGoalManagerNotifier, setLearnedActionsFile, setScheduledGoalsFile, shouldSupersede, shutdown, submitGoal, submitGoalContext, supersedeGoals, suspendGoal, suspendSystemGoals, suspendSystemGoals, transferGoalToActive, transferGoalToPastGoals, updateScheduledGoal, waitForActionLearningStart, waitForGoalStatus, waitForLearningStateUpdate, waitForNextGoalStatusUpdate, waitForNextGoalStatusUpdate, waitForNextGoalStatusUpdate, writeScheduledGoalsToFile
-
Constructor Details
-
SingleGoalExecutionManager
public SingleGoalExecutionManager()
-
-
Method Details
-
init
- Overrides:
initin classExecutionManager
-
getRequiredResourcesForGoal
Returns the set of all Resources required to be available during execution of the supplied goal.- Overrides:
getRequiredResourcesForGoalin classExecutionManager
-
getHeldResourcesForGoal
Returns the set of all Resources that will be held by the supplied goal during its execution.- Overrides:
getHeldResourcesForGoalin classExecutionManager
-