explorer
Class SpecAgent
java.lang.Object
alice.tucson.api.Agent
explorer.SpecAgent
public class SpecAgent
- extends alice.tucson.api.Agent
The SpecAgent is a simple agent used to set up specification tuples and initial syncronization tuples on tuple centre.
- Author:
- andreamonaldini
Constructor Summary |
SpecAgent(alice.tucson.api.AgentId arg0,
SpaceGrid grid,
java.io.FileInputStream specFile,
int numberOfAdvancedExplorerAgents)
Creates a new agent for tuple centre initialization |
SpecAgent(alice.tucson.api.AgentId arg0,
SpaceGrid grid,
java.lang.String specFile,
alice.tucson.api.TupleCentreId tc,
int numberOfAdvancedExplorerAgents)
Creates a new agent for tuple centre initialization |
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 |
SpecAgent
public SpecAgent(alice.tucson.api.AgentId arg0,
SpaceGrid grid,
java.io.FileInputStream specFile,
int numberOfAdvancedExplorerAgents)
throws alice.tucson.api.TucsonException
- Creates a new agent for tuple centre initialization
- Parameters:
arg0
- The agent IDgrid
- The virual space where agent works.specFile
- ReSpect specification file for tuple centre reactionsnumberOfAdvancedExplorerAgents
- Number of AdvancedExplorerAgent in the system
- Throws:
alice.tucson.api.TucsonException
SpecAgent
public SpecAgent(alice.tucson.api.AgentId arg0,
SpaceGrid grid,
java.lang.String specFile,
alice.tucson.api.TupleCentreId tc,
int numberOfAdvancedExplorerAgents)
throws alice.tucson.api.TucsonException
- Creates a new agent for tuple centre initialization
- Parameters:
arg0
- The agent IDgrid
- The virual space where agent works.specFile
- ReSpect specification file for tuple centre reactionstc
- The tuple centre idnumberOfAdvancedExplorerAgents
- Number of AdvancedExplorerAgent in the system
- Throws:
alice.tucson.api.TucsonException