Class T1BeliefState


  • public class T1BeliefState
    extends BeliefState
    This belief state consists of a simple recursive opponent model.
    Author:
    Matthias Thimm, Tjitze Rienstra
    • Constructor Detail

      • T1BeliefState

        public T1BeliefState​(net.sf.tweety.arg.dung.semantics.Extension knownArguments,
                             UtilityFunction<net.sf.tweety.arg.dung.syntax.Argument,​net.sf.tweety.arg.dung.semantics.Extension> utilityFunction,
                             T1BeliefState oppModel)
        Creates a new T1-belief-state with the given parameters.
        Parameters:
        knownArguments - the set of arguments known by the agent.
        utilityFunction - the utility function of the agent.
        oppModel - the opponent model of the agent (null if no further model is given).
      • T1BeliefState

        public T1BeliefState​(net.sf.tweety.arg.dung.semantics.Extension knownArguments,
                             UtilityFunction<net.sf.tweety.arg.dung.syntax.Argument,​net.sf.tweety.arg.dung.semantics.Extension> utilityFunction)
        Creates a new T1-belief-state with the given parameters and without nesting.
        Parameters:
        knownArguments - the set of arguments known by the agent.
        utilityFunction - the utility function of the agent.
    • Method Detail

      • update

        public void update​(DialogueTrace<net.sf.tweety.arg.dung.syntax.Argument,​net.sf.tweety.arg.dung.semantics.Extension> trace)
        Description copied from class: BeliefState
        Updates the current belief state accordingly to the given dialogue trace.
        Specified by:
        update in class BeliefState
        Parameters:
        trace - a dialogue trace
      • doMove

        public net.sf.tweety.commons.util.Pair<Double,​Set<ExecutableExtension>> doMove​(ArgumentationEnvironment env,
                                                                                             DialogueTrace<net.sf.tweety.arg.dung.syntax.Argument,​net.sf.tweety.arg.dung.semantics.Extension> trace)
        Description copied from class: BeliefState
        Gives the set of all best next moves with their expected utility according to the belief state and the given trace.
        Specified by:
        doMove in class BeliefState
        Parameters:
        env - the environment (gives access to the current trace)
        trace - the dialogue trace.
        Returns:
        the set of all best next moves with their expected utility
      • display

        public String display()
        Description copied from class: BeliefState
        Pretty print of this belief state.
        Specified by:
        display in class BeliefState
        Returns:
        a string representation of this state.