private static class StructuredArgumentationSystem.SasEnvironment extends java.lang.Object implements Environment
| Modifier and Type | Field and Description |
|---|---|
private PerceivableStructuredArgumentationFramework |
commonView
The common view of all agents.
|
private PerceivableStructuredArgumentationFramework |
saf
The underlying structured argumentation framework.
|
| Constructor and Description |
|---|
SasEnvironment(PerceivableStructuredArgumentationFramework saf)
Creates a new SasEnvironment based on the given SAF.
|
| 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.
|
java.util.Set<Perceivable> |
getPercepts(Agent agent)
Retrieves the current percepts for the given agent.
|
boolean |
reset()
Resets the environment, i.e.
|
private PerceivableStructuredArgumentationFramework commonView
private PerceivableStructuredArgumentationFramework saf
public SasEnvironment(PerceivableStructuredArgumentationFramework saf)
saf - a perceivable structured argumentation framework.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 boolean reset()
Environmentreset in interface Environment