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
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:
selectActionForGoal
in 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:
-