Package net.sf.tweety.agents.dialogues
Class LotteryArgumentationEnvironment
- java.lang.Object
- 
- net.sf.tweety.agents.dialogues.LotteryArgumentationEnvironment
 
- 
- All Implemented Interfaces:
- Environment,- Perceivable
 
 public class LotteryArgumentationEnvironment extends java.lang.Object implements Environment, Perceivable This class models the environment for agents in argumentation games with lotteries. It consists of the universal Dung theory used for argumentation (but not completely revealed to all agents) and the current trace of disclosed Dung theories.- Author:
- Matthias Thimm
 
- 
- 
Constructor SummaryConstructors Constructor Description LotteryArgumentationEnvironment(DungTheory universalTheory)Creates a new grounded environment.
 - 
Method SummaryModifier and Type Method 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.DungTheorygetPerceivedDungTheory(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.booleanreset()Resets the environment, i.e.
 
- 
- 
- 
Constructor Detail- 
LotteryArgumentationEnvironmentpublic LotteryArgumentationEnvironment(DungTheory universalTheory) Creates a new grounded environment.- Parameters:
- universalTheory- the universal Dung theory used for argumentation.
 
 
- 
 - 
Method Detail- 
executepublic java.util.Set<Perceivable> execute(Executable action) Description copied from interface:EnvironmentExecutes the given action and returns the resulting percepts.- Specified by:
- executein interface- Environment
- Parameters:
- action- an executable
- Returns:
- a set of percepts.
 
 - 
executepublic java.util.Set<Perceivable> execute(java.util.Collection<? extends Executable> actions) Description copied from interface:EnvironmentExecutes the given actions simultaneously and returns the resulting percepts.- Specified by:
- executein interface- Environment
- Parameters:
- actions- a collection of executables.
- Returns:
- a set of percepts.
 
 - 
getPerceptspublic java.util.Set<Perceivable> getPercepts(Agent agent) Description copied from interface:EnvironmentRetrieves the current percepts for the given agent.- Specified by:
- getPerceptsin interface- Environment
- Parameters:
- agent- an agent.
- Returns:
- a set of percepts perceivable for the given agent.
 
 - 
getDialogueTracepublic DialogueTrace<DungTheory,java.util.Collection<DungTheory>> getDialogueTrace() Returns the current dialogue trace.- Returns:
- the current dialogue trace.
 
 - 
resetpublic boolean reset() Description copied from interface:EnvironmentResets the environment, i.e. brings it to its initialization state.- Specified by:
- resetin interface- Environment
- Returns:
- "true" iff reset was successful.
 
 - 
getPerceivedDungTheorypublic DungTheory getPerceivedDungTheory(Extension arguments) Returns the view of the universal Dung theory restricted to the given set of arguments.- Parameters:
- arguments- a set of arguments.
- Returns:
- the projection of the universal theory.
 
 
- 
 
-