A B C D E F G H I J K L M N O P Q R S T U W

A

abort(String) - Method in class simulator.Event
Abort an event before the specified time
abort(String) - Method in class simulator.ExecuteEvent
Aborts the event before execution completed.
abort(String) - Method in class simulator.Agent
abort a designated method
abortEvent(Event) - Method in class simulator.script.ExecuteEventAbort
Attempts to abort an event
ACTIVE - Static variable in class simulator.script.Script
 
add() - Method in class simulator.Agent
Adds the agent to the simulation
addAgent(Agent) - Method in class simulator.Simulator
Adds an agent
addAssertion(Assertion) - Method in class simulator.script.Script
Adds a assertion to the script, initializing it in the process.
addControl(Component) - Method in class simulator.SimulatorWindowManager
 
addEvent(Event) - Method in class simulator.EventQueue
Adds an event to the correct slot
addExecution(ExecuteEvent) - Method in class simulator.Agent
Add a new Event in the Executions list
addHideMenuOptions() - Method in class simulator.locale.LocaleGraph
 
addInfo(Component) - Method in class simulator.SimulatorWindowManager
 
addLinkage(Linkage) - Method in class simulator.locale.Locale
 
addLinkage(String, String, String, String) - Method in class simulator.Simulator
 
addLocale(String, String, String) - Method in class simulator.Simulator
 
addLocale(String, String, String, Shape) - Method in class simulator.Simulator
 
addProducedResource(Resources) - Method in class simulator.Event
Add Resources Produces by this Event()
addReaction(Reaction) - Method in class simulator.script.Script
Adds a reaction to the script, initializing it in the process.
addResource(String, Object) - Method in class simulator.locale.Locale
Makes a resource object be considered to be "in" this locale, that is, things local to this locale will affect it.
addResource(String, String, Object) - Method in class simulator.Simulator
Add a new resource to the simulator, only if this resource doesn't already exits.
addScript(Script) - Method in class simulator.Scripter
Adds a script to the script list, calling init just after it is added.
addSensor(Sensor) - Method in class simulator.Sensing
addSensor add a sensor object to the main HashTable.
addSensor(String) - Method in class simulator.Agent
Add sensing capabilities to the agent.
addSource(String) - Static method in class simulator.Scripter
Adds a source config file.
addTaems(Object, Taems) - Method in class simulator.Agent
Adds a new Taems task structure for this agent
addTaems(Taems) - Method in class simulator.Simulator
Merges the new task structure with the existing one if an old one exists.
addUsedResource(Resources) - Method in class simulator.Event
Add Resources Uses by this Event()
addWindow(Window) - Method in class simulator.SimulatorWindowManager
 
adjustBeginLineColumn(int, int) - Static method in class simulator.ASCII_CharStream
Method to adjust line and column numbers for the start of a token.
AdjustExecuteEventLevel - class simulator.script.AdjustExecuteEventLevel.
Adjusts an execution event's dimension level.
AdjustExecuteEventLevel(String) - Constructor for class simulator.script.AdjustExecuteEventLevel
Constructor.
AdjustResourceLevel - class simulator.script.AdjustResourceLevel.
Adjusts the current level of a resource by some amount, using a ResourceEvent.
AdjustResourceLevel(String) - Constructor for class simulator.script.AdjustResourceLevel
Constructor.
AdjustResourceLevelDownWithOther - class simulator.script.AdjustResourceLevelDownWithOther.
Adjusts the current level of a resource by the opposite (negated) amount stored in another resource, with a ResourceEvent.
AdjustResourceLevelDownWithOther(String) - Constructor for class simulator.script.AdjustResourceLevelDownWithOther
Constructor.
AdjustResourceLevelUpWithOther - class simulator.script.AdjustResourceLevelUpWithOther.
Adjusts the current level of a resource by some amount stored in another resource, with a ResourceEvent.
AdjustResourceLevelUpWithOther(String) - Constructor for class simulator.script.AdjustResourceLevelUpWithOther
Constructor.
Agent - class simulator.Agent.
Agent class, this is the representation of an agent.
Agent(Socket, String) - Constructor for class simulator.Agent
 
AgentConnected - class simulator.script.AgentConnected.
Determines if the agent is connected or not
AgentConnected(String) - Constructor for class simulator.script.AgentConnected
Constructor.
AndScript - class simulator.script.AndScript.
This class uses the AND semantics for Assertion checking - they must all be true for the reactions to fire.
AndScript(String, String) - Constructor for class simulator.script.AndScript
Constructor
ASCII_CharStream - class simulator.ASCII_CharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
ASCII_CharStream(InputStream, int, int) - Constructor for class simulator.ASCII_CharStream
 
ASCII_CharStream(InputStream, int, int, int) - Constructor for class simulator.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int) - Constructor for class simulator.ASCII_CharStream
 
ASCII_CharStream(Reader, int, int, int) - Constructor for class simulator.ASCII_CharStream
 
Assertion - class simulator.script.Assertion.
The base class for all Script Assertions - those things or states which indicate that a script may activate itself.
Assertion(String) - Constructor for class simulator.script.Assertion
Constructor.
AssignNewGrammar - class simulator.script.AssignNewGrammar.
Tells the agent to use a new grammar file.
AssignNewGrammar(String) - Constructor for class simulator.script.AssignNewGrammar
Constructor.
asString() - Method in class simulator.Event
Returns the event as a string
augmentScript(Script, String, int) - Method in class simulator.Scripter
Augments a Script object, given another line of config input.
AUTOSTART - Static variable in interface simulator.ConfigFileParserConstants
 

B

BACKGROUND - Static variable in interface simulator.ConfigFileParserConstants
 
backup(int) - Static method in class simulator.ASCII_CharStream
 
beginColumn - Variable in class simulator.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class simulator.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Static method in class simulator.ASCII_CharStream
 
broadcastMsg(Agent, KQMLMessage) - Method in class simulator.Simulator
Broadcast to all agents this messages except for the sender.
broadcastMsg(KQMLMessage) - Method in class simulator.Agent
Broadcast to all agents this messages except for the sender
bufpos - Static variable in class simulator.ASCII_CharStream
 

C

check() - Method in class simulator.script.Assertion
Checks the assertion.
check() - Method in class simulator.script.Time
Checks the assertion.
check() - Method in class simulator.script.False
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventActive
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventDimension
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventOutcome
Checks the assertion.
check() - Method in class simulator.script.Timer
Checks the assertion.
check() - Method in class simulator.script.Probability
Checks the assertion.
check() - Method in class simulator.script.ResourceLevelCompare
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventExists
Checks the assertion.
check() - Method in class simulator.script.SensorQuery
Checks the assertion.
check() - Method in class simulator.script.ScriptPulseType
Checks the assertion.
check() - Method in class simulator.script.ResourceLevel
Checks the assertion.
check() - Method in class simulator.script.AgentConnected
Checks the assertion.
check() - Method in class simulator.script.TimeChanged
Checks the assertion.
check() - Method in class simulator.script.True
Checks the assertion.
check() - Method in class simulator.script.NumAgentConnected
Checks the assertion.
check() - Method in class simulator.script.Count
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventCompleting
Checks the assertion.
check() - Method in class simulator.script.ScriptStarted
Checks the assertion.
check() - Method in class simulator.script.Period
Checks the assertion.
check() - Method in class simulator.script.ExecuteEventStarting
Checks the assertion.
checkByID(long) - Method in class simulator.script.ExecuteEventActive
Determines if the event is active (starttime >= time && finishtime <= time)
clearPropMark() - Method in class simulator.locale.Locale
clears the propagation mark on this node
clearPropMarks() - Method in class simulator.locale.Locale
This should be called after propagateResourceChange() is finished doing its business.
clearPropMarks() - Method in class simulator.locale.Linkage
 
ConfigFileParser - class simulator.ConfigFileParser.
 
ConfigFileParser(ConfigFileParserTokenManager) - Constructor for class simulator.ConfigFileParser
 
ConfigFileParser(InputStream) - Constructor for class simulator.ConfigFileParser
 
ConfigFileParser(Reader) - Constructor for class simulator.ConfigFileParser
 
ConfigFileParserConstants - interface simulator.ConfigFileParserConstants.
 
ConfigFileParserTokenManager - class simulator.ConfigFileParserTokenManager.
 
ConfigFileParserTokenManager(ASCII_CharStream) - Constructor for class simulator.ConfigFileParserTokenManager
 
ConfigFileParserTokenManager(ASCII_CharStream, int) - Constructor for class simulator.ConfigFileParserTokenManager
 
