public class LotteryArgumentationEnvironment extends java.lang.Object implements Environment, Perceivable
| Modifier and Type | Field and Description |
|---|---|
private DialogueTrace<DungTheory,java.util.Collection<DungTheory>> |
trace
The current dialogue trace.
|
private DungTheory |
universalTheory
The universal Dung theory used for argumentation.
|
| Constructor and Description |
|---|
LotteryArgumentationEnvironment(DungTheory universalTheory)
Creates a new grounded environment.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Perceivable> |
execute(java.util.Collection<? extends Executable> actions)
Executes the given actions simultaneously and returns
the resulting percepts.
|
java.util.Set<Perceivable> |
execute(Executable action)
Executes the given action and returns the
resulting percepts.
|
DialogueTrace<DungTheory,java.util.Collection<DungTheory>> |
getDialogueTrace()
Returns the current dialogue trace.
|
DungTheory |
getPerceivedDungTheory(Extension arguments)
Returns the view of the universal Dung theory restricted to
the given set of arguments.
|
java.util.Set<Perceivable> |
getPercepts(Agent agent)
Retrieves the current percepts for the given agent.
|
boolean |
reset()
Resets the environment, i.e.
|
private DialogueTrace<DungTheory,java.util.Collection<DungTheory>> trace
private DungTheory universalTheory
public LotteryArgumentationEnvironment(DungTheory universalTheory)
universalTheory - the universal Dung theory used for argumentation.public java.util.Set<Perceivable> execute(Executable action)
Environmentexecute in interface Environmentaction - an executablepublic java.util.Set<Perceivable> execute(java.util.Collection<? extends Executable> actions)
Environmentexecute in interface Environmentactions - a collection of executables.public java.util.Set<Perceivable> getPercepts(Agent agent)
EnvironmentgetPercepts in interface Environmentagent - an agent.public DialogueTrace<DungTheory,java.util.Collection<DungTheory>> getDialogueTrace()
public boolean reset()
Environmentreset in interface Environmentpublic DungTheory getPerceivedDungTheory(Extension arguments)
arguments - a set of arguments.