explorer
Class AdvancedExplorerAgent

java.lang.Object
  extended by alice.tucson.api.Agent
      extended by explorer.ExplorerAgent
          extended by explorer.AdvancedExplorerAgent

public class AdvancedExplorerAgent
extends ExplorerAgent

This class implements an Advanced Explorer Agent

Author:
andreamonaldini

Field Summary
 
Fields inherited from class explorer.ExplorerAgent
EAST, NORTH, SOUTH, WEST
 
Constructor Summary
AdvancedExplorerAgent(alice.tucson.api.AgentId id, SpaceGrid grid, int x, int y, java.lang.String advancedExplorerAgentTheory)
          Constructs a new Advanced Explorer Agent
AdvancedExplorerAgent(alice.tucson.api.AgentId id, SpaceGrid grid, int x, int y, java.lang.String advancedExplorerAgentTheory, alice.tucson.api.TupleCentreId tc)
          Constructs a new Advanced Explorer Agent
 
Method Summary
 
Methods inherited from class alice.tucson.api.Agent
spawn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvancedExplorerAgent

public AdvancedExplorerAgent(alice.tucson.api.AgentId id,
                             SpaceGrid grid,
                             int x,
                             int y,
                             java.lang.String advancedExplorerAgentTheory)
                      throws alice.tucson.api.TucsonException
Constructs a new Advanced Explorer Agent

Parameters:
id - Agent ID.
grid - The virual space where agent works.
x - The x position of the agent
y - The y position of the agent
advancedExplorerAgentTheory - Prolog theory for path planning
Throws:
alice.tucson.api.TucsonException

AdvancedExplorerAgent

public AdvancedExplorerAgent(alice.tucson.api.AgentId id,
                             SpaceGrid grid,
                             int x,
                             int y,
                             java.lang.String advancedExplorerAgentTheory,
                             alice.tucson.api.TupleCentreId tc)
                      throws alice.tucson.api.TucsonException
Constructs a new Advanced Explorer Agent

Parameters:
id - Agent ID.
grid - The virual space where agent works.
x - The x position of the agent
y - The y position of the agent
advancedExplorerAgentTheory - Prolog theory for path planning
tc - The tuple centre id
Throws:
alice.tucson.api.TucsonException