configureSensingModule(String) - Method in class simulator.Simulator
Read sensing configuration file
CONSUMABLE - Static variable in interface simulator.ConfigFileParserConstants
 
ConsumableResources - class simulator.ConsumableResources.
Module: simulator
ConsumableResources(String, float, float, float, String) - Constructor for class simulator.ConsumableResources
 
contains(Object) - Method in class simulator.SimulatorWindowManager
 
convertDeviation(String) - Static method in class simulator.sensor.SensorDeviation
unit is (# for fixed percent, ! for fixed value, % random percent , ~ for random value )
convertToken(String) - Static method in class simulator.sensor.SensorDeviation
 
Count - class simulator.script.Count.
Will return true the specified number of times.
COUNT - Static variable in interface simulator.ConfigFileParserConstants
 
Count(String) - Constructor for class simulator.script.Count
Constructor.
createEvent() - Method in class simulator.script.SetResourceLevel
Creates the event we'll be using
createEvent() - Method in class simulator.script.SetResourceMax
Creates the event we'll be using
createEvent() - Method in class simulator.script.SetResourceLevelWithOther
Creates the event we'll be using
createEvent() - Method in class simulator.script.AdjustResourceLevelUpWithOther
Creates the event we'll be using
createEvent() - Method in class simulator.script.AdjustResourceLevelDownWithOther
Creates the event we'll be using
createEvent() - Method in class simulator.script.AdjustResourceLevel
Creates the event we'll be using
createEvent() - Method in class simulator.script.SetResourceMin
Creates the event we'll be using
currentToken - Variable in class simulator.ParseException
This is the last token that has been consumed successfully.

D

DEFAULT - Static variable in interface simulator.ConfigFileParserConstants
 
delay(int) - Method in class simulator.Event
Delays the start time
delayEvent(Event, int) - Method in class simulator.EventQueue
Delays the start execution time of an event.
delayEvent(Event, int) - Method in class simulator.script.ExecuteEventAbort
Attempts to delay an event
deleteSensor(Sensor) - Method in class simulator.Sensing
Delete Sensor.
destroy() - Method in class simulator.Agent
Kills the agent, make sure you disconnect() first
DET - Static variable in interface simulator.ConfigFileParserConstants
 
disable_tracing() - Static method in class simulator.ConfigFileParser
 
DisablesEvent - class simulator.DisablesEvent.
Module: simulator
DisablesEvent(int, DisablesInterrelationship, Agent) - Constructor for class simulator.DisablesEvent
Constructor:
disconnect() - Method in class simulator.Agent
Disconnects the agent
DisconnectAgent - class simulator.script.DisconnectAgent.
Disconnects the agent from the simulator.
DisconnectAgent(String) - Constructor for class simulator.script.DisconnectAgent
Constructor.
Display - class simulator.Display.
Displays a global view of the current environment, based on messages which are (hopefully) received from each connected agent.
display() - Method in class simulator.ProgressBarPanel
Complex function that displays the ProgressBar and the different text and button around.
displayAbout() - Method in class simulator.Simulator
Create and display an About Panel.
displayEnvironment() - Method in class simulator.Simulator
Displays the evironment and resources.
displayTaems(Taems) - Method in class simulator.Simulator
Displays a taems data structure in a window.
dispose() - Method in class simulator.ProgressBarPanel
Close this window when the load is finished.
DISTRIB - Static variable in interface simulator.ConfigFileParserConstants
 
Done() - Static method in class simulator.ASCII_CharStream
 
DoPropagateResourceChange - class simulator.script.DoPropagateResourceChange.
Module: simulator.locale
DoPropagateResourceChange(String) - Constructor for class simulator.script.DoPropagateResourceChange
 

E

enable_tracing() - Static method in class simulator.ConfigFileParser
 
EnablesEvent - class simulator.EnablesEvent.
Module: simulator
EnablesEvent(int, EnablesInterrelationship, Agent) - Constructor for class simulator.EnablesEvent
Constructor:
END - Static variable in interface simulator.ConfigFileParserConstants
 
endColumn - Variable in class simulator.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EndExecution(float, float) - Method in class simulator.RealExecuteEvent
EndExecution This function is called when I receive
endLine - Variable in class simulator.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EOF - Static variable in interface simulator.ConfigFileParserConstants
 
ERROR - Static variable in class simulator.script.Script
 
evaluatePostfix(Stack) - Method in class simulator.script.ExpressionScript
Evaluates the postfix expression, given the expression and a Vector of truth (Boolean) values
Event - class simulator.Event.
Module: simulator
Event(int, int) - Constructor for class simulator.Event
Constructor, this sets up the event and automatically gives it a unique numerical id.
eventActive(Event) - Method in class simulator.script.ExecuteEventActive
Determines if the event is active (starttime >= time && finishtime <= time)
eventCompleting(Event) - Method in class simulator.script.ExecuteEventActive
Determines if the event is completing (finishtime == time)
EventQueue - class simulator.EventQueue.
Module: simulator
eventStarting(Event) - Method in class simulator.script.ExecuteEventActive
Determines if the event is starting (starttime == time)
ExecuteEvent - class simulator.ExecuteEvent.
Module: simulator
ExecuteEvent(int, int, Agent, Method, String) - Constructor for class simulator.ExecuteEvent
Constructor
ExecuteEvent(int, int, Agent, Method, String, Distribution, Distribution, Distribution, Outcome) - Constructor for class simulator.ExecuteEvent
Constructor
ExecuteEvent(int, int, Agent, Method, String, float[], float[], float[], Outcome) - Constructor for class simulator.ExecuteEvent
Constructor
ExecuteEventAbort - class simulator.script.ExecuteEventAbort.
Aborts a certain execute event.
ExecuteEventAbort(String) - Constructor for class simulator.script.ExecuteEventAbort
Constructor.
ExecuteEventActive - class simulator.script.ExecuteEventActive.
Determines if a certain execute event is active.
ExecuteEventActive(String) - Constructor for class simulator.script.ExecuteEventActive
Constructor.
ExecuteEventCompleting - class simulator.script.ExecuteEventCompleting.
Determines if a certain execute event is completing (time == finishtime).
ExecuteEventCompleting(String) - Constructor for class simulator.script.ExecuteEventCompleting
Constructor.
ExecuteEventDelay - class simulator.script.ExecuteEventDelay.
Delays a certain execute event.
ExecuteEventDelay(String) - Constructor for class simulator.script.ExecuteEventDelay
Constructor.
ExecuteEventDimension - class simulator.script.ExecuteEventDimension.
Determines if a certain execute event is active.
ExecuteEventDimension(String) - Constructor for class simulator.script.ExecuteEventDimension
Constructor.
ExecuteEventExists - class simulator.script.ExecuteEventExists.
Determines if a certain execute event exists in the queue.
ExecuteEventExists(String) - Constructor for class simulator.script.ExecuteEventExists
Constructor.
ExecuteEventExtend - class simulator.script.ExecuteEventExtend.
Extends a certain execute event.
ExecuteEventExtend(String) - Constructor for class simulator.script.ExecuteEventExtend
Constructor.
ExecuteEventOutcome - class simulator.script.ExecuteEventOutcome.
Determines if the supplied outcome is that which was chosen for the event.
ExecuteEventOutcome(String) - Constructor for class simulator.script.ExecuteEventOutcome
Constructor.
ExecuteEventStarting - class simulator.script.ExecuteEventStarting.
Determines if a certain execute event is starting (time == starttime).
ExecuteEventStarting(String) - Constructor for class simulator.script.ExecuteEventStarting
Constructor.
expectedTokenSequences - Variable in class simulator.ParseException
Each entry in this array is an array of integers.
exportSensor() - Method in class simulator.sensor.Sensor
Return a Sensor description like: Name, Data1:Type1 , Data2:Type2
ExpressionScript - class simulator.script.ExpressionScript.
This script allows the author to combine assertions in an arbitrary manner, as defined by a simple boolean expression.
ExpressionScript(String, String) - Constructor for class simulator.script.ExpressionScript
Constructor
extend(int) - Method in class simulator.Event
Extends the execution time
extend(String, int) - Method in class simulator.Agent
Extends one Execution
extendAllExecutions(int) - Method in class simulator.Agent
Extends all current Executions
extendEvent(Event, int) - Method in class simulator.EventQueue
Extends the execution time of an event.
extendEvent(Event, int) - Method in class simulator.script.ExecuteEventAbort
Attempts to extend an event

F

FacilitatesEvent - class simulator.FacilitatesEvent.
Module: simulator
FacilitatesEvent(int, FacilitatesInterrelationship, Agent) - Constructor for class simulator.FacilitatesEvent
Same idea as Enables NLE's.
False - class simulator.script.False.
Simple assertion which gives back false every time it is checked.
False(String) - Constructor for class simulator.script.False
Constructor.
fetchTimeSlot(int) - Method in class simulator.EventQueue
Fetches the time slot event vector, deleting from the table afterwards
FILE - Static variable in interface simulator.ConfigFileParserConstants
 
findAgent(int) - Method in class simulator.Simulator
Find an agent by its id (useful for resending messages).
findAgent(String) - Method in class simulator.Agent
Finds an agent using its name
findAgent(String) - Method in class simulator.Simulator
Find an agent by its name (useful for resending messages).
findAgent(String) - Method in class simulator.script.SendCommitment
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.SendMessage
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.SetSensorDeviation
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.SensorQuery
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.AgentConnected
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.DisconnectAgent
Gets a ref to the agent
findAgent(String) - Method in class simulator.script.SendDeliveryCommitment
Gets a ref to the agent
findEvent(long) - Method in class simulator.EventQueue
Finds an event in the queue by its id number.
findExecuteEvent(String, String) - Method in class simulator.script.ExecuteEventAbort
Searches for a specific action in the current time slot.
findExecuteEvent(String, String) - Method in class simulator.script.ExecuteEventActive
Searches for a specific action in the current time slot.
findLocale() - Method in class simulator.script.DoPropagateResourceChange
Finds the locale object
findLocales(Locale) - Method in class simulator.locale.LocaleGraph
 
findOldestTimeSlot() - Method in class simulator.EventQueue
Finds the oldest time slot in the queue
findResource() - Method in class simulator.script.SetResourceLevel
Finds the resource object
findResource() - Method in class simulator.script.ResourceLevel
Finds the resource object
findResource(String) - Method in class simulator.script.SetResourceLevelWithOther
Finds the resource object
findResource(String) - Method in class simulator.script.ResourceLevelCompare
Finds the resource object
findScript() - Method in class simulator.script.ResetScript
Finds the script object
findScript() - Method in class simulator.script.DisconnectAgent
Finds the script object
findScript() - Method in class simulator.script.StartScript
Finds the script object
findScript() - Method in class simulator.script.ScriptStarted
Finds the script object
findScript(String) - Method in class simulator.Scripter
Finds a script in the list by its name.
findSensor(String, String) - Method in class simulator.script.SetSensorDeviation
Finds a sensor
FLUSH - Static variable in interface simulator.ConfigFileParserConstants
 
freeProducedResource(Resources) - Method in class simulator.Event
Freeying resources uses by an Event()
freeProducedResources() - Method in class simulator.Event
Freeying resources uses by an Event()
freeUsedResource(Resources) - Method in class simulator.Event
Freeying resources uses by an Event()
freeUsedResources() - Method in class simulator.Event
Freeying resources uses by an Event()

G

generateParseException() - Static method in class simulator.ConfigFileParser
 
getActivations() - Method in class simulator.script.Script
Returns the number of times the script has been activated (the number of times start has been called).
getAgentTable() - Static method in class simulator.Simulator
Accessor on the Agent Table
getAllAgents() - Method in class simulator.Agent
Return a list of all Agent connected (string form)
getAllAgents() - Method in class simulator.Simulator
Return a list of all Agent connected (string form)
getBeginColumn() - Static method in class simulator.ASCII_CharStream
 
getBeginLine() - Static method in class simulator.ASCII_CharStream
 
getColumn() - Static method in class simulator.ASCII_CharStream
Deprecated.  
getComplexNLE() - Static method in class simulator.Simulator
Get the flag for the simulation, about applying the NLE's using the quality of the facilitator
getCurrentPourcentage() - Method in class simulator.Resources
 
getCurrentPourcentage() - Method in class simulator.ConsumableResources
 
getCurrentValue() - Method in class simulator.Resources
 
getCurrentValue() - Method in class simulator.ConsumableResources
 
getData() - Method in class simulator.script.Reaction
Returns the input data table
getData() - Method in class simulator.script.Script
Returns the input data table
getData() - Method in class simulator.script.Assertion
Returns the input data table
getData() - Method in class simulator.sensor.Sensor
Returns the input data table
getDefaultPanel() - Method in class simulator.Resources
Drawing stuff *
getDeviation() - Method in class simulator.sensor.ResourceSensor
Accessor for the deviation getDeviation() get the error deviation
getDeviation() - Method in class simulator.sensor.SensorDeviation
 
getDimension(String) - Method in class simulator.ExecuteEvent
Acessor for the total for a specific entry in the perTimeClickDimension table
getDimensions() - Method in class simulator.ExecuteEvent
Acessor for the perTimeClickDimension table
getDisplay() - Method in class simulator.Event
Returns the current display of the event
getDisplay() - Static method in class simulator.Display
Returns the global display object
getDisplay() - Method in class simulator.Scripter
Returns the display
getDisplay() - Method in class simulator.Agent
Returns the agent's display
getDisplay() - Method in class simulator.EventQueue
Returns the display
getDisplay() - Method in class simulator.Simulator
Returns the display, for use by the agents so they can add or remove themselves.
getDisplay() - Method in class simulator.script.Script
Returns the display
getEdge() - Method in class simulator.locale.Linkage
 
getEdgeToParent() - Method in class simulator.locale.Locale
 
getEndColumn() - Static method in class simulator.ASCII_CharStream
 
getEndLine() - Static method in class simulator.ASCII_CharStream
 
getExeID() - Method in class simulator.ExecuteEvent
GetExeID() return the Execution ID given by the agent.
getFinish() - Method in class simulator.Event
Returns the expected finish time
getFixed() - Method in class simulator.sensor.SensorDeviation
 
getFunction() - Method in class simulator.sensor.SensorDeviation
 
getGlobalSensing() - Method in class simulator.Simulator
Returns the current sensing module
getGraph() - Method in class simulator.Simulator
 
getID() - Method in class simulator.Event
Gets the event's ID number
getID() - Method in class simulator.Agent
Returns the agent's ID number
GetImage() - Static method in class simulator.ASCII_CharStream
 
getImage(String) - Method in class simulator.Display
Fetches an image
getLine() - Static method in class simulator.ASCII_CharStream
Deprecated.  
getLinkages() - Method in class simulator.locale.Locale
 
getLocale() - Method in class simulator.Agent
 
getLocale() - Method in class simulator.Resources
 
getLocale(String) - Method in class simulator.Simulator
 
getLocationMapping() - Method in class simulator.Simulator
 
getMax() - Method in class simulator.sensor.SensorDeviation
 
getMaximum() - Method in class simulator.Resources
 
getMaximumSize() - Method in class simulator.Display
 
getMessage() - Method in class simulator.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class simulator.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMethod() - Method in class simulator.ExecuteEvent
getMethod returns the Method object
getMethodName() - Method in class simulator.ExecuteEvent
getMethodName returns the method Name of this event
getMethodStatus(String) - Method in class simulator.Agent
getMethodStatus of a designated method
getMin() - Method in class simulator.sensor.SensorDeviation
 
getMinimum() - Method in class simulator.Resources
 
getMinimumSize() - Method in class simulator.Display
 
getName() - Method in class simulator.Agent
Returns the agent's name
getName() - Method in class simulator.Resources
 
getName() - Method in class simulator.locale.Locale
Name accessor
getName() - Method in class simulator.script.Reaction
Returns the name of the object
getName() - Method in class simulator.script.Script
Returns the script's name.
getName() - Method in class simulator.script.Assertion
Returns the name of the object
getName() - Method in class simulator.sensor.Sensor
Returns the name of this sensor
getNextToken() - Static method in class simulator.ConfigFileParser
 
getNextToken() - Static method in class simulator.ConfigFileParserTokenManager
 
getObjectSensed(Locale) - Method in class simulator.sensor.Sensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.LocalePathSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.LinkageSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.ResourceSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.LocaleSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.ParentLocaleSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.SubLocaleSensor
 
getObjectSensed(Locale) - Method in class simulator.sensor.LocalAgentSensor
 
getObjectSensed(Locale, String) - Method in class simulator.Sensing
Fucntion returns a Sensor object if found, or null otherwise.
getOutcome() - Method in class simulator.ExecuteEvent
Returns the outcome chosen for this execution
getParent() - Method in class simulator.locale.Locale
 
getPreferredSize() - Method in class simulator.Display
Returns the size of the image, basically the size of the background
getProbability() - Method in class simulator.sensor.SensorDeviation
 
getPropMark() - Method in class simulator.locale.Locale
 
getPulseType() - Method in class simulator.Scripter
Returns the type of pulse currently being sent out.
getQueue() - Static method in class simulator.EventQueue
Returns the global event queue
getRealValue() - Method in class simulator.Resources
 
getResource(Locale, String) - Method in class simulator.Simulator
Returns the resources vector
getResource(String) - Method in class simulator.Simulator
 
getResource(String) - Method in class simulator.locale.Locale
This searches for a resource of a given name.
getResources() - Method in class simulator.locale.Locale
 
getResourceStatus(Locale, String) - Method in class simulator.Simulator
getResourceStatus of a designated method
getResourceStatus(String) - Method in class simulator.Agent
getResourceStatus of a designated method
getScripter() - Method in class simulator.Simulator
Returns the generic scripter
getScripts() - Method in class simulator.Scripter
Returns an enumeration of the scripts
getSensing() - Method in class simulator.Agent
Gets a handle to the agent's sensing stuff
getSensor(String) - Method in class simulator.Sensing
getSensor returns a sensor object (which contains Reflection, Parameters)
getSensors() - Method in class simulator.Sensing
Returns a list of available sensors
getSensors() - Method in class simulator.Agent
 
getSimulator() - Static method in class simulator.Simulator
Returns the current simulator.
getStart() - Method in class simulator.Event
Returns the expected start time
getStatus() - Method in class simulator.Event
Returns the current status of the event
getStatus() - Method in class simulator.ExecuteEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.ResourceEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.EnablesEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.FacilitatesEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.DisablesEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.ReactionEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.HindersEvent
Returns a string of the event's status, as determined by the simulation clock.
getStatus() - Method in class simulator.MessageEvent
Returns a string of the event's status, as determined by the simulation clock.
getSubLocale(String) - Method in class simulator.locale.Locale
Finds a sublocale.
getSubLocales() - Method in class simulator.locale.Locale
 
GetSuffix(int) - Static method in class simulator.ASCII_CharStream
 
getTaems(Object) - Method in class simulator.Agent
Returns the Taems object associated with a key, or null if none found
getTaemsResource() - Method in class simulator.Resources
 
getTimeout() - Static method in class simulator.Simulator
getTimeout gives the maximum time that the simulator wait for an agent.
getTimeSlot(int) - Method in class simulator.EventQueue
Gets the time slot event vector
getToken(int) - Static method in class simulator.ConfigFileParser
 
getType() - Method in class simulator.sensor.SensorDeviation
 
getUnit() - Method in class simulator.Resources
 
global_view - Static variable in class simulator.Simulator
Taems object, this variable contains the complete Taems object.
global_view_frame - Static variable in class simulator.Simulator
global_view_frame is the Frame window of the simulator.
GRAMMAR - Static variable in interface simulator.ConfigFileParserConstants
 
GrammarEvent - class simulator.script.GrammarEvent.
Sends a grammar reaction event to an agent.
GrammarEvent(String) - Constructor for class simulator.script.GrammarEvent
Constructor.
GRAPH - Static variable in interface simulator.ConfigFileParserConstants
 

H

hasAgent(Agent) - Method in class simulator.Simulator
Tells if the agent is currently being simulated
hasTimeSlot(int) - Method in class simulator.EventQueue
Used to tell if a time slot exists or not.
hideWindow(Window) - Method in class simulator.SimulatorWindowManager
 
HindersEvent - class simulator.HindersEvent.
Module: simulator
HindersEvent(int, HindersInterrelationship, Agent) - Constructor for class simulator.HindersEvent
Same idea as Enables NLE's.

I

ID - Static variable in interface simulator.ConfigFileParserConstants
 
image - Variable in class simulator.Token
The string image of the token.
IMAGE - Static variable in interface simulator.ConfigFileParserConstants
 
infixToPostfix(Stack) - Method in class simulator.script.ExpressionScript
Converts and infix expression to a postfix one.
init() - Method in class simulator.Display
Inits the display
init() - Method in class simulator.Scripter
Init, read the different scripting files.
init() - Method in class simulator.EventQueue
Inits the queue
init() - Method in class simulator.script.Reaction
Init, usually you will retrieve input properties here, and setup any state you need to.
init() - Method in class simulator.script.ExecuteEventAbort
Init.
init() - Method in class simulator.script.ExecuteEventDelay
Init.
init() - Method in class simulator.script.Script
Init.
init() - Method in class simulator.script.AndScript
Init
init() - Method in class simulator.script.Assertion
Init, usually you will retrieve input properties here, and setup any state you need to.
init() - Method in class simulator.script.Time
Init.
init() - Method in class simulator.script.OrScript
Init
init() - Method in class simulator.script.SendCommitment
Init.
init() - Method in class simulator.script.ExecuteEventActive
Init.
init() - Method in class simulator.script.ExecuteEventDimension
Init.
init() - Method in class simulator.script.ExecuteEventOutcome
Init.
init() - Method in class simulator.script.SetResourceLevel
Init.
init() - Method in class simulator.script.SetResourceLevelWithOther
Init.
init() - Method in class simulator.script.Timer
Init.
init() - Method in class simulator.script.ExecuteEventExtend
Init.
init() - Method in class simulator.script.Probability
Init.
init() - Method in class simulator.script.SendMessage
Init.
init() - Method in class simulator.script.RegenerateTaems
Init.
init() - Method in class simulator.script.ExpressionScript
Init
init() - Method in class simulator.script.ResourceLevelCompare
Init.
init() - Method in class simulator.script.StepSim
Init
init() - Method in class simulator.script.SetSensorDeviation
Init.
init() - Method in class simulator.script.GrammarEvent
Init.
init() - Method in class simulator.script.SensorQuery
Init.
init() - Method in class simulator.script.ScriptPulseType
Init.
init() - Method in class simulator.script.ResourceLevel
Init.
init() - Method in class simulator.script.AssignNewGrammar
Init.
init() - Method in class simulator.script.ResetScript
Init.
init() - Method in class simulator.script.AgentConnected
Init.
init() - Method in class simulator.script.DisconnectAgent
Init.
init() - Method in class simulator.script.Write
Init
init() - Method in class simulator.script.StartScript
Init.
init() - Method in class simulator.script.SendDeliveryCommitment
Init.
init() - Method in class simulator.script.AdjustExecuteEventLevel
Init.
init() - Method in class simulator.script.NumAgentConnected
Init.
init() - Method in class simulator.script.SetPreprocessKey
Init.
init() - Method in class simulator.script.Count
Init.
init() - Method in class simulator.script.ScriptStarted
Init.
init() - Method in class simulator.script.Period
Init.
init() - Method in class simulator.sensor.Sensor
Init, usually you will retrieve input properties here, and setup any state you need to.
init() - Method in class simulator.sensor.ResourceSensor
Init, usually you will retrieve input properties here, and setup any state you need to.
initGraphics(JPanel) - Method in class simulator.Agent
 
Input() - Static method in class simulator.ConfigFileParser
 
INT - Static variable in interface simulator.ConfigFileParserConstants
 
isAlreadyInExecution(String) - Method in class simulator.Agent
Test if this method is not already in execution To avoid multiples request on the same agent.
isGlobal() - Method in class simulator.Resources
 
isRunning() - Method in class simulator.Agent
isRunning tests if the agent is running or waiting depending of the status parameter.
isRunning() - Method in class simulator.Simulator
returns whether the simulator is running.
isShowing(Window) - Method in class simulator.SimulatorWindowManager
 

J

jj_nt - Static variable in class simulator.ConfigFileParser
 
jjstrLiteralImages - Static variable in class simulator.ConfigFileParserTokenManager
 

K

killAllExecutions() - Method in class simulator.Agent
Kill all current Executions
kind - Variable in class simulator.Token
An integer that describes the kind of this token.

L

LEVEL - Static variable in interface simulator.ConfigFileParserConstants
 
lexStateNames - Static variable in class simulator.ConfigFileParserTokenManager
 
Linkage - class simulator.locale.Linkage.
Module: simulator.locale
LINKAGE - Static variable in interface simulator.ConfigFileParserConstants
 
Linkage() - Constructor for class simulator.locale.Linkage
 
Linkage(String, Locale, Locale) - Constructor for class simulator.locale.Linkage
A terribly exciting constructor.
Linkage(String, Locale, Locale[]) - Constructor for class simulator.locale.Linkage
A terribly exciting constructor.
LinkageSensor - class simulator.sensor.LinkageSensor.
Module: simulator.sensor
LinkageSensor(String, String) - Constructor for class simulator.sensor.LinkageSensor
Constructor.
linkageTo(String, Locale, String) - Method in class simulator.locale.Locale
Creates a linkage object from this instance object to another.
LINKLOCATION - Static variable in interface simulator.ConfigFileParserConstants
 
linksFrom() - Method in class simulator.locale.Linkage
 
linksTo() - Method in class simulator.locale.Linkage
 
Listener - class simulator.Listener.
Module: simulator
Listener(Agent, BufferedReader, BufferedWriter) - Constructor for class simulator.Listener
Constructor that initializes the private variables and begins a new Thread.
LocalAgentSensor - class simulator.sensor.LocalAgentSensor.
Module: simulator.sensor
LocalAgentSensor(String, String) - Constructor for class simulator.sensor.LocalAgentSensor
Constructor.
Locale - class simulator.locale.Locale.
Module: simulator.locale
LOCALE - Static variable in interface simulator.ConfigFileParserConstants
 
Locale.LocaleDoesNotExist - exception simulator.locale.Locale.LocaleDoesNotExist.
This blank class is used for signaling an exception (that this locale and none of its sublocales contain this as a sublocale) in the locale search method
Locale.LocaleDoesNotExist(Locale) - Constructor for class simulator.locale.Locale.LocaleDoesNotExist
 
Locale.ResourceDoesNotExist - exception simulator.locale.Locale.ResourceDoesNotExist.
This blank class is used for signaling an exception (that this locale and none of its sublocales contain this resource) in the resource search method
Locale.ResourceDoesNotExist(Locale) - Constructor for class simulator.locale.Locale.ResourceDoesNotExist
 
Locale() - Constructor for class simulator.locale.Locale
Basic constructor, does some generic initialization.
Locale(String, Locale) - Constructor for class simulator.locale.Locale
The actual useful constructor.
LocaleGraph - class simulator.locale.LocaleGraph.
This class extends Graph, oriented towards displaying locale topologies.
LocaleGraph() - Constructor for class simulator.locale.LocaleGraph
 
LocaleGraph(String) - Constructor for class simulator.locale.LocaleGraph
Basic constructors, the string will be used as the name of the graph
LocalePathSensor - class simulator.sensor.LocalePathSensor.
Module: simulator.sensor
LocalePathSensor(String, String) - Constructor for class simulator.sensor.LocalePathSensor
Constructor.
LocaleSensor - class simulator.sensor.LocaleSensor.
Module: simulator.sensor
LocaleSensor(String, String) - Constructor for class simulator.sensor.LocaleSensor
Constructor.
LOCATION - Static variable in interface simulator.ConfigFileParserConstants
 
LocationMapping - class simulator.locale.LocationMapping.
Module: simulator.locale
LOCATIONMAPPING - Static variable in interface simulator.ConfigFileParserConstants
 
LocationMapping() - Constructor for class simulator.locale.LocationMapping
 
LOGFILE - Static variable in interface simulator.ConfigFileParserConstants
 

M

main(String[]) - Static method in class simulator.Simulator
Main function.
makeDisplay() - Method in class simulator.Scripter
Creates the display
makeDisplay(Container) - Method in class simulator.script.Script
Creates the display for the script
mapLocationToLocale(String) - Method in class simulator.locale.LocationMapping
Override this with an application-specific coodinate->locale translation function (for example, mapping x,y coordinates to locales)
mapLocationToLocale(String) - Method in class simulator.locale.SimpleLocationMapping
(Simple) example of a subclass of LocationMapping, just maps string name to locale structure name...
matches(Locale) - Method in class simulator.locale.Locale
 
MessageEvent - class simulator.MessageEvent.
Module: simulator
MessageEvent(int, int, Agent, Agent, KQMLMessage) - Constructor for class simulator.MessageEvent
Constructor
method - Variable in class simulator.ExecuteEvent
 
monitoreEvent() - Method in class simulator.ExecuteEvent
returns a String containing the informations about the ExecuteEvent It looks like :
MethodName Running C: 2.4 Q: 34.43 T: -4 [Used ResourceName Value]+
monitoreEvent() - Method in class simulator.EnablesEvent
returns a String containing the informations about the ExecuteEvent It looks like :
Get-Address C: 2.4 Q: 34.43 T: -4
monitoreEvent() - Method in class simulator.FacilitatesEvent
returns a String containing the informations about the ExecuteEvent It looks like :
Get-Address C: 2.4 Q: 34.43 T: -4
monitoreEvent() - Method in class simulator.DisablesEvent
returns a String containing the informations about the ExecuteEvent It looks like :
Get-Address C: 2.4 Q: 34.43 T: -4
monitoreEvent() - Method in class simulator.HindersEvent
returns a String containing the informations about the ExecuteEvent It looks like :
Get-Address C: 2.4 Q: 34.43 T: -4

N

newSubLocale(String, String) - Method in class simulator.locale.Locale
Creates a new sublocale.
newToken(int) - Static method in class simulator.Token
Returns a new Token object, by default.
next - Variable in class simulator.Token
A reference to the next regular (non-special) token from the input stream.
NO_CHANGE - Static variable in class simulator.ResourceEvent
 
NONDET - Static variable in interface simulator.ConfigFileParserConstants
 
NONE - Static variable in class simulator.Scripter
Pulse type constants
NORMAL - Static variable in class simulator.script.Script
Script item state codes
NUM - Static variable in interface simulator.ConfigFileParserConstants
 
NumAgentConnected - class simulator.script.NumAgentConnected.
Checks the currently connected number of agents
NumAgentConnected(String) - Constructor for class simulator.script.NumAgentConnected
Constructor.

O

OrScript - class simulator.script.OrScript.
This class uses the OR semantics for Assertion checking - only one has to be true for the reactions to fire.
OrScript(String, String) - Constructor for class simulator.script.OrScript
Constructor
OTHER - Static variable in class simulator.Scripter
 
otherSide(Locale) - Method in class simulator.locale.Linkage
 
overloadResources(String, float) - Method in class simulator.Event
In case of overloading this will uses the limits NLE's
overloadResources(String, float) - Method in class simulator.ExecuteEvent
In case of overloading this will uses the limits NLE's.

P

paint(Graphics) - Method in class simulator.Display
Paints the display
paint(Graphics) - Method in class simulator.ResourceNodePanel
 
ParentLocaleSensor - class simulator.sensor.ParentLocaleSensor.
Module: simulator.sensor
ParentLocaleSensor(String, String) - Constructor for class simulator.sensor.ParentLocaleSensor
Constructor.
parseDataLine(String) - Static method in class simulator.script.Script
Parses the input data line, converting it into a hashtable of string data.
ParseException - exception simulator.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class simulator.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class simulator.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class simulator.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
parseLine(String) - Method in class simulator.Sensing
 
parseLine(String) - Static method in class simulator.sensor.SensorDeviation
Read the string error : +5% or +/-5% and get the type of error Currently only +, -, +/- are defined
parseLine(String, int) - Method in class simulator.Sensing
Parse this sensor lines and convert it into a Sensor object.
Period - class simulator.script.Period.
This assertion fires periodically, every Period time units starting with time Start.
Period(String) - Constructor for class simulator.script.Period
Constructor.
PERIODIC - Static variable in class simulator.Scripter
 
PHYSLOCALE - Static variable in interface simulator.ConfigFileParserConstants
 
PORT - Static variable in interface simulator.ConfigFileParserConstants
 
POSTEVENTS - Static variable in class simulator.Scripter
 
PREEVENTS - Static variable in class simulator.Scripter
 
PROB - Static variable in interface simulator.ConfigFileParserConstants
 
Probability - class simulator.script.Probability.
Simple assertion which returns a true check value some specified percentage of the time.
Probability(String) - Constructor for class simulator.script.Probability
Constructor.
processMsg(KQMLMessage) - Method in class simulator.Listener
processMsg is called, each time that an incoming message comes.
ProgressBarPanel - class simulator.ProgressBarPanel.
Module: simulator
ProgressBarPanel() - Constructor for class simulator.ProgressBarPanel
Constructor that creates the nice progress bar at the loading.
propagateEnvironmentalModel(Locale) - Method in class simulator.locale.Locale
This function is distinct from propagateResourceChange() for one very important reason: propagateEnvironmentalModel() will be called from the global locale exactly once every time unit, and is intended for modeling persistant or environmental effects.
propagateEnvironmentalModel(Locale) - Method in class simulator.locale.Linkage
 
propagateResourceChange(Locale, Object, Object, Event) - Method in class simulator.locale.Locale
To better model interdependent resource networks where a change in one will affect another, when a resource changes you will want to call this method.
propagateResourceChange(Locale, Object, Object, Event) - Method in class simulator.locale.Linkage
Interesting things can be done here in subclasses, however the base case is just to pass the resource change to its destination.
pulse() - Method in class simulator.Simulator
Waits for all running agents to complete, then increments the clock and sends a pulse to all available agents.
pulse() - Method in class simulator.script.Script
This method should perfor the assertion checks in whichever manner is appropriate.
pulse() - Method in class simulator.script.AndScript
Checks the assertions.
pulse() - Method in class simulator.script.OrScript
Checks the assertions.
pulse() - Method in class simulator.script.ExpressionScript
Checks the assertions.
pulse() - Method in class simulator.sensor.Sensor
pulse.
pulse() - Method in class simulator.sensor.ResourceSensor
 
pulse(int) - Method in class simulator.Scripter
Sends a pulse to each of the scripts.
pulsing() - Method in class simulator.Sensing
 
pulsing() - Method in class simulator.Agent
Pulsing changes the status of the agent from waiting to running and notify all threads.

Q

QUALITYFACTOR - Static variable in interface simulator.ConfigFileParserConstants
 
querySensor(Sensing, String, String) - Method in class simulator.script.SensorQuery
Queries the sensor and types the output
quit() - Method in class simulator.Simulator
Quits the simulator and kills all agents connected to before exiting.
QuitSim - class simulator.script.QuitSim.
Quit the simulator
QuitSim(String) - Constructor for class simulator.script.QuitSim
Constructor.

R

random - Variable in class simulator.Simulator
 
Reaction - class simulator.script.Reaction.
Base class for the script reactions.
Reaction(String) - Constructor for class simulator.script.Reaction
Constructor.
ReactionEvent - class simulator.ReactionEvent.
Module: simulator
ReactionEvent(String, String, int) - Constructor for class simulator.ReactionEvent
Constructor
readChar() - Static method in class simulator.ASCII_CharStream
 
readConfigurationFile(String) - Method in class simulator.Sensing
Read the file passed as argument, and add it in the keywords hashtable.
readScriptFile(String) - Method in class simulator.Scripter
Reads a config file to instantiate the current set of scripts
readScriptVector(Vector) - Method in class simulator.Scripter
Reads a config vector, which has essentially the same format as the config file, with one line per item in the vector (element 0 represents the "top" of the config file).
RealExecuteEvent - class simulator.RealExecuteEvent.
Module: simulator
RealExecuteEvent(int, int, Agent, Method, String) - Constructor for class simulator.RealExecuteEvent
Constructor
realize() - Method in class simulator.Event
Realizes the particular event
realize() - Method in class simulator.ExecuteEvent
Realizes the particular event.
realize() - Method in class simulator.RealExecuteEvent
Realizes the particular event
realize() - Method in class simulator.ResourceEvent
Realizes the particular event.
realize() - Method in class simulator.EnablesEvent
Realizes the particular event This function is called at each click during the time of the propagation.
realize() - Method in class simulator.FacilitatesEvent
Realizes the particular event
realize() - Method in class simulator.DisablesEvent
Realizes the particular event This function is called at each click during the time of the propagation.
realize() - Method in class simulator.ReactionEvent
Realizes the particular event
realize() - Method in class simulator.HindersEvent
Realizes the particular event
realize() - Method in class simulator.MessageEvent
Realizes the particular event
realize() - Method in class simulator.script.Reaction
Starts the reaction
realize() - Method in class simulator.script.ExecuteEventAbort
Starts the reaction
realize() - Method in class simulator.script.ExecuteEventDelay
Starts the reaction
realize() - Method in class simulator.script.DoPropagateResourceChange
Actually calls the propagation code
realize() - Method in class simulator.script.ResetSim
Starts the reaction
realize() - Method in class simulator.script.SendCommitment
Performs the action
realize() - Method in class simulator.script.SetResourceLevel
Performs the action
realize() - Method in class simulator.script.QuitSim
Starts the reaction
realize() - Method in class simulator.script.SetResourceLevelWithOther
Performs the action
realize() - Method in class simulator.script.ExecuteEventExtend
Starts the reaction
realize() - Method in class simulator.script.SendMessage
Performs the action
realize() - Method in class simulator.script.StepSim
Starts the reaction
realize() - Method in class simulator.script.SetSensorDeviation
Realize
realize() - Method in class simulator.script.StopSim
Starts the reaction
realize() - Method in class simulator.script.RunSim
Starts the reaction
realize() - Method in class simulator.script.ResetScript
Realize
realize() - Method in class simulator.script.DisconnectAgent
Realize
realize() - Method in class simulator.script.Write
Starts the reaction
realize() - Method in class simulator.script.StartScript
Realize
realize() - Method in class simulator.script.SendDeliveryCommitment
Performs the action
realize() - Method in class simulator.script.AdjustExecuteEventLevel
Starts the reaction
RegenerateTaems - class simulator.script.RegenerateTaems.
Sends a regenerate taems event to an agent.
RegenerateTaems(String) - Constructor for class simulator.script.RegenerateTaems
Constructor.
ReInit(ASCII_CharStream) - Static method in class simulator.ConfigFileParserTokenManager
 
ReInit(ASCII_CharStream, int) - Static method in class simulator.ConfigFileParserTokenManager
 
ReInit(ConfigFileParserTokenManager) - Method in class simulator.ConfigFileParser
 
ReInit(InputStream) - Static method in class simulator.ConfigFileParser
 
ReInit(InputStream, int, int) - Static method in class simulator.ASCII_CharStream
 
ReInit(InputStream, int, int, int) - Static method in class simulator.ASCII_CharStream
 
ReInit(Reader) - Static method in class simulator.ConfigFileParser
 
ReInit(Reader, int, int) - Static method in class simulator.ASCII_CharStream
 
ReInit(Reader, int, int, int) - Static method in class simulator.ASCII_CharStream
 
releaseResources(Event) - Method in class simulator.Resources
 
releaseResources(Event) - Method in class simulator.ConsumableResources
 
remove() - Method in class simulator.Agent
Removes the agent from the simulation
removeAgent(Agent) - Method in class simulator.Simulator
Removes an agent
removeAgent(String) - Method in class simulator.Display
Removes an agent from the display
removeAllTaems() - Method in class simulator.Agent
Convenience function that removes all the agent's Taems structures.
removeControl(Component) - Method in class simulator.SimulatorWindowManager
 
removeEvent(Event) - Method in class simulator.EventQueue
Removes an element from the table
removeExecution(ExecuteEvent) - Method in class simulator.Agent
Remove a finished Event in the Executions list
removeInfo(Component) - Method in class simulator.SimulatorWindowManager
 
removeScript(Script) - Method in class simulator.Scripter
Removes a script from the list
removeTaems(Object) - Method in class simulator.Agent
Removes a new Taems task structure from this agent
removeTimeSlot(int) - Method in class simulator.EventQueue
Removes a time slot
removeWindow(Window) - Method in class simulator.SimulatorWindowManager
 
reset() - Method in class simulator.Scripter
Reset function called by the simulator (when someone hit the reset button.
reset() - Method in class simulator.Agent
Resets the agent
reset() - Method in class simulator.Simulator
Resets the simulation, be careful, this function is not really tested.
reset() - Method in class simulator.script.Script
Resets the script by terminating any actions and resetting the internal counters
ResetScript - class simulator.script.ResetScript.
Resets a given script.
ResetScript(String) - Constructor for class simulator.script.ResetScript
Constructor.
ResetSim - class simulator.script.ResetSim.
Resets the simulator
ResetSim(String) - Constructor for class simulator.script.ResetSim
Constructor.
RESOURCE - Static variable in interface simulator.ConfigFileParserConstants
 
ResourceEvent - class simulator.ResourceEvent.
An resource event object
ResourceEvent(int, int, Resources, float, float, float) - Constructor for class simulator.ResourceEvent
Constructor.
ResourceEvent(int, int, Resources, float, float, float, boolean) - Constructor for class simulator.ResourceEvent
Constructor.
ResourceLevel - class simulator.script.ResourceLevel.
Tests the current level of a resource in the simulation environment.
ResourceLevel(String) - Constructor for class simulator.script.ResourceLevel
Constructor.
ResourceLevelCompare - class simulator.script.ResourceLevelCompare.
Compares the current level of two resources in the simulation environment.
ResourceLevelCompare(String) - Constructor for class simulator.script.ResourceLevelCompare
Constructor.
ResourceNodePanel - class simulator.ResourceNodePanel.
 
ResourceNodePanel(Resources) - Constructor for class simulator.ResourceNodePanel
 
resources - Variable in class simulator.Simulator
it's a Vector of all resources defined in the configuration file ( simulator.cfg).
Resources - class simulator.Resources.
Module: simulator
Resources(String, float, float, float, String) - Constructor for class simulator.Resources
 
ResourceSensor - class simulator.sensor.ResourceSensor.
Sense any kind of resource, if this resource is defined in the simulator.
ResourceSensor(String, String) - Constructor for class simulator.sensor.ResourceSensor
Constructor.
reverseDeviation(int) - Method in class simulator.sensor.SensorDeviation
 
reverseToken(int) - Method in class simulator.sensor.SensorDeviation
 
RootServer - class simulator.RootServer.
Module: simulator
RootServer(int) - Constructor for class simulator.RootServer
This function creates a socket for listening new client connections and creates a new Thread dedicated.
run() - Method in class simulator.Listener
Infinite loop, that call processMsg() when a message arrives.
run() - Method in class simulator.Server
This function run is used by the start() when the new Thread begins.
run() - Method in class simulator.Simulator
Runs the simulation.
run() - Method in class simulator.Simulator.DumbTextInterface
 
run() - Method in class simulator.RootServer
Infinite loop, just listen the socket.
runSensing(Locale, String) - Method in class simulator.Sensing
Main sensing function that takes the agent's message and try to read the sensor
runSensing(String, String) - Method in class simulator.Agent
runSensing answer to a question from the agent The order is sensor defines at the agent level first then if not defines sensors defines at the simulator level.
RunSim - class simulator.script.RunSim.
Run the simulator
RunSim(String) - Constructor for class simulator.script.RunSim
Constructor.

S

Script - class simulator.script.Script.
Generic script class from which other Scripts must be defined.
Script(String, String) - Constructor for class simulator.script.Script
Constructor
Scripter - class simulator.Scripter.
The script running engine.
Scripter() - Constructor for class simulator.Scripter
Constructor
ScriptPulseType - class simulator.script.ScriptPulseType.
Checks the current type of pulse being sent out to the scripts.
ScriptPulseType(String) - Constructor for class simulator.script.ScriptPulseType
Constructor.
SCRIPTS - Static variable in interface simulator.ConfigFileParserConstants
 
ScriptStarted - class simulator.script.ScriptStarted.
Tests weather a given script started.
ScriptStarted(String) - Constructor for class simulator.script.ScriptStarted
Constructor.
SEED - Static variable in interface simulator.ConfigFileParserConstants
 
SendCommitment - class simulator.script.SendCommitment.
Sends a Taems Commitment to an agent, embedded in a KQML message.
SendCommitment(String) - Constructor for class simulator.script.SendCommitment
Constructor.
SendDeliveryCommitment - class simulator.script.SendDeliveryCommitment.
Sends a delivery Taems Commitment to a delivery dispatcher agent, embedded in a KQML message.
SendDeliveryCommitment(String) - Constructor for class simulator.script.SendDeliveryCommitment
Constructor.
SendMessage - class simulator.script.SendMessage.
Sends a KQML message to an agent.
SendMessage(String) - Constructor for class simulator.script.SendMessage
Constructor.
sendMsg(KQMLMessage) - Method in class simulator.Listener
sendMsg is the generic function for sending a message.
sendMsg(KQMLMessage) - Method in class simulator.Agent
This is the generic function for sendind a message to an agent.
sendPulse() - Method in class simulator.Agent
This function is used by the clock to send the pulse message to an agent.
sense(Locale, String) - Method in class simulator.sensor.Sensor
make the real sensing
sense(Locale, String) - Method in class simulator.sensor.LocalePathSensor
 
sense(Locale, String) - Method in class simulator.sensor.LinkageSensor
 
sense(Locale, String) - Method in class simulator.sensor.ResourceSensor
make the real sensing
sense(Locale, String) - Method in class simulator.sensor.LocaleSensor
 
sense(Locale, String) - Method in class simulator.sensor.ParentLocaleSensor
 
sense(Locale, String) - Method in class simulator.sensor.SubLocaleSensor
 
sense(Locale, String) - Method in class simulator.sensor.LocalAgentSensor
 
Sensing - class simulator.Sensing.
Sensing module read the authorization for allowing agent to get informations of the world.
Sensing() - Constructor for class simulator.Sensing
Constructor: don't know what to write down here.
Sensing(String) - Constructor for class simulator.Sensing
 
SensingErrorException - exception simulator.sensor.SensingErrorException.
 
SensingErrorException() - Constructor for class simulator.sensor.SensingErrorException
 
SensingErrorException(String) - Constructor for class simulator.sensor.SensingErrorException
 
Sensor - class simulator.sensor.Sensor.
Base class for the sensor script.
Sensor(String, String) - Constructor for class simulator.sensor.Sensor
Constructor.
SensorDeviation - class simulator.sensor.SensorDeviation.
SensorDeviation represents the different biais the simulator could apply on a sensor before sending the value to the agent
SensorDeviation(double, int, double, double, int) - Constructor for class simulator.sensor.SensorDeviation
Define a sensor deviations
SensorParseException - exception simulator.sensor.SensorParseException.
 
SensorParseException() - Constructor for class simulator.sensor.SensorParseException
 
SensorParseException(String) - Constructor for class simulator.sensor.SensorParseException
 
SensorQuery - class simulator.script.SensorQuery.
Queries a sensor and compares the results to those specified
SensorQuery(String) - Constructor for class simulator.script.SensorQuery
Constructor.
SENSORS - Static variable in interface simulator.ConfigFileParserConstants
 
Server - class simulator.Server.
Module: simulator
setAutoStart(boolean, int) - Method in class simulator.Simulator
sets autostart on or off.
setBackground(String) - Method in class simulator.Display
Sets the background image
setComplexNLE(boolean) - Method in class simulator.Simulator
Set the flag for the simulation, about applying the NLE's using the quality of the facilitator
setCurrentValue(float) - Method in class simulator.Resources
 
setCurrentValue(float) - Method in class simulator.ConsumableResources
 
setDeviation(Vector) - Method in class simulator.sensor.ResourceSensor
setDeviation, obviously set the deviation vector
setDimension(String, float) - Method in class simulator.ExecuteEvent
Acessor for the total for a specific entry in the dimensions table
setDisplay(int) - Method in class simulator.EventQueue
Sets the display for a particular time slot
setFixed(boolean) - Method in class simulator.sensor.SensorDeviation
 
setFrom(Locale) - Method in class simulator.locale.Linkage
 
setFunction(int) - Method in class simulator.sensor.SensorDeviation
 
setGraph(Graph) - Method in class simulator.Simulator
 
setListener(Listener) - Method in class simulator.Agent
Set the private field listener.
setLocale(Locale) - Method in class simulator.Agent
 
setLocale(Locale) - Method in class simulator.Resources
 
setLocation(String) - Method in class simulator.Agent
Updates the agent's location
setLocationMapping(String) - Method in class simulator.Simulator
Loads a class to use to map strings from the agents to the proper locale instances.
setMax(double) - Method in class simulator.sensor.SensorDeviation
 
setMaximum(float) - Method in class simulator.Resources
 
setMin(double) - Method in class simulator.sensor.SensorDeviation
 
setMinimum(float) - Method in class simulator.Resources
 
setParent(Locale) - Method in class simulator.locale.Locale
Sets the parent, and does some graph stuff
setPicture(String) - Method in class simulator.Agent
Updates the agent's picture display
setPort(int) - Method in class simulator.Simulator
Sets the server port, restarts the server if available
SetPreprocessKey - class simulator.script.SetPreprocessKey.
Sends a regenerate taems event to an agent.
SetPreprocessKey(String) - Constructor for class simulator.script.SetPreprocessKey
Constructor.
setProbability(double) - Method in class simulator.sensor.SensorDeviation
 
setPropMark() - Method in class simulator.locale.Locale
sets the propagation mark on this node
setPulseType(int) - Method in class simulator.Scripter
Sets the type of pulse currently being sent out.
SetResourceLevel - class simulator.script.SetResourceLevel.
Sets the current level of a resource to some fixed level, using a ResourceEvent.
SetResourceLevel(String) - Constructor for class simulator.script.SetResourceLevel
Constructor.
SetResourceLevelWithOther - class simulator.script.SetResourceLevelWithOther.
Sets the current level of a resource to the level of some other resource, using a ResourceEvent.
SetResourceLevelWithOther(String) - Constructor for class simulator.script.SetResourceLevelWithOther
Constructor.
SetResourceMax - class simulator.script.SetResourceMax.
Sets the maximum level of a resource to a fixed value, using a ResourceEvent.
SetResourceMax(String) - Constructor for class simulator.script.SetResourceMax
Constructor.
SetResourceMin - class simulator.script.SetResourceMin.
Sets the minimum level of a resource to a fixed value, using a ResourceEvent.
SetResourceMin(String) - Constructor for class simulator.script.SetResourceMin
Constructor.
setRunning(boolean) - Method in class simulator.Simulator
pauses or starts the simulator.
SetSensorDeviation - class simulator.script.SetSensorDeviation.
Sets the deviation distribution on a sensor.
SetSensorDeviation(String) - Constructor for class simulator.script.SetSensorDeviation
Constructor.
setTextInter(boolean) - Method in class simulator.Simulator
 
setTimeout(int) - Method in class simulator.Simulator
setTimeout just the maximum time that the simulator wait for an agent to ack its pulse.
setTo(Locale) - Method in class simulator.locale.Linkage
Accessors
setType(int) - Method in class simulator.sensor.SensorDeviation
 
setValue(int) - Method in class simulator.ProgressBarPanel
Set the current value of the progress bar
setWindowVisible(Window, boolean) - Method in class simulator.SimulatorWindowManager
 
showProgress() - Method in class simulator.ProgressBarPanel
showProgess increment the progress of 1.
showProgress(String) - Method in class simulator.ProgressBarPanel
showProgress increment the progress of 1, but this time it also displays message about the current work.
showResourceDisplay(Graph) - Method in class simulator.Simulator
 
showWindow(Window) - Method in class simulator.SimulatorWindowManager
 
SimpleLocationMapping - class simulator.locale.SimpleLocationMapping.
Module: simulator.locale
SimpleLocationMapping() - Constructor for class simulator.locale.SimpleLocationMapping
 
simulator - package simulator
 
simulator - Static variable in class simulator.Simulator
 
Simulator - class simulator.Simulator.
Module: simulator
Simulator.DumbTextInterface - class simulator.Simulator.DumbTextInterface.
 
Simulator.DumbTextInterface(Simulator) - Constructor for class simulator.Simulator.DumbTextInterface
 
simulator.locale - package simulator.locale
 
simulator.script - package simulator.script
 
simulator.sensor - package simulator.sensor
 
Simulator() - Constructor for class simulator.Simulator
constructor for the simulator.
Simulator(String) - Constructor for class simulator.Simulator
 
SimulatorWindowManager - class simulator.SimulatorWindowManager.
 
SimulatorWindowManager() - Constructor for class simulator.SimulatorWindowManager
 
SINGLE_LINE_COMMENT - Static variable in interface simulator.ConfigFileParserConstants
 
socket - Variable in class simulator.Agent
 
specialToken - Variable in class simulator.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
START - Static variable in interface simulator.ConfigFileParserConstants
 
start() - Method in class simulator.Simulator.DumbTextInterface
 
start() - Method in class simulator.script.Script
Starts the reactions (e.g.
startLoading(int, int) - Method in class simulator.ProgressBarPanel
You define the minimum and the maximum of the progresBar.
StartScript - class simulator.script.StartScript.
Starts a script if it is found.
StartScript(String) - Constructor for class simulator.script.StartScript
Constructor.
stateCode() - Method in class simulator.Event
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.ExecuteEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.ResourceEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.EnablesEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.FacilitatesEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.DisablesEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.ReactionEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.HindersEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
stateCode() - Method in class simulator.MessageEvent
Returns the state code, which should hopefully be relatively unique (based on the event's contents) and deterministic
staticFlag - Static variable in class simulator.ASCII_CharStream
 
step(int) - Method in class simulator.Simulator
 
StepSim - class simulator.script.StepSim.
Steps the simulator
StepSim(String) - Constructor for class simulator.script.StepSim
Constructor.
stop() - Method in class simulator.Simulator.DumbTextInterface
 
stopLoading() - Method in class simulator.ProgressBarPanel
If the user click on stop loading, this will cancel the load and exit from the program.
StopSim - class simulator.script.StopSim.
Stop the simulator
StopSim(String) - Constructor for class simulator.script.StopSim
Constructor.
stringToStack(String) - Method in class simulator.script.ExpressionScript
Converts the string of characters to a stack of tokens (Strings)
SubLocaleSensor - class simulator.sensor.SubLocaleSensor.
Module: simulator.sensor
SubLocaleSensor(String, String) - Constructor for class simulator.sensor.SubLocaleSensor
Constructor.
SwitchTo(int) - Static method in class simulator.ConfigFileParserTokenManager
 
symbolicToActual(Vector, Vector) - Method in class simulator.script.ExpressionScript
Converts the symbolic expression into an actual stack

T

TBTS - Static variable in interface simulator.ConfigFileParserConstants
 
TEXTINTERFACE - Static variable in interface simulator.ConfigFileParserConstants
 
Time - class simulator.script.Time.
Simple assertion which tests the time.
TIME - Static variable in interface simulator.ConfigFileParserConstants
 
Time(String) - Constructor for class simulator.script.Time
Constructor.
TimeChanged - class simulator.script.TimeChanged.
Returns true if the time is different from the last time it was checked.
TimeChanged(String) - Constructor for class simulator.script.TimeChanged
Constructor.
TIMEOUT - Static variable in interface simulator.ConfigFileParserConstants
 
Timer - class simulator.script.Timer.
Returns true for a certain time interval, possibly repeating.
Timer(String) - Constructor for class simulator.script.Timer
Constructor.
token - Static variable in class simulator.ConfigFileParser
 
Token - class simulator.Token.
Describes the input token stream.
token_source - Static variable in class simulator.ConfigFileParser
 
Token() - Constructor for class simulator.Token
 
tokenImage - Static variable in interface simulator.ConfigFileParserConstants
 
tokenImage - Variable in class simulator.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - error simulator.TokenMgrError.
 
TokenMgrError() - Constructor for class simulator.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class simulator.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class simulator.TokenMgrError
 
toString() - Method in class simulator.Sensing
 
toString() - Method in class simulator.Token
Returns the image.
toString() - Method in class simulator.Agent
Returns a stringified version of the agent
toString() - Method in class simulator.Resources
 
toString() - Method in class simulator.locale.Locale
returns a string representing the contents of the object, of course
toString() - Method in class simulator.script.Reaction
Stringify
toString() - Method in class simulator.script.Script
Stringify
toString() - Method in class simulator.script.Assertion
Stringify
toString() - Method in class simulator.sensor.Sensor
Return a Sensor description like: Name, Data1:Type1:Value1 , Data2:Type2:Value2
toString() - Method in class simulator.sensor.ResourceSensor
 
toString() - Method in class simulator.sensor.SensorDeviation
 
True - class simulator.script.True.
Simple assertion which gives back true every time it is checked.
True(String) - Constructor for class simulator.script.True
Constructor.

U

UNKNOWN - Static variable in class simulator.script.Script
 
update(Graphics) - Method in class simulator.Display
Updates the image
updateColor(Object, int) - Method in class simulator.script.Script
Updates the color of an item's label
updateColor(Vector, int) - Method in class simulator.script.Script
Same as above, but works on vectors of the script objects.
updateDisplay() - Method in class simulator.Event
Updates the status display
updateDisplay() - Method in class simulator.ExecuteEvent
Updates the status display
This function is used in the EventQueue display window.
updateDisplay() - Method in class simulator.EnablesEvent
Updates the status display.
updateDisplay() - Method in class simulator.FacilitatesEvent
Updates the status display.
updateDisplay() - Method in class simulator.DisablesEvent
Updates the status display.
updateDisplay() - Method in class simulator.HindersEvent
Updates the status display.
updateDisplay() - Method in class simulator.MessageEvent
Updates the status display
This function is used in the EventQueue display window.
updateDisplay(String, String) - Method in class simulator.Display
Updates an agent's display
updateLocation(String, String) - Method in class simulator.Display
Updates an agent's location
updateProducedResources() - Method in class simulator.Event
Updating at each pulse the resources produced by this Event()
updateResources(Event) - Method in class simulator.Resources
 
updateResources(Event) - Method in class simulator.ConsumableResources
 
updateTaems(Object, Taems) - Method in class simulator.Agent
Updates an existing Taems task structure for the agent
updateUsedResources() - Method in class simulator.Event
Updating at each pulse the resources used by this Event()
useResources(float, Event) - Method in class simulator.Resources
 
useResources(float, Event) - Method in class simulator.ConsumableResources
 

W

waiting() - Method in class simulator.Agent
waiting funtion is the opposite of pulsing, it changes the status from running to waiting.
Write - class simulator.script.Write.
Just writes a line of data out using Log.
Write(String) - Constructor for class simulator.script.Write
Constructor.

A B C D E F G H I J K L M N O P Q R S T U W