public class T1BeliefState extends BeliefState
Modifier and Type | Field and Description |
---|---|
private T1BeliefState |
oppModel
The opponent model of the agent (as there are only
two agents in the system the model always refers to
the other agent.
|
Constructor and Description |
---|
T1BeliefState(Extension knownArguments,
UtilityFunction<Argument,Extension> utilityFunction)
Creates a new T1-belief-state with the given parameters and without nesting.
|
T1BeliefState(Extension knownArguments,
UtilityFunction<Argument,Extension> utilityFunction,
T1BeliefState oppModel)
Creates a new T1-belief-state with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
display()
Pretty print of this belief state.
|
Pair<java.lang.Double,java.util.Set<ExecutableExtension>> |
doMove(ArgumentationEnvironment env,
DialogueTrace<Argument,Extension> trace)
Gives the set of all best next moves with their expected utility
according to the belief state and the given trace.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
void |
update(DialogueTrace<Argument,Extension> trace)
Updates the current belief state accordingly to
the given dialogue trace.
|
getKnownArguments, getLegalMoves, getUtilityFunction, move
private T1BeliefState oppModel
public T1BeliefState(Extension knownArguments, UtilityFunction<Argument,Extension> utilityFunction, T1BeliefState oppModel)
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).public T1BeliefState(Extension knownArguments, UtilityFunction<Argument,Extension> utilityFunction)
knownArguments
- the set of arguments known by the agent.utilityFunction
- the utility function of the agent.public void update(DialogueTrace<Argument,Extension> trace)
BeliefState
update
in class BeliefState
trace
- a dialogue tracepublic Pair<java.lang.Double,java.util.Set<ExecutableExtension>> doMove(ArgumentationEnvironment env, DialogueTrace<Argument,Extension> trace)
BeliefState
doMove
in class BeliefState
env
- the environment (gives access to the current trace)trace
- the dialogue trace.public java.lang.Object clone()
clone
in class BeliefState
public java.lang.String display()
BeliefState
display
in class BeliefState
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class BeliefState
public boolean equals(java.lang.Object obj)
equals
in class BeliefState