Class T2BeliefState
java.lang.Object
org.tweetyproject.agents.dialogues.oppmodels.BeliefState
org.tweetyproject.agents.dialogues.oppmodels.T2BeliefState
- All Implemented Interfaces:
Comparable<T2BeliefState>
This belief state consists of a probability distribution over
other opponent models.
- Author:
- Tjitze Rienstra, Matthias Thimm
-
Constructor Summary
ConstructorDescriptionT2BeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction) Creates a new T2-belief-state with the given parameters and without nesting.T2BeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction, ProbabilityFunction<T2BeliefState> prob) Creates a new T2-belief-state with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compareTo
(T2BeliefState arg0) display()
Pretty print of this belief state.boolean
int
hashCode()
Returns a T1-belief state that is a projection of this belief state, i.e.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
-
T2BeliefState
public T2BeliefState(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction, ProbabilityFunction<T2BeliefState> prob) Creates a new T2-belief-state with the given parameters.- Parameters:
knownArguments
- the set of arguments known by the agent.utilityFunction
- the utility function of the agent.prob
- the probability function over opponent models.
-
T2BeliefState
public T2BeliefState(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction) Creates a new T2-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
-
sampleT1BeliefState
Returns a T1-belief state that is a projection of this belief state, i.e. in every nested model one substate is chose randomly depending on its probability- Returns:
- a T1-projection of this belief state.
-
display
Description copied from class:BeliefState
Pretty print of this belief state.- Specified by:
display
in classBeliefState
- Returns:
- a string representation of this state.
-
clone
- Specified by:
clone
in classBeliefState
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBeliefState
-
equals
- Overrides:
equals
in classBeliefState
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T2BeliefState>
-