java.lang.Object
org.tweetyproject.agents.dialogues.oppmodels.BeliefState
Direct Known Subclasses:
T1BeliefState, T2BeliefState, T3BeliefState

public abstract class BeliefState extends Object
This abstract class encapsulates the common characteristics of a belief state for arguing agents.
Author:
Matthias Thimm, Tjitze Rienstra
  • Constructor Details

    • BeliefState

      public BeliefState(Extension<DungTheory> knownArguments, UtilityFunction<Argument,Extension<DungTheory>> utilityFunction)
      Creates a new belief-state with the given parameters.
      Parameters:
      knownArguments - the set of arguments known by the agent.
      utilityFunction - the utility function of the agent.
  • Method Details

    • update

      public abstract void update(DialogueTrace<Argument,Extension<DungTheory>> trace)
      Updates the current belief state accordingly to the given dialogue trace.
      Parameters:
      trace - a dialogue trace
    • display

      public abstract String display()
      Pretty print of this belief state.
      Returns:
      a string representation of this state.
    • move

      Gives the next best move according to the belief state and the given trace.
      Parameters:
      env - the environment (gives access to the current trace)
      Returns:
      a set of arguments.
    • clone

      public abstract Object clone()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object