Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
A
AGENT_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
AGENT_TYPE_AMBULANCE_CENTER
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_AMBULANCE_TEAM
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_ANY
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_ANY_AGENT
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_ANY_BUILDING
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_ANY_MOBILE
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_CIVILIAN
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_FIRE_BRIGADE
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_FIRE_STATION
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_POLICE_FORCE
- Static variable in interface rescuecore.
RescueConstants
AGENT_TYPE_POLICE_OFFICE
- Static variable in interface rescuecore.
RescueConstants
AK_ACKNOWLEDGE(int)
- Static method in class rescuecore.
Command
Create an AK_ACKNOWLEDGE message
AK_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
AK_CLEAR(int, int)
- Static method in class rescuecore.
Command
Create an AK_CLEAR message
AK_CLEAR
- Static variable in interface rescuecore.
RescueConstants
AK_CONNECT(int, int, int)
- Static method in class rescuecore.
Command
Create an AK_CONNECT message
AK_CONNECT
- Static variable in interface rescuecore.
RescueConstants
AK_EXTINGUISH(int, int)
- Static method in class rescuecore.
Command
Create an AK_EXTINGUISH message that will use the maximum extinguish power and ignore the direction,x and y parameters
AK_EXTINGUISH(int, int, int, int, int)
- Static method in class rescuecore.
Command
Create an AK_EXTINGUISH message that will use the maximum extinguish power
AK_EXTINGUISH(int, int, int, int, int, int)
- Static method in class rescuecore.
Command
Create an AK_EXTINGUISH message
AK_EXTINGUISH
- Static variable in interface rescuecore.
RescueConstants
AK_LOAD(int, int)
- Static method in class rescuecore.
Command
Create an AK_LOAD message
AK_LOAD
- Static variable in interface rescuecore.
RescueConstants
AK_MOVE(int, int[])
- Static method in class rescuecore.
Command
Create an AK_MOVE message
AK_MOVE
- Static variable in interface rescuecore.
RescueConstants
AK_RESCUE(int, int)
- Static method in class rescuecore.
Command
Create an AK_RESCUE message
AK_RESCUE
- Static variable in interface rescuecore.
RescueConstants
AK_REST
- Static variable in interface rescuecore.
RescueConstants
AK_SAY(int, byte[])
- Static method in class rescuecore.
Command
Create an AK_SAY message
AK_SAY
- Static variable in interface rescuecore.
RescueConstants
AK_TELL(int, byte[])
- Static method in class rescuecore.
Command
Create an AK_TELL message
AK_TELL
- Static variable in interface rescuecore.
RescueConstants
AK_UNLOAD(int)
- Static method in class rescuecore.
Command
Create an AK_UNLOAD message
AK_UNLOAD
- Static variable in interface rescuecore.
RescueConstants
AMBULANCE_CENTER_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
AMBULANCE_TEAM_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Agent
- class rescuecore.
Agent
.
This is the base class for all agents.
Agent(int)
- Constructor for class rescuecore.
Agent
Create a new agent of a particular type.
AgentDebug
- class rescuecore.debug.
AgentDebug
.
AgentSystem
- class rescuecore.
AgentSystem
.
The AgentSystem class is responsible for starting agents and passing messages from the simulation kernel on to those agents.
AgentSystem(AgentSystem.AgentInfo[], InetAddress, int, int, int)
- Constructor for class rescuecore.
AgentSystem
Create a new AgentSystem which will connect the specified agents to the specified kernel
AmbulanceCenter
- class rescuecore.objects.
AmbulanceCenter
.
Encapsulation of a TYPE_AMBULANCE_CENTER object
AmbulanceCenter()
- Constructor for class rescuecore.objects.
AmbulanceCenter
AmbulanceTeam
- class rescuecore.objects.
AmbulanceTeam
.
Encapsulation of a TYPE_AMBULANCE_TEAM object
AmbulanceTeam()
- Constructor for class rescuecore.objects.
AmbulanceTeam
AntsRoadWeighter
- class rescuecore.tools.mapgenerator.
AntsRoadWeighter
.
A road weighter that decides on road importance by making 10,000 trips through the RescueMap between random pairs of nodes.
AntsRoadWeighter()
- Constructor for class rescuecore.tools.mapgenerator.
AntsRoadWeighter
Args
- class rescuecore.
Args
.
ArrayMemory
- class rescuecore.
ArrayMemory
.
This is an implementation of Memory that stores the data in an array
ArrayMemory()
- Constructor for class rescuecore.
ArrayMemory
Construct a new empty memory
ArrayMemory(int, int)
- Constructor for class rescuecore.
ArrayMemory
Construct a new empty memory
add(RescueObject, int)
- Method in class rescuecore.
ArrayMemory
add(RescueObject, int)
- Method in class rescuecore.
HashMemory
add(RescueObject, int)
- Method in class rescuecore.
Memory
Add a new object
addBuilding(int[][], int, int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Adds a new building.
addBuildings(RescueMap, int, int, Random)
- Method in class rescuecore.tools.mapgenerator.
BlocksBuildingGenerator
Adds the buildings.
addBuildings(RescueMap, int, int, Random)
- Method in interface rescuecore.tools.mapgenerator.
BuildingGenerator
Adds the buildings.
addErrorDestination(OutputStream)
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Add a new destination for the standard error stream from this process.
addItem(int, int)
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Insert into the priority queue, and return a PairNode that can be used by decreaseKey.
addLayer(Layer)
- Method in class rescuecore.view.
Map
addMemoryListener(MemoryListener)
- Method in class rescuecore.
Memory
Add a MemoryListener that will be informed of adds and updates
addNode()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Adds a node to the map.
addObject(Object)
- Method in class rescuecore.view.
Layer
addObjects(Object[])
- Method in class rescuecore.view.
Layer
addObjects(Collection)
- Method in class rescuecore.view.
Layer
addOutputDestination(OutputStream)
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Add a new destination for the standard output stream from this process.
addOutputStream(OutputStream)
- Method in class rescuecore.tools.simulationrunner.
LogReader
Add a new destination for the data
addPropertyListener(PropertyListener)
- Method in class rescuecore.
RescueObject
Add a PropertyListener
addRenderer(Class, MapRenderer)
- Method in class rescuecore.view.
Layer
agentSystem
- Variable in class rescuecore.
Agent
agentType
- Variable in class rescuecore.
Agent
align()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Finds the lowest x and y coordinates and aligns the map so these have value 1.
angle(RescueMap, int, int, int)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Gets the angle between two connected sets of nodes.
append(Command)
- Method in class rescuecore.
RescueMessage
Append a new Command to the end of this message
appendCommand(Command)
- Method in class rescuecore.
Agent
Add a Command to our current set of Commands to be sent to the kernel.
area(int[][])
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Find the area of a building (in 100ths of sqr meters) from the apexes.
arrayAsString(int[])
- Static method in class rescuecore.
Handy
Turn an array of integers into a String containing a comma-seperated list of numbers
B
BACKGROUND_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BAD_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BUILDING_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BURNT_OUT_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BYTE_SIZE
- Static variable in interface rescuecore.
RescueConstants
BasicBuildingGenerator
- class rescuecore.tools.mapgenerator.
BasicBuildingGenerator
.
A BuildingGenerator that recursively chops a block into rectangular buildings.
BasicBuildingGenerator()
- Constructor for class rescuecore.tools.mapgenerator.
BasicBuildingGenerator
BlocksBuildingGenerator
- class rescuecore.tools.mapgenerator.
BlocksBuildingGenerator
.
An abstract class that provides functionality for adding buildings to a RescueMap one city block at a time.
BlocksBuildingGenerator()
- Constructor for class rescuecore.tools.mapgenerator.
BlocksBuildingGenerator
Building
- class rescuecore.objects.
Building
.
Encapsulation of a TYPE_BUILDING object
Building()
- Constructor for class rescuecore.objects.
Building
Building(int)
- Constructor for class rescuecore.objects.
Building
BuildingGenerator
- interface rescuecore.tools.mapgenerator.
BuildingGenerator
.
Interface to classes that add buildings to a RescueMap.
BuildingRenderer
- class rescuecore.view.
BuildingRenderer
.
BuildingRenderer()
- Constructor for class rescuecore.view.
BuildingRenderer
breadthFirstSearch(RescueObject, RescueObject, Memory)
- Static method in class rescuecore.sample.
SampleSearch
Do a breadth first search from one location to another
C
CAR_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
CHUNK_SIZE
- Static variable in class rescuecore.
LongUDPMessage
CIVILIAN_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
COMMAND_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
COMMAND_CLEAR
- Static variable in interface rescuecore.
RescueConstants
COMMAND_CONNECT
- Static variable in interface rescuecore.
RescueConstants
COMMAND_EXTINGUISH
- Static variable in interface rescuecore.
RescueConstants
COMMAND_LOAD
- Static variable in interface rescuecore.
RescueConstants
COMMAND_MOVE
- Static variable in interface rescuecore.
RescueConstants
COMMAND_RESCUE
- Static variable in interface rescuecore.
RescueConstants
COMMAND_REST
- Static variable in interface rescuecore.
RescueConstants
COMMAND_SAY
- Static variable in interface rescuecore.
RescueConstants
COMMAND_TELL
- Static variable in interface rescuecore.
RescueConstants
COMMAND_UNLOAD
- Static variable in interface rescuecore.
RescueConstants
Car
- class rescuecore.objects.
Car
.
Encapsulation of a TYPE_CAR object
Car()
- Constructor for class rescuecore.objects.
Car
CenterAgent
- class rescuecore.
CenterAgent
.
An abstract superclass for center agents (i.e fire station, police office, ambulance center).
CenterAgent(int)
- Constructor for class rescuecore.
CenterAgent
Civilian
- class rescuecore.objects.
Civilian
.
Encapsulation of a TYPE_CIVILIAN object
Civilian()
- Constructor for class rescuecore.objects.
Civilian
Command
- class rescuecore.
Command
.
This class encapsulates a command to the server.
Command(int, byte[])
- Constructor for class rescuecore.
Command
Construct a new Command
ConfigFile
- class rescuecore.tools.simulationrunner.
ConfigFile
.
ConfigFile(String, String)
- Constructor for class rescuecore.tools.simulationrunner.
ConfigFile
ConvexHull
- class rescuecore.view.
ConvexHull
.
ConvexHull(RescueObject[], Memory)
- Constructor for class rescuecore.view.
ConvexHull
ConvexHullLayer
- class rescuecore.view.
ConvexHullLayer
.
ConvexHullLayer(Memory)
- Constructor for class rescuecore.view.
ConvexHullLayer
ConvexHullRenderer
- class rescuecore.view.
ConvexHullRenderer
.
ConvexHullRenderer()
- Constructor for class rescuecore.view.
ConvexHullRenderer
canPass(Road, int, Node)
- Method in class rescuecore.
Memory
Test whether an agent can pass a particular road in a certain direction
canRender(Object)
- Method in class rescuecore.view.
BuildingRenderer
canRender(Object)
- Method in class rescuecore.view.
ConvexHullLayer
canRender(Object)
- Method in class rescuecore.view.
ConvexHullRenderer
canRender(Object)
- Method in class rescuecore.view.
HumanoidRenderer
canRender(Object)
- Method in interface rescuecore.view.
MapRenderer
canRender(Object)
- Method in class rescuecore.view.
NodeRenderer
canRender(Object)
- Method in class rescuecore.view.
RoadRenderer
centre(int[][])
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Gets the centre of a building from its apexes.
clear(Road)
- Method in class rescuecore.
PlatoonAgent
Append a clear command
close()
- Method in class rescuecore.
LongUDPSocket
Close the socket
close()
- Static method in class rescuecore.debug.
AgentDebug
close()
- Method in class rescuecore.debug.
MemoryLog
compareTo(Object)
- Method in class rescuecore.
LongUDPFragment
connect(RescueMap, int, boolean, Random)
- Method in class rescuecore.tools.mapgenerator.
AntsRoadWeighter
connect(RescueMap, int, boolean, Random)
- Method in interface rescuecore.tools.mapgenerator.
RoadWeighter
Alters the number of lanes on roads in the map.
count(int)
- Method in class rescuecore.
RescueMessage
Go through all parts of this message and count how many of each type of Commannd we have
countPoints()
- Method in class rescuecore.view.
ConvexHull
countTimesteps()
- Method in class rescuecore.log.
Log
coveredHumanoidRenderer(Color)
- Static method in class rescuecore.view.
HumanoidRenderer
createBuildingLayer(Memory)
- Static method in class rescuecore.view.
Layer
createClassFilter(Class, MemoryListener)
- Static method in class rescuecore.
FilterMemoryListener
Create a new FilterMemoryListener that will only pass on notifications that concern RescueObjects of a particular class
createHumanoidLayer(Memory)
- Static method in class rescuecore.view.
Layer
createInternalTypeFilter(int, MemoryListener)
- Static method in class rescuecore.
FilterMemoryListener
Create a new FilterMemoryListener that will only pass on notifications that concern RescueObjects of a particular internal type
createNodeLayer(Memory)
- Static method in class rescuecore.view.
Layer
createRoadLayer(Memory)
- Static method in class rescuecore.view.
Layer
createRoadSet(String, int, int, int, Random)
- Static method in class rescuecore.tools.mapgenerator.
RoadSetFactory
Creates a RescueMap, then initialises its nodes and roads.
createSingletonLayer(Memory, Object, MapRenderer, String)
- Static method in class rescuecore.view.
Layer
createTypeFilter(int, MemoryListener)
- Static method in class rescuecore.
FilterMemoryListener
Create a new FilterMemoryListener that will only pass on notifications that concern RescueObjects of a particular type
cull(int, int)
- Method in class rescuecore.
RescueMessage
Go through all parts of this message and make sure we don't have too many of any kind of Command
D
DEBUG_CLOSED
- Static variable in interface rescuecore.debug.
DebugConstants
DEBUG_OBJECT_ADDED
- Static variable in interface rescuecore.debug.
DebugConstants
DEBUG_OBJECT_CHANGED
- Static variable in interface rescuecore.debug.
DebugConstants
DEBUG_TIMESTEP
- Static variable in interface rescuecore.debug.
DebugConstants
DebugConstants
- interface rescuecore.debug.
DebugConstants
.
DummyAgent
- class rescuecore.
DummyAgent
.
DummyAgent()
- Constructor for class rescuecore.
DummyAgent
data
- Variable in class rescuecore.
ArrayMemory
data
- Variable in class rescuecore.
HashMemory
debug(Agent, int, String)
- Static method in class rescuecore.debug.
AgentDebug
debug(Agent, String)
- Static method in class rescuecore.debug.
AgentDebug
decode(DataInput, int)
- Method in class rescuecore.
Property
Decode an update from the kernel.
decode(DataInput, int)
- Static method in class rescuecore.
RescueObject
Decode a new RescueObject from a buffer and update the pointer
decode(int, int, DataInput, int)
- Static method in class rescuecore.
RescueObject
Decode a new RescueObject from a buffer and update the pointer
decodeByte(byte[], int)
- Static method in class rescuecore.
Handy
Decode a byte from a buffer
decodeBytes(byte[], int, int)
- Static method in class rescuecore.
Handy
Decode a byte array from a buffer
decodeInt(byte[], int)
- Static method in class rescuecore.
Handy
Decode an int from a buffer
decodeObjects(DataInput, int)
- Static method in class rescuecore.
RescueObject
Decode a set of objects from a buffer.
decodeShort(byte[], int)
- Static method in class rescuecore.
Handy
Decode a short from a buffer
decodeString(byte[], int, int)
- Static method in class rescuecore.
Handy
Decode a String from a buffer
decreaseKey(PairNode, int)
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Change the value of the item stored in the pairing heap.
defaultMap(Memory)
- Static method in class rescuecore.view.
Map
defragment(LongUDPFragment[])
- Static method in class rescuecore.
LongUDPMessage
Defragment a set of LongUDPFragments into one LongUDPMessage
deleteMin()
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Remove the smallest item from the priority queue.
dirty()
- Method in class rescuecore.view.
Layer
distance(int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Gets the Euclidean distance between two nodes.
E
EXTINGUISHED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
edges(int[], int[], int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get a list of edge IDs for a node.
encodeByte(int)
- Static method in class rescuecore.
Handy
Encode a byte into a byte array
encodeByte(int, byte[], int)
- Static method in class rescuecore.
Handy
Encode a byte into a buffer
encodeBytes(byte[], byte[], int)
- Static method in class rescuecore.
Handy
Encode a byte arrray into a buffer
encodeBytes(byte[], int, int, byte[], int)
- Static method in class rescuecore.
Handy
Encode part of a byte array into a buffer
encodeInt(int)
- Static method in class rescuecore.
Handy
Encode an int into a byte array
encodeInt(int, byte[], int)
- Static method in class rescuecore.
Handy
Encode an int into a buffer
encodeShort(int)
- Static method in class rescuecore.
Handy
Encode a short into a byte array
encodeShort(int, byte[], int)
- Static method in class rescuecore.
Handy
Encode a short into a buffer
encodeString(String, int)
- Static method in class rescuecore.
Handy
Encode a String into a byte array
encodeString(String, int, byte[], int)
- Static method in class rescuecore.
Handy
Encode a String into a buffer
equals(Object)
- Method in class rescuecore.
RescueObject
extinguish(Building)
- Method in class rescuecore.
PlatoonAgent
Append an extinguish command
extinguish(Building, int)
- Method in class rescuecore.
PlatoonAgent
Append an extinguish command
F
FIERYNESS_BURNING
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_BURNT_OUT
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_HEATING
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_INFERNO
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_MODERATELY_BURNT
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_NOT_BURNT
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_SLIGHTLY_BURNT
- Static variable in interface rescuecore.
RescueConstants
FIERYNESS_VERY_BURNT
- Static variable in interface rescuecore.
RescueConstants
FILL_MODE_CROSS_HATCH
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_DIAGONAL_LINES
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_HATCH
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_HORIZONTAL_LINES
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_REVERSE_DIAGONAL_LINES
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_SOLID
- Static variable in class rescuecore.view.
RenderTools
FILL_MODE_VERTICAL_LINES
- Static variable in class rescuecore.view.
RenderTools
FIRE_BRIGADE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
FIRE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
FIRE_STATION_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
FilterMemoryListener
- class rescuecore.
FilterMemoryListener
.
This class will filter which events get passed to a MemoryListener
FireBrigade
- class rescuecore.objects.
FireBrigade
.
Encapsulation of a TYPE_FIRE_BRIGADE object
FireBrigade()
- Constructor for class rescuecore.objects.
FireBrigade
FireStation
- class rescuecore.objects.
FireStation
.
Encapsulation of a TYPE_FIRE_STATION object
FireStation()
- Constructor for class rescuecore.objects.
FireStation
fillBlock(RescueMap, int[], int, Random)
- Method in class rescuecore.tools.mapgenerator.
BasicBuildingGenerator
Divides a block into a number of rectangular buildings.
fillBlock(RescueMap, int[], int, Random)
- Method in class rescuecore.tools.mapgenerator.
BlocksBuildingGenerator
Give a list of buildings for a block.
fillOuterBlock(RescueMap, int[], int, Random)
- Method in class rescuecore.tools.mapgenerator.
BasicBuildingGenerator
No buildings returned - just have an empty outer rim.
fillOuterBlock(RescueMap, int[], int, Random)
- Method in class rescuecore.tools.mapgenerator.
BlocksBuildingGenerator
Give a list of buildings for the outside of the city.
filledBuildingRenderer(int, Color)
- Static method in class rescuecore.view.
BuildingRenderer
finalize()
- Method in class rescuecore.debug.
MemoryLog
findBuildingNeighbours(Building)
- Method in class rescuecore.
Memory
Find the neighbours of a Building.
findIntersections(RescueMap)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Finds any overlapping roads and creates a new node at their intersection.
findMin()
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Find the highest priority value in the priority queue.
findNeighbours(RescueObject)
- Method in class rescuecore.
Memory
Find the neighbours of a RescueObject.
findNodeNeighbours(Node)
- Method in class rescuecore.
Memory
Find the neighbours of a Node.
findRoadNeighbours(Road)
- Method in class rescuecore.
Memory
Find the neighbours of a Road.
firePropertyChanged(int, int)
- Method in class rescuecore.
RescueObject
flushCommands()
- Method in class rescuecore.
Agent
Send all our buffered commands to the kernel
fragment(short)
- Method in class rescuecore.
LongUDPMessage
Break up this message into fragments ready for sending
G
GK_CONNECT_ERROR
- Static variable in interface rescuecore.
RescueConstants
GK_CONNECT_OK
- Static variable in interface rescuecore.
RescueConstants
generateLog(String)
- Static method in class rescuecore.log.
Log
generateMap(boolean, boolean, int, int, int, int, int, int, int, String, String, String, long)
- Static method in class rescuecore.tools.mapgenerator.
MapGenerator
Creates a RescueMap object to specification.
generateMemory()
- Method in class rescuecore.
Agent
Construct a new Memory object for use by this Agent.
getAgentID()
- Method in class rescuecore.debug.
ReplayableMemory
getAgentSystem()
- Method in class rescuecore.
Agent
Get the AgentSystem used for message passing
getAgentType()
- Method in class rescuecore.
Agent
Get this agent's type
getAgentTypeName(int)
- Static method in class rescuecore.
Handy
Turn an agent type into a human-readable String
getAllObjects()
- Method in class rescuecore.
ArrayMemory
getAllObjects()
- Method in class rescuecore.
HashMemory
getAllObjects()
- Method in class rescuecore.
Memory
Get all objects in memory
getAllObjectsAsCollection()
- Method in class rescuecore.
ArrayMemory
getAllObjectsAsCollection()
- Method in class rescuecore.
HashMemory
getAllObjectsAsCollection()
- Method in class rescuecore.
Memory
Get all objects in memory as a Collection
getAngle(RescueObject, RescueObject)
- Method in class rescuecore.
Memory
Get the angle in arc-seconds from one object to another
getApexes()
- Method in class rescuecore.objects.
Building
getBlock()
- Method in class rescuecore.objects.
Road
getBlockedLines()
- Method in class rescuecore.objects.
Road
getBooleanValue()
- Method in class rescuecore.
Property
Get the value of this property as a boolean.
getBrokenness()
- Method in class rescuecore.objects.
Building
getBuildingAttributes()
- Method in class rescuecore.objects.
Building
getBuildingCode()
- Method in class rescuecore.objects.
Building
getBuildingShapeID()
- Method in class rescuecore.objects.
Building
getBuriedness()
- Method in class rescuecore.objects.
Humanoid
getCarsPassToHead()
- Method in class rescuecore.objects.
Road
getCarsPassToTail()
- Method in class rescuecore.objects.
Road
getClosestNode(RescueObject)
- Method in class rescuecore.
Memory
Find the closest Node to a RescueObject.
getClosestNode(Road, int)
- Method in class rescuecore.
Memory
Get the node id (either head or tail of the given road) that is closest to the position given
getCommandLine()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Get the command line used to start this process
getCommandTypeName(int)
- Static method in class rescuecore.
Handy
Translate a command type into a human-readable string
getDamage()
- Method in class rescuecore.objects.
Humanoid
getData()
- Method in class rescuecore.
Command
Get the data of this command
getData()
- Method in class rescuecore.
LongUDPFragment
Get the body of this fragment
getData()
- Method in class rescuecore.
LongUDPMessage
Get the body of this message
getDataInput()
- Method in class rescuecore.
Command
Get the data of this command as a DataInput
getDirection()
- Method in class rescuecore.objects.
Humanoid
getDistance(RescueObject, RescueObject)
- Method in class rescuecore.
Memory
Get the Euclidean distance between two objects
getEdges()
- Method in class rescuecore.objects.
Node
getEdges()
- Method in class rescuecore.objects.
RiverNode
getEntrances()
- Method in class rescuecore.objects.
Building
getFieryness()
- Method in class rescuecore.objects.
Building
getFlag(int)
- Method in class rescuecore.
Args
getFlagCount()
- Method in class rescuecore.
Args
getFloors()
- Method in class rescuecore.objects.
Building
getFreeLinesToHead()
- Method in class rescuecore.objects.
Road
getFreeLinesToTail()
- Method in class rescuecore.objects.
Road
getGroundArea()
- Method in class rescuecore.objects.
Building
getHP()
- Method in class rescuecore.objects.
Humanoid
getHead()
- Method in class rescuecore.objects.
River
getHead()
- Method in class rescuecore.objects.
Road
getHeight()
- Method in class rescuecore.
Memory
Get the height of the world
getHeight()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get the height of the map.
getHumansPassToHead()
- Method in class rescuecore.objects.
Road
getHumansPassToTail()
- Method in class rescuecore.objects.
Road
getID()
- Method in class rescuecore.
Agent
Get this agent's unique id, assigned by the kernel
getID()
- Method in class rescuecore.
LongUDPFragment
Get the message id of this fragment
getID()
- Method in class rescuecore.
RescueObject
Get this objects id
getInDegree(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Gets the indegree of a node.
getIntArrayValue()
- Method in class rescuecore.
Property
Get the value of this property as an integer array.
getIntValue()
- Method in class rescuecore.
Property
Get the value of this property as an integer.
getInternalType()
- Method in class rescuecore.
RescueObject
Get this objects internal type
getKernelType()
- Method in class rescuecore.
Command
Get the type of this command, as the rescue simulation kernel sees it
getLastPropertyUpdate(int)
- Method in class rescuecore.
RescueObject
Get the last time a property was updated
getLastUpdate()
- Method in class rescuecore.
Property
Get the last time this property was updated
getLatitude()
- Method in class rescuecore.objects.
World
getLeftChild()
- Method in class rescuecore.tools.mapgenerator.
PairNode
getLength()
- Method in class rescuecore.objects.
River
getLength()
- Method in class rescuecore.objects.
Road
getLinesToHead()
- Method in class rescuecore.objects.
Road
getLinesToTail()
- Method in class rescuecore.objects.
Road
getLocation()
- Method in class rescuecore.
PlatoonAgent
Get this agent's current position as a RescueObject
getLongitude()
- Method in class rescuecore.objects.
World
getMaxReceive()
- Method in class rescuecore.
Agent
How many messages can this agent receive per timestep?
getMaxSend()
- Method in class rescuecore.
Agent
How many messages can this agent send per timestep?
getMemory()
- Method in class rescuecore.
Agent
Get this agents Memory
getMemory()
- Method in class rescuecore.debug.
ReplayableMemory
getMemory(int)
- Method in class rescuecore.log.
Log
getName()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Get the name of this process
getNeighbours(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get a list of neighbours of a node.
getNextSibling()
- Method in class rescuecore.tools.mapgenerator.
PairNode
getNodeCount()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get the number of nodes in this map.
getNumber()
- Method in class rescuecore.
LongUDPFragment
Get the sequence number of this fragment
getObjectsOfInternalType(int)
- Method in class rescuecore.
ArrayMemory
getObjectsOfInternalType(int)
- Method in class rescuecore.
HashMemory
getObjectsOfInternalType(int)
- Method in class rescuecore.
Memory
Get all objects of a particular internal type
getObjectsOfType(int)
- Method in class rescuecore.
ArrayMemory
getObjectsOfType(int)
- Method in class rescuecore.
HashMemory
getObjectsOfType(int)
- Method in class rescuecore.
Memory
Get all objects of a particular type
getOther(int)
- Method in class rescuecore.
Args
getOtherCount()
- Method in class rescuecore.
Args
getOutDegree(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Gets the outdegree of a node.
getPocketToTurnAcross()
- Method in class rescuecore.objects.
Node
getPosition()
- Method in class rescuecore.
PlatoonAgent
Get this agent's current position
getPosition()
- Method in class rescuecore.objects.
Humanoid
getPositionExtra()
- Method in class rescuecore.objects.
Humanoid
getPositionHistory()
- Method in class rescuecore.objects.
Humanoid
getPreferredSize()
- Method in class rescuecore.view.
Map
getPrev()
- Method in class rescuecore.tools.mapgenerator.
PairNode
getPriority()
- Method in class rescuecore.tools.mapgenerator.
PairNode
getProcesses()
- Method in class rescuecore.tools.simulationrunner.
ConfigFile
getPropertiesString()
- Method in class rescuecore.
RescueObject
Get a String representation of all this object's properties
getProperty(int)
- Method in class rescuecore.
RescueObject
getPropertyAsBoolean(int)
- Method in class rescuecore.
RescueObject
getPropertyAsInt(int)
- Method in class rescuecore.
RescueObject
getPropertyAsIntArray(int)
- Method in class rescuecore.
RescueObject
getPropertyAsString(int)
- Method in class rescuecore.
RescueObject
getPropertyName(int)
- Static method in class rescuecore.
Handy
Translate a property name into a human-readable string
getPropertyType()
- Method in class rescuecore.
Property
Get the type of this property
getRepairCost()
- Method in class rescuecore.objects.
Road
getRoad(int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Gets the size of the road between two nodes.
getRoadKind()
- Method in class rescuecore.objects.
Road
getRoads()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get a list of roads in the underlying graph.
getShortcutToTurn()
- Method in class rescuecore.objects.
Node
getSignalTiming()
- Method in class rescuecore.objects.
Node
getStamina()
- Method in class rescuecore.objects.
Humanoid
getStartTime()
- Method in class rescuecore.objects.
World
getStartedFlag()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Get the string that delimits successful initialisation of this process
getStretchedLength()
- Method in class rescuecore.objects.
FireBrigade
getStringValue()
- Method in class rescuecore.
Property
Get the value of this property as a string
getTail()
- Method in class rescuecore.objects.
River
getTail()
- Method in class rescuecore.objects.
Road
getTotal()
- Method in class rescuecore.
LongUDPFragment
Get the total number of fragments in this fragment's message
getTotalArea()
- Method in class rescuecore.objects.
Building
getType()
- Method in class rescuecore.
Agent
Get the type of RescueObject that this agent represents
getType()
- Method in class rescuecore.
Command
Get the type of this command
getType()
- Method in class rescuecore.
RescueObject
Get this objects type
getTypeName(int)
- Static method in class rescuecore.
Handy
Translate a type name into a human-readable string
getUnderlyingNeighbours(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get a list of neighbours of a node in the underlying graph.
getValue(String)
- Method in class rescuecore.
Args
getValue()
- Method in class rescuecore.tools.mapgenerator.
PairNode
getValueType()
- Method in class rescuecore.
Property
Get the data type of this property
getWaterQuantity()
- Method in class rescuecore.objects.
FireBrigade
getWidth()
- Method in class rescuecore.
Memory
Get the width of the world
getWidth()
- Method in class rescuecore.objects.
Road
getWidth()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get the width of the map.
getWidthForWalkers()
- Method in class rescuecore.objects.
Road
getWindDirection()
- Method in class rescuecore.objects.
World
getWindForce()
- Method in class rescuecore.objects.
World
getX()
- Method in class rescuecore.objects.
Building
getX()
- Method in class rescuecore.objects.
Node
getX()
- Method in class rescuecore.objects.
RiverNode
getX(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get the x coordinate of a node.
getXY(RescueObject)
- Method in class rescuecore.
Memory
Get the X and Y coordinates of an object
getXs()
- Method in class rescuecore.view.
ConvexHull
getY()
- Method in class rescuecore.objects.
Building
getY()
- Method in class rescuecore.objects.
Node
getY()
- Method in class rescuecore.objects.
RiverNode
getY(int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Get the y coordinate of a node.
getYs()
- Method in class rescuecore.view.
ConvexHull
H
HEADER_NULL
- Static variable in interface rescuecore.
RescueConstants
HEATING_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Handy
- class rescuecore.
Handy
.
A collection of useful methods
HashMemory
- class rescuecore.
HashMemory
.
This is an implementation of Memory that stores the data in a hashtable
HashMemory()
- Constructor for class rescuecore.
HashMemory
Construct a new empty memory
Humanoid
- class rescuecore.objects.
Humanoid
.
Base class for all humanoid objects (civilians, fire brigades, cars etc)
Humanoid(int)
- Constructor for class rescuecore.objects.
Humanoid
HumanoidRenderer
- class rescuecore.view.
HumanoidRenderer
.
HumanoidRenderer()
- Constructor for class rescuecore.view.
HumanoidRenderer
handleHear(int, byte[])
- Method in class rescuecore.
Agent
Handle a KA_HEAR message
handleSense(DataInput, int)
- Method in class rescuecore.
Agent
Handle a KA_SENSE message
hasBlockedLines()
- Method in class rescuecore.objects.
Road
hasFreeLines()
- Method in class rescuecore.objects.
Road
hasMedian()
- Method in class rescuecore.objects.
Road
hasSignal()
- Method in class rescuecore.objects.
Node
hashCode()
- Method in class rescuecore.
RescueObject
hear(int, byte[])
- Method in class rescuecore.
Agent
Called after a KA_HEAR is received
hear(int, byte[])
- Method in class rescuecore.
DummyAgent
hear(int, byte[])
- Method in class rescuecore.sample.
SampleAmbulanceTeam
hear(int, byte[])
- Method in class rescuecore.sample.
SampleCenter
hear(int, byte[])
- Method in class rescuecore.sample.
SampleFireBrigade
hear(int, byte[])
- Method in class rescuecore.sample.
SamplePoliceForce
hex(byte)
- Static method in class rescuecore.
Handy
Turn a byte into a hexadecimal String
I
INFERNO_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
INTERNAL_TYPE_AMBULANCE_CENTER
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_AMBULANCE_TEAM
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_ANY_BUILDING
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_ANY_HUMANOID
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_ANY_PLATOON
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_BUILDING
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_CAR
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_CIVILIAN
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_FIRE_BRIGADE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_FIRE_STATION
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_NODE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_POLICE_FORCE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_POLICE_OFFICE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_REFUGE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_RIVER
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_RIVER_NODE
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_ROAD
- Static variable in interface rescuecore.
RescueConstants
INTERNAL_TYPE_WORLD
- Static variable in interface rescuecore.
RescueConstants
INT_SIZE
- Static variable in interface rescuecore.
RescueConstants
InvalidLogException
- exception rescuecore.log.
InvalidLogException
.
InvalidLogException()
- Constructor for class rescuecore.log.
InvalidLogException
InvalidLogException(String)
- Constructor for class rescuecore.log.
InvalidLogException
id
- Variable in class rescuecore.
Agent
id
- Variable in class rescuecore.
RescueObject
The kernel-assigned id
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.
Agent
Initialise this agent
initialise()
- Static method in class rescuecore.debug.
AgentDebug
initialise(String)
- Static method in class rescuecore.debug.
AgentDebug
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleAmbulanceTeam
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleCenter
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleFireBrigade
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SamplePoliceForce
insert(int, int)
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Insert into the priority queue.
intersects(int, int, int, int, int[][])
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Finds if an intersection of a line with a polygon exists.
isAlive()
- Method in class rescuecore.objects.
Humanoid
isAmbulanceCenter()
- Method in class rescuecore.
RescueObject
Is this object an ambulance center?
isAmbulanceTeam()
- Method in class rescuecore.
RescueObject
Is this object an ambulance team?
isBlocked()
- Method in class rescuecore.objects.
Road
isBuilding()
- Method in class rescuecore.
RescueObject
Is this object a building?
isBuried()
- Method in class rescuecore.objects.
Humanoid
isBurntOut()
- Method in class rescuecore.objects.
Building
isCivilian()
- Method in class rescuecore.
RescueObject
Is this object a civilian?
isDamaged()
- Method in class rescuecore.objects.
Humanoid
isDifferent(int[], int[])
- Static method in class rescuecore.
Handy
Find out if two int arrays are different.
isEmpty()
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Test if the priority queue is logically empty.
isExtinguished()
- Method in class rescuecore.objects.
Building
isFireBrigade()
- Method in class rescuecore.
RescueObject
Is this object a fire brigade?
isFireStation()
- Method in class rescuecore.
RescueObject
Is this object a fire station?
isFlagSet(char)
- Method in class rescuecore.
Args
isHumanoid()
- Method in class rescuecore.
RescueObject
Is this object a humanoid?
isHurt()
- Method in class rescuecore.objects.
Humanoid
isIgnited()
- Method in class rescuecore.objects.
Building
isLeft(int, int, int, int, int, int)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Whether a point is left of a directed line.
isNode()
- Method in class rescuecore.
RescueObject
Is this object a node?
isOlderThan(int)
- Method in class rescuecore.
Property
Find out whether this property was last updated before a certain time
isOnFire()
- Method in class rescuecore.objects.
Building
isPoliceForce()
- Method in class rescuecore.
RescueObject
Is this object a police force?
isPoliceOffice()
- Method in class rescuecore.
RescueObject
Is this object a police office?
isPropertyValueKnown(int)
- Method in class rescuecore.
RescueObject
Is the value of a particular property known or assumed?
isRefuge()
- Method in class rescuecore.
RescueObject
Is this object a refuge?
isRoad()
- Method in class rescuecore.
RescueObject
Is this object a road?
isRunning()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Find out whether this process is running or not
isUnburnt()
- Method in class rescuecore.objects.
Building
isValueKnown()
- Method in class rescuecore.
Property
Find out whether the value of this property is known or assumed
isValueSet(String)
- Method in class rescuecore.
Args
K
KA_CONNECT_ERROR
- Static variable in interface rescuecore.
RescueConstants
KA_CONNECT_OK
- Static variable in interface rescuecore.
RescueConstants
KA_HEAR
- Static variable in interface rescuecore.
RescueConstants
KA_SENSE
- Static variable in interface rescuecore.
RescueConstants
KG_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
KG_CONNECT
- Static variable in interface rescuecore.
RescueConstants
KG_UPDATE
- Static variable in interface rescuecore.
RescueConstants
KS_COMMANDS
- Static variable in interface rescuecore.
RescueConstants
KS_CONNECT_ERROR
- Static variable in interface rescuecore.
RescueConstants
KS_CONNECT_OK
- Static variable in interface rescuecore.
RescueConstants
KS_UPDATE
- Static variable in interface rescuecore.
RescueConstants
KV_CONNECT_ERROR
- Static variable in interface rescuecore.
RescueConstants
KV_CONNECT_OK
- Static variable in interface rescuecore.
RescueConstants
KV_UPDATE
- Static variable in interface rescuecore.
RescueConstants
kill()
- Method in class rescuecore.tools.simulationrunner.
LogReader
Shut down this LogReader
L
LINE_MODE_DASH
- Static variable in class rescuecore.view.
RenderTools
LINE_MODE_DOT
- Static variable in class rescuecore.view.
RenderTools
LINE_MODE_DOT_DASH
- Static variable in class rescuecore.view.
RenderTools
LINE_MODE_SOLID
- Static variable in class rescuecore.view.
RenderTools
Layer
- class rescuecore.view.
Layer
.
This class represents a layer of information to be displayed on a map of the world.
Layer(Memory, String)
- Constructor for class rescuecore.view.
Layer
Log
- class rescuecore.log.
Log
.
LogReader
- class rescuecore.tools.simulationrunner.
LogReader
.
LogReader(InputStream, OutputStream)
- Constructor for class rescuecore.tools.simulationrunner.
LogReader
Generate a new LogReader that reads from the given InputStream and writes to the given OutputStream
LogReader(InputStream)
- Constructor for class rescuecore.tools.simulationrunner.
LogReader
Generate a new LogReader that reads from the given InputStream
LongUDPFragment
- class rescuecore.
LongUDPFragment
.
This is a piece of a LongUDPMessage
LongUDPFragment(int, int, int, byte[])
- Constructor for class rescuecore.
LongUDPFragment
Generate a new LongUDPFragment ready for sending
LongUDPFragment(byte[])
- Constructor for class rescuecore.
LongUDPFragment
Generate a new LongUDPFragment from some data sent by the kernal
LongUDPMessage
- class rescuecore.
LongUDPMessage
.
This class encapsulates a long UDP message, as defined by the robocup rescue manual version 0.4
LongUDPMessage(byte[])
- Constructor for class rescuecore.
LongUDPMessage
Construct a new LongUDPMessage containing the given data
LongUDPSocket
- class rescuecore.
LongUDPSocket
.
The LongUDPSocket class encapsulates the sending and receiving of LongUDPMessages to and from the kernal.
LongUDPSocket()
- Constructor for class rescuecore.
LongUDPSocket
Generate a new LongUDPSocket
load(Humanoid)
- Method in class rescuecore.
PlatoonAgent
Append a load command
log(String)
- Method in class rescuecore.
Agent
Log a message - the message will be prepended with "Agent
:
:"
logMemory(Agent)
- Static method in class rescuecore.debug.
AgentDebug
lookup(int)
- Method in class rescuecore.
ArrayMemory
lookup(int)
- Method in class rescuecore.
HashMemory
lookup(int)
- Method in class rescuecore.
Memory
Look up a RescueObject by id
M
MAX_CENTER_MESSAGES
- Static variable in interface rescuecore.
RescueConstants
MAX_EXTINGUISH_DISTANCE
- Static variable in interface rescuecore.
RescueConstants
MAX_EXTINGUISH_POWER
- Static variable in interface rescuecore.
RescueConstants
MAX_HP
- Static variable in interface rescuecore.
RescueConstants
MAX_PLATOON_MESSAGES
- Static variable in interface rescuecore.
RescueConstants
MAX_RESCUE_DISTANCE
- Static variable in interface rescuecore.
RescueConstants
MAX_WATER
- Static variable in interface rescuecore.
RescueConstants
MODE_CLASS
- Static variable in class rescuecore.
FilterMemoryListener
MODE_INTERNAL_TYPE
- Static variable in class rescuecore.
FilterMemoryListener
MODE_TYPE
- Static variable in class rescuecore.
FilterMemoryListener
Map
- class rescuecore.view.
Map
.
This class represents a view of the world.
Map(Memory)
- Constructor for class rescuecore.view.
Map
MapGenerator
- class rescuecore.tools.mapgenerator.
MapGenerator
.
The main class of the mapgenerator package.
MapGenerator()
- Constructor for class rescuecore.tools.mapgenerator.
MapGenerator
MapRenderer
- interface rescuecore.view.
MapRenderer
.
Memory
- class rescuecore.
Memory
.
This class holds an agents view of the world
Memory()
- Constructor for class rescuecore.
Memory
Construct a new empty memory
MemoryListener
- interface rescuecore.
MemoryListener
.
This interface allows notification of adds/changes to the Memory
MemoryLog
- class rescuecore.debug.
MemoryLog
.
MemoryLog(Agent, String)
- Constructor for class rescuecore.debug.
MemoryLog
MemoryViewer
- class rescuecore.debug.
MemoryViewer
.
MemoryViewer(ReplayableMemory[])
- Constructor for class rescuecore.debug.
MemoryViewer
MutableInteger
- class rescuecore.
MutableInteger
.
A convenience class for allowing c-style passing of references to integers (kind of).
MutableInteger(int)
- Constructor for class rescuecore.
MutableInteger
main(String[])
- Static method in class rescuecore.
AgentSystem
Start a new AgentSystem and connect agents to the kernel
main(String[])
- Static method in class rescuecore.debug.
MemoryViewer
main(String[])
- Static method in class rescuecore.tools.
RandomConfig
main(String[])
- Static method in class rescuecore.tools.
Score
main(String[])
- Static method in class rescuecore.tools.mapgenerator.
MapGenerator
Runs the program from the command line.
main(String[])
- Static method in class rescuecore.tools.mapgenerator.
PairHeap
main(String[])
- Static method in class rescuecore.tools.simulationrunner.
StartSimulation
main(String[])
- Static method in class rescuecore.view.
TestMap
make(int)
- Static method in class rescuecore.
Property
Generate a new Property of a particular type
makeEmpty()
- Method in class rescuecore.tools.mapgenerator.
PairHeap
Make the priority queue logically empty.
makeEntrance(RescueMap, int[])
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Splits a road to make a new entrance node.
memory
- Variable in class rescuecore.
Agent
memory
- Variable in class rescuecore.view.
Layer
move(int[])
- Method in class rescuecore.
PlatoonAgent
Append a move command
moveToTime(int)
- Method in class rescuecore.debug.
ReplayableMemory
N
NO_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Node
- class rescuecore.objects.
Node
.
Encapsulation of a TYPE_NODE object
Node(int, int)
- Constructor for class rescuecore.objects.
Node
Node()
- Constructor for class rescuecore.objects.
Node
NodeRenderer
- class rescuecore.view.
NodeRenderer
.
NodeRenderer()
- Constructor for class rescuecore.view.
NodeRenderer
nearestPoint(RescueMap, int, int, int, int)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Gets the closest point on a road to a given point.
O
objectAdded(RescueObject, int)
- Method in class rescuecore.
FilterMemoryListener
objectAdded(RescueObject, int)
- Method in interface rescuecore.
MemoryListener
Notification that an object has been added to the memory
objectAdded(RescueObject, int)
- Method in class rescuecore.debug.
MemoryLog
objectChanged(RescueObject, int, int)
- Method in class rescuecore.
FilterMemoryListener
objectChanged(RescueObject, int, int)
- Method in interface rescuecore.
MemoryListener
Notification that an object in the memory has been changed
objectChanged(RescueObject, int, int)
- Method in class rescuecore.debug.
MemoryLog
objects
- Variable in class rescuecore.view.
Layer
ordinaryBuildingRenderer()
- Static method in class rescuecore.view.
BuildingRenderer
ordinaryConvexHullRenderer()
- Static method in class rescuecore.view.
ConvexHullRenderer
ordinaryHumanoidRenderer()
- Static method in class rescuecore.view.
HumanoidRenderer
ordinaryNodeRenderer()
- Static method in class rescuecore.view.
NodeRenderer
ordinaryRoadRenderer()
- Static method in class rescuecore.view.
RoadRenderer
outlinedBuildingRenderer(int, Color)
- Static method in class rescuecore.view.
BuildingRenderer
outlinedHumanoidRenderer(int, Color)
- Static method in class rescuecore.view.
HumanoidRenderer
outlinedNodeRenderer(int, Color)
- Static method in class rescuecore.view.
NodeRenderer
outlinedRoadRenderer(int, Color)
- Static method in class rescuecore.view.
RoadRenderer
P
PARTIALLY_BLOCKED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
PATH_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
POLICE_FORCE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
POLICE_OFFICE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
PRIMARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
PROPERTY_BLOCK
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BROKENNESS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_APEXES
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_AREA_GROUND
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_AREA_TOTAL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_ATTRIBUTES
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_CODE
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BUILDING_SHAPE_ID
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_BURIEDNESS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_CARS_PASS_TO_HEAD
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_CARS_PASS_TO_TAIL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_DAMAGE
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_DIRECTION
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_EDGES
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_ENTRANCES
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_FIERYNESS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_FLOORS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_HEAD
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_HP
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_HUMANS_PASS_TO_HEAD
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_HUMANS_PASS_TO_TAIL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_IGNITION
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_LATITUDE
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_LENGTH
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_LINES_TO_HEAD
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_LINES_TO_TAIL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_LONGITUDE
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_MAX
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_MEDIAN_STRIP
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_NULL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_POCKET_TO_TURN_ACROSS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_POSITION
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_POSITION_EXTRA
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_POSITION_HISTORY
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_REPAIR_COST
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_ROAD_KIND
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_SHORTCUT_TO_TURN
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_SIGNAL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_SIGNAL_TIMING
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_STAMINA
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_START_TIME
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_STRETCHED_LENGTH
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_TAIL
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_TYPE_BOOLEAN
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_TYPE_INT
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_TYPE_INT_ARRAY
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_WATER_QUANTITY
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_WIDTH
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_WIDTH_FOR_WALKERS
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_WIND_DIRECTION
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_WIND_FORCE
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_X
- Static variable in interface rescuecore.
RescueConstants
PROPERTY_Y
- Static variable in interface rescuecore.
RescueConstants
PairHeap
- class rescuecore.tools.mapgenerator.
PairHeap
.
PairHeap()
- Constructor for class rescuecore.tools.mapgenerator.
PairHeap
Construct the pairing heap.
PairNode
- class rescuecore.tools.mapgenerator.
PairNode
.
PairNode(int, int)
- Constructor for class rescuecore.tools.mapgenerator.
PairNode
Construct the PairNode.
PlatoonAgent
- class rescuecore.
PlatoonAgent
.
An abstract superclass for platoon agents (i.e fire brigade, police force, ambulance team).
PlatoonAgent(int)
- Constructor for class rescuecore.
PlatoonAgent
PoliceForce
- class rescuecore.objects.
PoliceForce
.
Encapsulation of a TYPE_POLICE_FORCE object
PoliceForce()
- Constructor for class rescuecore.objects.
PoliceForce
PoliceOffice
- class rescuecore.objects.
PoliceOffice
.
Encapsulation of a TYPE_POLICE_OFFICE object
PoliceOffice()
- Constructor for class rescuecore.objects.
PoliceOffice
ProcessHandler
- class rescuecore.tools.simulationrunner.
ProcessHandler
.
ProcessHandler(RescueProcess[], ProcessViewer)
- Constructor for class rescuecore.tools.simulationrunner.
ProcessHandler
Generate a new ProcessHandler
ProcessViewer
- class rescuecore.tools.simulationrunner.
ProcessViewer
.
ProcessViewer(RescueProcess[])
- Constructor for class rescuecore.tools.simulationrunner.
ProcessViewer
Generate a ProcessViewer that will view the given processes
Property
- class rescuecore.
Property
.
This class encapsulates information about an individual property within a RescueObject
PropertyListener
- interface rescuecore.
PropertyListener
.
This interface allows notification of changes to the properties of an object
paint(Graphics, int, int, ScreenTransform)
- Method in class rescuecore.view.
Layer
paintComponent(Graphics)
- Method in class rescuecore.view.
Map
pathExists(int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Checks whether a path exists between two nodes.
pickNodes(RescueMap, Random)
- Method in class rescuecore.tools.mapgenerator.
AntsRoadWeighter
printBytes(byte[])
- Static method in class rescuecore.
Handy
Print an array of bytes to System.out in a nice way
printBytes(String, byte[])
- Static method in class rescuecore.
Handy
Print an array of bytes to System.out in a nice way
printBytes(int, byte[], String)
- Static method in class rescuecore.
Handy
Print four bytes to System.out in a nice way
printCommand(Command)
- Static method in class rescuecore.
Handy
Write out the contents and description of a command - this is useful for debugging
printKA_CONNECT_OK(byte[])
- Static method in class rescuecore.
Handy
Write out the contents and description of a KA_CONNECT_OK command
printKA_SENSE(byte[])
- Static method in class rescuecore.
Handy
Write out the contents and description of a KA_SENSE command
printObject(int, byte[])
- Static method in class rescuecore.
Handy
Write out the contents of a RescueObject update with the relevant bytes
printProperty(int, byte[])
- Static method in class rescuecore.
Handy
Write out the contents of a property update with the relevant bytes
process(String[])
- Static method in class rescuecore.
Args
processStarted(int)
- Method in class rescuecore.tools.simulationrunner.
ProcessViewer
Notification that a process has started
processStarting(int)
- Method in class rescuecore.tools.simulationrunner.
ProcessViewer
Notification that a process is starting
processStopped(int)
- Method in class rescuecore.tools.simulationrunner.
ProcessViewer
Notification that a process has stopped
propertyChanged(RescueObject, int, int)
- Method in interface rescuecore.
PropertyListener
Notification that a property has been changed
propertyExists(int)
- Method in class rescuecore.
RescueObject
Get all property types known by this object
propertyExists(int)
- Method in class rescuecore.objects.
Building
propertyExists(int)
- Method in class rescuecore.objects.
FireBrigade
propertyExists(int)
- Method in class rescuecore.objects.
Humanoid
propertyExists(int)
- Method in class rescuecore.objects.
Node
propertyExists(int)
- Method in class rescuecore.objects.
River
propertyExists(int)
- Method in class rescuecore.objects.
RiverNode
propertyExists(int)
- Method in class rescuecore.objects.
Road
propertyExists(int)
- Method in class rescuecore.objects.
World
R
REFUGE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
RandomConfig
- class rescuecore.tools.
RandomConfig
.
This class will take a city data file and produce a random gisini.txt file for use on that city.
RandomConfig(String[])
- Constructor for class rescuecore.tools.
RandomConfig
Refuge
- class rescuecore.objects.
Refuge
.
Encapsulation of a TYPE_REFUGE object
Refuge()
- Constructor for class rescuecore.objects.
Refuge
RenderTools
- class rescuecore.view.
RenderTools
.
ReplayableMemory
- class rescuecore.debug.
ReplayableMemory
.
ReplayableMemory(String)
- Constructor for class rescuecore.debug.
ReplayableMemory
ReplayableMemory(File)
- Constructor for class rescuecore.debug.
ReplayableMemory
RescueConstants
- interface rescuecore.
RescueConstants
.
A whole pile of useful constants
RescueMap
- class rescuecore.tools.mapgenerator.
RescueMap
.
An internal representation of a city map used in Robocup Rescue simulation.
RescueMap(int, int, int)
- Constructor for class rescuecore.tools.mapgenerator.
RescueMap
Constructs new RescueMap.
RescueMapToolkit
- class rescuecore.tools.mapgenerator.
RescueMapToolkit
.
A toolkit class with useful methods for manipulating RescueMaps.
RescueMapToolkit()
- Constructor for class rescuecore.tools.mapgenerator.
RescueMapToolkit
RescueMessage
- class rescuecore.
RescueMessage
.
A RescueMessage is a package of Commands to be sent to the kernal
RescueMessage()
- Constructor for class rescuecore.
RescueMessage
RescueObject
- class rescuecore.
RescueObject
.
This is the base class for all objects in the simulation environment
RescueObject(int)
- Constructor for class rescuecore.
RescueObject
Construct a new RescueObject of a given type
RescueProcess
- class rescuecore.tools.simulationrunner.
RescueProcess
.
RescueProcess(String, String, String, String)
- Constructor for class rescuecore.tools.simulationrunner.
RescueProcess
Create a new RescueProcess
River
- class rescuecore.objects.
River
.
Encapsulation of a TYPE_RIVER object
River()
- Constructor for class rescuecore.objects.
River
RiverNode
- class rescuecore.objects.
RiverNode
.
Encapsulation of a TYPE_RIVER_NODE object
RiverNode()
- Constructor for class rescuecore.objects.
RiverNode
Road
- class rescuecore.objects.
Road
.
Encapsulation of a TYPE_ROAD object
Road()
- Constructor for class rescuecore.objects.
Road
RoadRenderer
- class rescuecore.view.
RoadRenderer
.
RoadRenderer()
- Constructor for class rescuecore.view.
RoadRenderer
RoadSetFactory
- class rescuecore.tools.mapgenerator.
RoadSetFactory
.
A class that provides a factory method for creating and setting up a RescueMap.
RoadSetFactory()
- Constructor for class rescuecore.tools.mapgenerator.
RoadSetFactory
RoadWeighter
- interface rescuecore.tools.mapgenerator.
RoadWeighter
.
Interface to classes that set the number of lanes of roads in a RescueMap.
randomise(RescueMap, int, int, int, boolean, Random)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Shifts some nodes in the map by random distances and removes a number of randomly selected roads.
receive(int)
- Method in class rescuecore.
LongUDPSocket
Fetch a LongUDPMessage from the receive queue.
registerAgent(Agent)
- Static method in class rescuecore.debug.
AgentDebug
remove(RescueObject)
- Method in class rescuecore.
ArrayMemory
remove(RescueObject)
- Method in class rescuecore.
HashMemory
remove(RescueObject)
- Method in class rescuecore.
Memory
Remove an object from the memory
removeAllObjects()
- Method in class rescuecore.view.
Layer
removeLayer(Layer)
- Method in class rescuecore.view.
Map
removeMemoryListener(MemoryListener)
- Method in class rescuecore.
Memory
Remove a MemoryListener
removeObject(Object)
- Method in class rescuecore.view.
Layer
removePropertyListener(PropertyListener)
- Method in class rescuecore.
RescueObject
Remove a PropertyListener
removeRenderer(Class)
- Method in class rescuecore.view.
Layer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
BuildingRenderer
render(Object, Graphics2D, ScreenTransform)
- Method in class rescuecore.view.
ConvexHullLayer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
ConvexHullRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
HumanoidRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in interface rescuecore.view.
MapRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
NodeRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
RoadRenderer
renderers
- Variable in class rescuecore.view.
Layer
rescue(Humanoid)
- Method in class rescuecore.
PlatoonAgent
Append a rescue command
rescuecore
- package rescuecore
rescuecore.debug
- package rescuecore.debug
rescuecore.log
- package rescuecore.log
rescuecore.objects
- package rescuecore.objects
rescuecore.sample
- package rescuecore.sample
rescuecore.tools
- package rescuecore.tools
rescuecore.tools.mapgenerator
- package rescuecore.tools.mapgenerator
rescuecore.tools.simulationrunner
- package rescuecore.tools.simulationrunner
rescuecore.view
- package rescuecore.view
rotate(RescueMap, double)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Rotate all nodes of a RescueMap.
run()
- Method in class rescuecore.tools.simulationrunner.
LogReader
runAll()
- Method in class rescuecore.tools.simulationrunner.
ProcessHandler
Start all the processes and wait for them to finish
S
SAY_LENGTH
- Static variable in interface rescuecore.
RescueConstants
SECONDARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
SHORT_SIZE
- Static variable in interface rescuecore.
RescueConstants
SK_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
SK_CONNECT
- Static variable in interface rescuecore.
RescueConstants
SK_UPDATE
- Static variable in interface rescuecore.
RescueConstants
SampleAmbulanceTeam
- class rescuecore.sample.
SampleAmbulanceTeam
.
This is a sample implementation of an ambulance team.
SampleAmbulanceTeam()
- Constructor for class rescuecore.sample.
SampleAmbulanceTeam
Construct a new SampleAmbulanceTeam
SampleCenter
- class rescuecore.sample.
SampleCenter
.
This is a sample implementation of a center agent.
SampleCenter()
- Constructor for class rescuecore.sample.
SampleCenter
Construct a new SampleCenter
SampleFireBrigade
- class rescuecore.sample.
SampleFireBrigade
.
This is a sample implementation of a fire brigade.
SampleFireBrigade()
- Constructor for class rescuecore.sample.
SampleFireBrigade
Construct a new SampleFireBrigade
SamplePoliceForce
- class rescuecore.sample.
SamplePoliceForce
.
This is a sample implementation of a police force.
SamplePoliceForce()
- Constructor for class rescuecore.sample.
SamplePoliceForce
Construct a new SamplePoliceForce
SampleSearch
- class rescuecore.sample.
SampleSearch
.
SampleSearch()
- Constructor for class rescuecore.sample.
SampleSearch
Score
- class rescuecore.tools.
Score
.
This class will calculate the score of a particular log file
Score()
- Constructor for class rescuecore.tools.
Score
ScreenTransform
- class rescuecore.view.
ScreenTransform
.
ScreenTransform(int, int, int, int, int, int)
- Constructor for class rescuecore.view.
ScreenTransform
StartSimulation
- class rescuecore.tools.simulationrunner.
StartSimulation
.
say(byte[])
- Method in class rescuecore.
Agent
Send an AK_SAY message to the kernel.
send(LongUDPMessage, InetAddress, int)
- Method in class rescuecore.
LongUDPSocket
Send a message
sendMessage(RescueMessage)
- Method in class rescuecore.
AgentSystem
Send a message to the kernel
sense()
- Method in class rescuecore.
Agent
Called after a KA_SENSE is received
sense()
- Method in class rescuecore.
DummyAgent
sense()
- Method in class rescuecore.sample.
SampleAmbulanceTeam
sense()
- Method in class rescuecore.sample.
SampleCenter
sense()
- Method in class rescuecore.sample.
SampleFireBrigade
sense()
- Method in class rescuecore.sample.
SamplePoliceForce
setBlock(int, int)
- Method in class rescuecore.objects.
Road
setBuriedness(int, int)
- Method in class rescuecore.objects.
Humanoid
setDamage(int, int)
- Method in class rescuecore.objects.
Humanoid
setFieryness(int, int)
- Method in class rescuecore.objects.
Building
setFillMode(Graphics, int, Color)
- Static method in class rescuecore.view.
RenderTools
setHP(int, int)
- Method in class rescuecore.objects.
Humanoid
setLeftChild(PairNode)
- Method in class rescuecore.tools.mapgenerator.
PairNode
setLineMode(Graphics, int, Color, int)
- Static method in class rescuecore.view.
RenderTools
setLineMode(Graphics, int, Color)
- Static method in class rescuecore.view.
RenderTools
setLineMode(Graphics, int)
- Static method in class rescuecore.view.
RenderTools
setLineMode(Graphics, int, int)
- Static method in class rescuecore.view.
RenderTools
setMemory(Memory)
- Method in class rescuecore.view.
Map
setNextSibling(PairNode)
- Method in class rescuecore.tools.mapgenerator.
PairNode
setObject(Object)
- Method in class rescuecore.view.
Layer
setObjects(Object[])
- Method in class rescuecore.view.
Layer
setObjects(Collection)
- Method in class rescuecore.view.
Layer
setPosition(int, int)
- Method in class rescuecore.objects.
Humanoid
setPrev(PairNode)
- Method in class rescuecore.tools.mapgenerator.
PairNode
setPriority(int)
- Method in class rescuecore.tools.mapgenerator.
PairNode
setRoad(int, int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Add, remove or resize a road between two nodes.
setValue(int, int)
- Method in class rescuecore.
Property
Set the integer value of this property.
setValue(int[], int)
- Method in class rescuecore.
Property
Set the integer array value of this property.
setValue(boolean, int)
- Method in class rescuecore.
Property
Set the boolean value of this property.
setX(int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Set the x coordinate of the node.
setY(int, int)
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Set the y coordinate of the node.
smoothRoads(RescueMap, int)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Rounds the corners of wide roads.
sortByDistance(List, RescueObject, Memory)
- Static method in class rescuecore.sample.
SampleSearch
Sort a list of RescueObjects by distance.
sortByDistance(RescueObject[], RescueObject, Memory)
- Static method in class rescuecore.sample.
SampleSearch
Sort an array of RescueObjects by distance.
split(int[][], int, int, int, int)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Splits a building across a line.
start()
- Method in class rescuecore.tools.simulationrunner.
LogReader
Start this LogReader
start(String, RescueProcess)
- Method in class rescuecore.tools.simulationrunner.
LogReader
Start this LogReader and wait for a particular String to appear in the output.
start()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Start this process and wait for the started flag to appear in the output.
stop()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
Stop the process
stopAll()
- Method in class rescuecore.tools.simulationrunner.
ProcessHandler
Stop all the processes
T
TARGET_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
TELL_LENGTH
- Static variable in interface rescuecore.
RescueConstants
TERTIARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
TOTALLY_BLOCKED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
TYPE_AMBULANCE_CENTER
- Static variable in interface rescuecore.
RescueConstants
TYPE_AMBULANCE_TEAM
- Static variable in interface rescuecore.
RescueConstants
TYPE_BUILDING
- Static variable in interface rescuecore.
RescueConstants
TYPE_CAR
- Static variable in interface rescuecore.
RescueConstants
TYPE_CIVILIAN
- Static variable in interface rescuecore.
RescueConstants
TYPE_FIRE_BRIGADE
- Static variable in interface rescuecore.
RescueConstants
TYPE_FIRE_STATION
- Static variable in interface rescuecore.
RescueConstants
TYPE_NODE
- Static variable in interface rescuecore.
RescueConstants
TYPE_NULL
- Static variable in interface rescuecore.
RescueConstants
TYPE_POLICE_FORCE
- Static variable in interface rescuecore.
RescueConstants
TYPE_POLICE_OFFICE
- Static variable in interface rescuecore.
RescueConstants
TYPE_REFUGE
- Static variable in interface rescuecore.
RescueConstants
TYPE_RIVER
- Static variable in interface rescuecore.
RescueConstants
TYPE_RIVER_NODE
- Static variable in interface rescuecore.
RescueConstants
TYPE_ROAD
- Static variable in interface rescuecore.
RescueConstants
TYPE_WORLD
- Static variable in interface rescuecore.
RescueConstants
TestMap
- class rescuecore.view.
TestMap
.
TestMap()
- Constructor for class rescuecore.view.
TestMap
tArea(int, int, long, int, int, long)
- Static method in class rescuecore.tools.mapgenerator.
RescueMapToolkit
Area of the triangle formed by two vectors.
tell(byte[])
- Method in class rescuecore.
Agent
Send an AK_TELL message to the kernel.
timeStep
- Variable in class rescuecore.
Agent
timestep(Agent, int)
- Static method in class rescuecore.debug.
AgentDebug
timestepStarted(int)
- Method in class rescuecore.debug.
MemoryLog
toByteArray()
- Method in class rescuecore.
LongUDPFragment
Turn this fragment into a byte array suitable for transmission to the kernal
toByteArray()
- Method in class rescuecore.
RescueMessage
Turn this RescueMessage into a raw byte array ready for wrapping in a LongUDPMessage
toFile()
- Method in class rescuecore.tools.mapgenerator.
RescueMap
Writes this RescueMap to three files - road.bin, building.bin and node.bin.
toLongString()
- Method in class rescuecore.
RescueObject
toScreenX(int)
- Method in class rescuecore.view.
ScreenTransform
toScreenY(int)
- Method in class rescuecore.view.
ScreenTransform
toString()
- Method in class rescuecore.
Agent
toString()
- Method in class rescuecore.
Command
toString()
- Method in class rescuecore.
LongUDPFragment
toString()
- Method in class rescuecore.
Property
toString()
- Method in class rescuecore.
RescueMessage
toString()
- Method in class rescuecore.
RescueObject
toString()
- Method in class rescuecore.tools.simulationrunner.
RescueProcess
type
- Variable in class rescuecore.
Agent
typeToInternalType(int)
- Static method in class rescuecore.
RescueObject
Convert a robocup rescue type into an internal, bitwise type
U
UNBLOCKED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
UnknownPropertyException
- exception rescuecore.
UnknownPropertyException
.
An exception to be thrown whenever an object encounters an unknown property
UnknownPropertyException(int)
- Constructor for class rescuecore.
UnknownPropertyException
Construct a new exception based on the given unknown property
UnknownPropertyException(int, int)
- Constructor for class rescuecore.
UnknownPropertyException
Construct a new exception based on the given unknown property
UnknownPropertyException(String)
- Constructor for class rescuecore.
UnknownPropertyException
Construct a new exception with a given error message
UnknownTypeException
- exception rescuecore.
UnknownTypeException
.
An exception to be thrown whenever we encounter an unknown type of object
UnknownTypeException(int)
- Constructor for class rescuecore.
UnknownTypeException
Construct a new exception based on the given unknown type
UnknownTypeException(int, int)
- Constructor for class rescuecore.
UnknownTypeException
Construct a new exception based on the given unknown type
UnknownTypeException(String)
- Constructor for class rescuecore.
UnknownTypeException
Construct a new exception with a given error message
unload()
- Method in class rescuecore.
PlatoonAgent
Append an unload command
update(DataInput, int)
- Method in class rescuecore.
Memory
Update our memory from an Objects structure
update(DataInput, int)
- Method in class rescuecore.
RescueObject
Update properties of this object using Objects data from a buffer
updateFromKA_SENSE(byte[], MutableInteger, int)
- Method in class rescuecore.
Memory
Deprecated.
Replaced by @{link update(DataInput, int)}
updateFromKS_UPDATE(byte[], MutableInteger, int)
- Method in class rescuecore.
Memory
Deprecated.
Replaced by @{link update(DataInput, int)}
updateProperty(int, int, int)
- Method in class rescuecore.
RescueObject
Update the value of a property
updateProperty(int, int, int[])
- Method in class rescuecore.
RescueObject
Update the value of a property
updateProperty(int, int, boolean)
- Method in class rescuecore.
RescueObject
Update the value of a property
V
VK_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
VK_CONNECT
- Static variable in interface rescuecore.
RescueConstants
ViewConstants
- interface rescuecore.view.
ViewConstants
.
value
- Variable in class rescuecore.
MutableInteger
W
World
- class rescuecore.objects.
World
.
Encapsulation of a TYPE_WORLD object
World()
- Constructor for class rescuecore.objects.
World
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes