Class BeliefState
java.lang.Object
org.tweetyproject.agents.dialogues.oppmodels.BeliefState
- Direct Known Subclasses:
T1BeliefState
,T2BeliefState
,T3BeliefState
This abstract class encapsulates the common characteristics of
a belief state for arguing agents.
- Author:
- Matthias Thimm, Tjitze Rienstra
-
Constructor Summary
ConstructorDescriptionBeliefState
(Extension<DungTheory> knownArguments, UtilityFunction<Argument, Extension<DungTheory>> utilityFunction) Creates a new belief-state with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
clone()
abstract String
display()
Pretty print of this belief state.boolean
int
hashCode()
Gives the next best move according to the belief state and the given trace.abstract void
update
(DialogueTrace<Argument, Extension<DungTheory>> trace) Updates the current belief state accordingly to the given dialogue trace.
-
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
Updates the current belief state accordingly to the given dialogue trace.- Parameters:
trace
- a dialogue trace
-
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
-
hashCode
-
equals
-