Class T3BeliefState
java.lang.Object
org.tweetyproject.agents.dialogues.oppmodels.BeliefState
org.tweetyproject.agents.dialogues.oppmodels.T3BeliefState
- All Implemented Interfaces:
Comparable<T3BeliefState>
This belief state consists of a probability distribution over
other opponent models with virtual arguments.
- Author:
- Tjitze Rienstra, Matthias Thimm
-
Constructor Summary
ConstructorDescriptionT3BeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction, Set<Argument> virtualArguments, Set<Attack> virtualAttacks, RecognitionFunction rec, ProbabilityFunction<T3BeliefState> prob) Creates a new T3-belief-state with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compareTo
(T3BeliefState arg0) display()
Pretty print of this belief state.boolean
int
hashCode()
Returns a T2-belief state that is a projection of this belief state, i.e.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
-
T3BeliefState
public T3BeliefState(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction, Set<Argument> virtualArguments, Set<Attack> virtualAttacks, RecognitionFunction rec, ProbabilityFunction<T3BeliefState> prob) Creates a new T3-belief-state with the given parameters.- Parameters:
knownArguments
- the set of arguments known by the agent.utilityFunction
- the utility function of the agent.virtualArguments
- the set of virtual argumentsvirtualAttacks
- the set of virtual attacksrec
- the recognition functionprob
- the probability function over opponent models.
-
-
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
-
projectToT2BeliefState
Returns a T2-belief state that is a projection of this belief state, i.e. all virtual arguments and virtual attacks are removed from all nested models.- Returns:
- the T2-projection of this belief state.
-
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.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBeliefState
-
equals
- Overrides:
equals
in classBeliefState
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T3BeliefState>
-