Package edu.tufts.hrilab.action.selector
Class MCTSActionSelector
java.lang.Object
edu.tufts.hrilab.action.selector.ActionSelector
edu.tufts.hrilab.action.selector.MCTSActionSelector
-
Method Summary
Modifier and TypeMethodDescriptionselectActionForGoal(Goal goal, ActionConstraints constraints, StateMachine stateMachine) Entry point to MCTS.Methods inherited from class edu.tufts.hrilab.action.selector.ActionSelector
destroyInstance, getCandidateActions, getInstance, selectActionForCommand, setActionSelectorType, setActionSelectorType
-
Method Details
-
selectActionForGoal
public ParameterizedAction selectActionForGoal(Goal goal, ActionConstraints constraints, StateMachine stateMachine) Entry point to MCTS. Only runs MCTS if the goal is reachable.- Specified by:
selectActionForGoalin classActionSelector- Parameters:
goal- the goal that the selected action should accomplishconstraints- a returned goal shold satisfy any constraintsstateMachine- in case the action selector cares about the state- Returns:
-