Class BeliefState
- java.lang.Object
-
- net.sf.tweety.agents.dialogues.oppmodels.BeliefState
-
- Direct Known Subclasses:
T1BeliefState,T2BeliefState,T3BeliefState
public abstract class BeliefState extends java.lang.ObjectThis abstract class encapsulates the common characteristics of a belief state for arguing agents.- Author:
- Matthias Thimm, Tjitze Rienstra
-
-
Constructor Summary
Constructors Constructor Description BeliefState(Extension knownArguments, UtilityFunction<Argument,Extension> utilityFunction)Creates a new belief-state with the given parameters.
-
Method Summary
Modifier and Type Method Description abstract java.lang.Objectclone()abstract java.lang.Stringdisplay()Pretty print of this belief state.booleanequals(java.lang.Object obj)inthashCode()ExecutableExtensionmove(ArgumentationEnvironment env)Gives the next best move according to the belief state and the given trace.abstract voidupdate(DialogueTrace<Argument,Extension> trace)Updates the current belief state accordingly to the given dialogue trace.
-
-
-
Constructor Detail
-
BeliefState
public BeliefState(Extension knownArguments, UtilityFunction<Argument,Extension> 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 Detail
-
update
public abstract void update(DialogueTrace<Argument,Extension> trace)
Updates the current belief state accordingly to the given dialogue trace.- Parameters:
trace- a dialogue trace
-
display
public abstract java.lang.String display()
Pretty print of this belief state.- Returns:
- a string representation of this state.
-
move
public ExecutableExtension move(ArgumentationEnvironment env)
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 java.lang.Object clone()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-