Package jadex.bdi.blocksworld
Class BlocksworldAgent
java.lang.Object
jadex.bdi.blocksworld.BlocksworldAgent
Blocksworld agent for stacking blocks.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
static enum
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.core.IComponent
The agent.The currently existing blocks.protected Table
The bucket for currently unused blocks.protected BlocksworldAgent.Mode
The mode.protected boolean
The flag for turning on/off output.protected jadex.future.SubscriptionIntermediateFuture
<Void> The future to communicate step events from gui to plan.protected Table
The table for the blocks. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mode
The mode. -
quiet
protected boolean quietThe flag for turning on/off output. -
table
The table for the blocks. -
bucket
The bucket for currently unused blocks. -
blocks
The currently existing blocks. -
steps
The future to communicate step events from gui to plan. -
agent
protected jadex.core.IComponent agentThe agent.
-
-
Constructor Details
-
BlocksworldAgent
public BlocksworldAgent()
-
-
Method Details
-
agentCreated
public void agentCreated()The init code. -
getMode
Get the mode.- Returns:
- The mode.
-
setMode
Set the mode.- Parameters:
mode
- The mode to set.
-
isQuiet
public boolean isQuiet()Get the quiet.- Returns:
- The quiet.
-
getTable
Get the table.- Returns:
- The table.
-
getBlocks
Get the blocks.- Returns:
- The blocks.
-
getBucket
Get the bucket.- Returns:
- The bucket.
-
getAgent
public jadex.core.IComponent getAgent()Get the agent.- Returns:
- The agent.
-