fr.lifl.jedi.model.interactionSelection.reactiveSelection
Class FirstInteractionThenTargetSelectionPolicy

java.lang.Object
  extended by fr.lifl.jedi.model.interactionSelection.reactiveSelection.InteractionSelectionPolicy
      extended by fr.lifl.jedi.model.interactionSelection.reactiveSelection.FirstInteractionThenTargetSelectionPolicy

public class FirstInteractionThenTargetSelectionPolicy
extends InteractionSelectionPolicy

An interaction selection policy that performs selection first on interactions then on agents.

This selection first lists all interactions that are present in source agents realizable tuples -- i.e. all interactions it may initiate in this particular context. Then it performs a selection of a particular nature in order to choose the interaction that will be performed.

If an interaction was selected, then it will select a target for that interaction, given a second selection nature. Selecting a target for that interaction is the same than selecting a realizable tuple containing the interaction.

This selection nature can :