io.sarl.api.game.tgob
Capacity SelectAction
All Superinterfaces:
Capacity
All Known Implementing Classes:
StandardActionSelectionSkill
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or action reference.
@java.lang.FunctionalInterface
capacity SelectAction
implements Capacity
Capacity of an agent to select an action in the context of a game time-based goal-oriented behavior.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.gametgob
Since:
0.13
Action Summary
Modifier and type Action and description
abstract Action selectAction(List<E>,List<E>)
Select an action among the given ones to progress towards the most insistent goal.
Action Details
selectAction(List<E>,List<E>)
def selectAction(List<E>,List<E>) : Action
Select an action among the given ones to progress towards the most insistent goal.
Parameters:
actions - the list of available actions
goals - the list of active goals
Returns:
the selected action, i.e. the highest-change action for the most-insistent goal.