Class T1BeliefState
java.lang.Object
org.tweetyproject.agents.dialogues.oppmodels.BeliefState
org.tweetyproject.agents.dialogues.oppmodels.T1BeliefState
This belief state consists of a simple recursive opponent model.
- Author:
- Matthias Thimm, Tjitze Rienstra
-
Constructor Summary
ConstructorDescriptionT1BeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction) Creates a new T1-belief-state with the given parameters and without nesting.T1BeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction, T1BeliefState oppModel) Creates a new T1-belief-state with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()
display()
Pretty print of this belief state.doMove
(ArgumentationEnvironment env, DialogueTrace<Argument, Extension<DungTheory>> trace) boolean
int
hashCode()
toString()
void
update
(DialogueTrace<Argument, Extension<DungTheory>> trace) Updates the current belief state accordingly to the given dialogue trace.Methods inherited from class org.tweetyproject.agents.dialogues.oppmodels.BeliefState
move
-
Constructor Details
-
T1BeliefState
public T1BeliefState(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> 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(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> 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 Details
-
update
Description copied from class:BeliefState
Updates the current belief state accordingly to the given dialogue trace.- Specified by:
update
in classBeliefState
- Parameters:
trace
- a dialogue trace
-
doMove
public Pair<Double,Set<ExecutableExtension>> doMove(ArgumentationEnvironment env, DialogueTrace<Argument, Extension<DungTheory>> trace) -
clone
- Specified by:
clone
in classBeliefState
-
display
Description copied from class:BeliefState
Pretty print of this belief state.- Specified by:
display
in classBeliefState
- Returns:
- a string representation of this state.
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBeliefState
-
equals
- Overrides:
equals
in classBeliefState
-