public class DeductiveEnvironment extends java.lang.Object implements Environment, Perceivable
Modifier and Type | Field and Description |
---|---|
private DialogueTrace<PropositionalFormula,java.util.Collection<PropositionalFormula>> |
trace
The current dialogue trace.
|
Constructor and Description |
---|
DeductiveEnvironment(PlBeliefSet 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<PropositionalFormula,java.util.Collection<PropositionalFormula>> |
getDialogueTrace()
Returns the current dialogue trace.
|
java.util.Set<Perceivable> |
getPercepts(Agent agent)
Retrieves the current percepts for the given agent.
|
boolean |
reset()
Resets the environment, i.e.
|
private DialogueTrace<PropositionalFormula,java.util.Collection<PropositionalFormula>> trace
public DeductiveEnvironment(PlBeliefSet universalTheory)
universalTheory
- the universal propositional theory used for argumentation.public java.util.Set<Perceivable> execute(Executable action)
Environment
execute
in interface Environment
action
- an executablepublic java.util.Set<Perceivable> execute(java.util.Collection<? extends Executable> actions)
Environment
execute
in interface Environment
actions
- a collection of executables.public java.util.Set<Perceivable> getPercepts(Agent agent)
Environment
getPercepts
in interface Environment
agent
- an agent.public DialogueTrace<PropositionalFormula,java.util.Collection<PropositionalFormula>> getDialogueTrace()
public boolean reset()
Environment
reset
in interface Environment