Package jadex.bdiv3.examples.blocksworld
Class BlocksworldAgent
- java.lang.Object
- 
- jadex.bdiv3.examples.blocksworld.BlocksworldAgent
 
- 
 public class BlocksworldAgent extends java.lang.ObjectBlocksworld agent for stacking blocks.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classBlocksworldAgent.ClearGoalclassBlocksworldAgent.ConfigureGoalstatic classBlocksworldAgent.ModeclassBlocksworldAgent.StackGoal
 - 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected java.util.Set<Block>blocksThe currently existing blocks.protected TablebucketThe bucket for currently unused blocks.protected BlocksworldAgent.ModemodeThe mode.protected booleanquietThe flag for turning on/off output.protected SubscriptionIntermediateFuture<java.lang.Void>stepsThe future to communicate step events from gui to plan.protected TabletableThe table for the blocks.
 - 
Constructor SummaryConstructors Constructor Description BlocksworldAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidagentCreated()The init code.IInternalAccessgetAgent()Get the agent.java.util.Set<Block>getBlocks()Get the blocks.TablegetBucket()Get the bucket.BlocksworldAgent.ModegetMode()Get the mode.TablegetTable()Get the table.booleanisQuiet()Get the quiet.voidsetMode(BlocksworldAgent.Mode mode)Set the mode.
 
- 
- 
- 
Field Detail- 
modeprotected BlocksworldAgent.Mode mode The mode.
 - 
quietprotected boolean quiet The flag for turning on/off output.
 - 
tableprotected Table table The table for the blocks.
 - 
bucketprotected Table bucket The bucket for currently unused blocks.
 - 
blocksprotected java.util.Set<Block> blocks The currently existing blocks.
 - 
stepsprotected SubscriptionIntermediateFuture<java.lang.Void> steps The future to communicate step events from gui to plan.
 - 
agentprotected IInternalAccess agent The agent.
 
- 
 - 
Method Detail- 
agentCreatedpublic void agentCreated() The init code.
 - 
getModepublic BlocksworldAgent.Mode getMode() Get the mode.- Returns:
- The mode.
 
 - 
setModepublic void setMode(BlocksworldAgent.Mode mode) Set the mode.- Parameters:
- mode- The mode to set.
 
 - 
isQuietpublic boolean isQuiet() Get the quiet.- Returns:
- The quiet.
 
 - 
getTablepublic Table getTable() Get the table.- Returns:
- The table.
 
 - 
getBlockspublic java.util.Set<Block> getBlocks() Get the blocks.- Returns:
- The blocks.
 
 - 
getBucketpublic Table getBucket() Get the bucket.- Returns:
- The bucket.
 
 - 
getAgentpublic IInternalAccess getAgent() Get the agent.- Returns:
- The agent.
 
 
- 
 
-