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
add(RescueObject, int)
- Method in class rescuecore.
HashMemory
add(RescueObject, int)
- Method in class rescuecore.
ArrayMemory
add(RescueObject, int)
- Method in class rescuecore.
Memory
Add a new object
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
addObject(Object)
- Method in class rescuecore.view.
Layer
addObjects(Collection)
- Method in class rescuecore.view.
Layer
addObjects(Object[])
- Method in class rescuecore.view.
Layer
addPropertyListener(PropertyListener)
- Method in class rescuecore.
RescueObject
Add a PropertyListener
addRenderer(Class, MapRenderer)
- Method in class rescuecore.view.
Layer
Agent
- class rescuecore.
Agent
.
This is the base class for all agents.
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
Agent(int)
- Constructor for class rescuecore.
Agent
Create a new agent of a particular type.
AgentDebug
- class rescuecore.debug.
AgentDebug
.
agentSystem
- Variable in class rescuecore.
Agent
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
agentType
- Variable in class rescuecore.
Agent
AK_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
AK_ACKNOWLEDGE(int)
- Static method in class rescuecore.
Command
Create an AK_ACKNOWLEDGE message
AK_CLEAR
- Static variable in interface rescuecore.
RescueConstants
AK_CLEAR(int, int)
- Static method in class rescuecore.
Command
Create an AK_CLEAR message
AK_CONNECT
- Static variable in interface rescuecore.
RescueConstants
AK_CONNECT(int, int, int)
- Static method in class rescuecore.
Command
Create an AK_CONNECT message
AK_EXTINGUISH
- 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_LOAD
- Static variable in interface rescuecore.
RescueConstants
AK_LOAD(int, int)
- Static method in class rescuecore.
Command
Create an AK_LOAD message
AK_MOVE
- Static variable in interface rescuecore.
RescueConstants
AK_MOVE(int, int[])
- Static method in class rescuecore.
Command
Create an AK_MOVE message
AK_RESCUE
- Static variable in interface rescuecore.
RescueConstants
AK_RESCUE(int, int)
- Static method in class rescuecore.
Command
Create an AK_RESCUE message
AK_REST
- Static variable in interface rescuecore.
RescueConstants
AK_SAY
- Static variable in interface rescuecore.
RescueConstants
AK_SAY(int, byte[])
- Static method in class rescuecore.
Command
Create an AK_SAY message
AK_TELL
- Static variable in interface rescuecore.
RescueConstants
AK_TELL(int, byte[])
- Static method in class rescuecore.
Command
Create an AK_TELL message
AK_UNLOAD
- Static variable in interface rescuecore.
RescueConstants
AK_UNLOAD(int)
- Static method in class rescuecore.
Command
Create an AK_UNLOAD message
AMBULANCE_CENTER_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
AMBULANCE_TEAM_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
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
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.
Args
- class rescuecore.
Args
.
arrayAsString(int[])
- Static method in class rescuecore.
Handy
Turn an array of integers into a String containing a comma-seperated list of numbers
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
B
BACKGROUND_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BAD_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
breadthFirstSearch(RescueObject, RescueObject, Memory)
- Static method in class rescuecore.sample.
SampleSearch
Do a breadth first search from one location to another
Building
- class rescuecore.objects.
Building
.
Encapsulation of a TYPE_BUILDING object
BUILDING_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Building()
- Constructor for class rescuecore.objects.
Building
Building(int)
- Constructor for class rescuecore.objects.
Building
BuildingRenderer
- class rescuecore.view.
BuildingRenderer
.
BuildingRenderer()
- Constructor for class rescuecore.view.
BuildingRenderer
BURNT_OUT_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
BYTE_SIZE
- Static variable in interface rescuecore.
RescueConstants
C
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.
ConvexHullLayer
canRender(Object)
- Method in class rescuecore.view.
ConvexHullRenderer
canRender(Object)
- Method in class rescuecore.view.
HumanoidRenderer
canRender(Object)
- Method in class rescuecore.view.
BuildingRenderer
canRender(Object)
- Method in class rescuecore.view.
NodeRenderer
canRender(Object)
- Method in class rescuecore.view.
RoadRenderer
canRender(Object)
- Method in interface rescuecore.view.
MapRenderer
Car
- class rescuecore.objects.
Car
.
Encapsulation of a TYPE_CAR object
CAR_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
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
CHUNK_SIZE
- Static variable in class rescuecore.
LongUDPMessage
Civilian
- class rescuecore.objects.
Civilian
.
Encapsulation of a TYPE_CIVILIAN object
CIVILIAN_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Civilian()
- Constructor for class rescuecore.objects.
Civilian
clear(Road)
- Method in class rescuecore.
PlatoonAgent
Append a clear command
close()
- Method in class rescuecore.debug.
MemoryLog
close()
- Static method in class rescuecore.debug.
AgentDebug
close()
- Method in class rescuecore.
LongUDPSocket
Close the socket
Command
- class rescuecore.
Command
.
This class encapsulates a command to the server.
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
Command(int, byte[])
- Constructor for class rescuecore.
Command
Construct a new Command
compareTo(Object)
- Method in class rescuecore.
LongUDPFragment
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
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
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
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
data
- Variable in class rescuecore.
HashMemory
data
- Variable in class rescuecore.
ArrayMemory
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
debug(Agent, int, String)
- Static method in class rescuecore.debug.
AgentDebug
debug(Agent, String)
- Static method in class rescuecore.debug.
AgentDebug
DebugConstants
- interface rescuecore.debug.
DebugConstants
.
decode(byte[], MutableInteger, int)
- Method in class rescuecore.
Property
Decode an update from the kernel.
decode(byte[], MutableInteger, 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(byte[], MutableInteger, 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
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
dirty()
- Method in class rescuecore.view.
Layer
DummyAgent
- class rescuecore.
DummyAgent
.
DummyAgent()
- Constructor for class rescuecore.
DummyAgent
E
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
EXTINGUISHED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
F
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
filledBuildingRenderer(int, Color)
- Static method in class rescuecore.view.
BuildingRenderer
FilterMemoryListener
- class rescuecore.
FilterMemoryListener
.
This class will filter which events get passed to a MemoryListener
finalize()
- Method in class rescuecore.debug.
MemoryLog
findBuildingNeighbours(Building)
- Method in class rescuecore.
Memory
Find the neighbours of a Building.
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.
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
FireBrigade
- class rescuecore.objects.
FireBrigade
.
Encapsulation of a TYPE_FIRE_BRIGADE object
FireBrigade()
- Constructor for class rescuecore.objects.
FireBrigade
firePropertyChanged(int, int)
- Method in class rescuecore.
RescueObject
FireStation
- class rescuecore.objects.
FireStation
.
Encapsulation of a TYPE_FIRE_STATION object
FireStation()
- Constructor for class rescuecore.objects.
FireStation
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
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.
HashMemory
getAllObjects()
- Method in class rescuecore.
ArrayMemory
getAllObjects()
- Method in class rescuecore.
Memory
Get all objects in memory
getAllObjectsAsCollection()
- Method in class rescuecore.
HashMemory
getAllObjectsAsCollection()
- Method in class rescuecore.
ArrayMemory
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
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.
LongUDPFragment
Get the body of this fragment
getData()
- Method in class rescuecore.
LongUDPMessage
Get the body of this message
getData()
- Method in class rescuecore.
Command
Get the data of this command
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.
RiverNode
getEdges()
- Method in class rescuecore.objects.
Node
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
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
getHP()
- Method in class rescuecore.objects.
Humanoid
getHumansPassToHead()
- Method in class rescuecore.objects.
Road
getHumansPassToTail()
- Method in class rescuecore.objects.
Road
getID()
- Method in class rescuecore.
LongUDPFragment
Get the message id of this fragment
getID()
- Method in class rescuecore.
RescueObject
Get this objects id
getID()
- Method in class rescuecore.
Agent
Get this agent's unique id, assigned by the kernel
getIntArrayValue()
- Method in class rescuecore.
Property
Get the value of this property as an integer array.
getInternalType()
- Method in class rescuecore.
RescueObject
Get this objects internal type
getIntValue()
- Method in class rescuecore.
Property
Get the value of this property as an integer.
getKernelType()
- Method in class rescuecore.
Command
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
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.debug.
ReplayableMemory
getMemory()
- Method in class rescuecore.
Agent
Get this agents Memory
getNumber()
- Method in class rescuecore.
LongUDPFragment
Get the sequence number of this fragment
getObjectsOfInternalType(int)
- Method in class rescuecore.
HashMemory
getObjectsOfInternalType(int)
- Method in class rescuecore.
ArrayMemory
getObjectsOfInternalType(int)
- Method in class rescuecore.
Memory
Get all objects of a particular internal type
getObjectsOfType(int)
- Method in class rescuecore.
HashMemory
getObjectsOfType(int)
- Method in class rescuecore.
ArrayMemory
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
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
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
getRoadKind()
- Method in class rescuecore.objects.
Road
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
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.
RescueObject
Get this objects type
getType()
- Method in class rescuecore.
Command
Get the type of this command
getType()
- Method in class rescuecore.
Agent
Get the type of RescueObject that this agent represents
getTypeName(int)
- Static method in class rescuecore.
Handy
Translate a type name into a human-readable string
getValue(String)
- Method in class rescuecore.
Args
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
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.
RiverNode
getX()
- Method in class rescuecore.objects.
Building
getX()
- Method in class rescuecore.objects.
Node
getXs()
- Method in class rescuecore.view.
ConvexHull
getXY(RescueObject)
- Method in class rescuecore.
Memory
Get the X and Y coordinates of an object
getY()
- Method in class rescuecore.objects.
RiverNode
getY()
- Method in class rescuecore.objects.
Building
getY()
- Method in class rescuecore.objects.
Node
getYs()
- Method in class rescuecore.view.
ConvexHull
GK_CONNECT_ERROR
- Static variable in interface rescuecore.
RescueConstants
GK_CONNECT_OK
- Static variable in interface rescuecore.
RescueConstants
H
handleHear(int, byte[])
- Method in class rescuecore.
Agent
Handle a KA_HEAR message
handleSense(byte[])
- Method in class rescuecore.
Agent
Handle a KA_SENSE message
Handy
- class rescuecore.
Handy
.
A collection of useful methods
hasBlockedLines()
- Method in class rescuecore.objects.
Road
hasFreeLines()
- Method in class rescuecore.objects.
Road
hashCode()
- Method in class rescuecore.
RescueObject
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
hasMedian()
- Method in class rescuecore.objects.
Road
hasSignal()
- Method in class rescuecore.objects.
Node
HEADER_NULL
- Static variable in interface rescuecore.
RescueConstants
hear(int, byte[])
- Method in class rescuecore.
DummyAgent
hear(int, byte[])
- Method in class rescuecore.
Agent
Called after a KA_HEAR is received
hear(int, byte[])
- Method in class rescuecore.sample.
SampleAmbulanceTeam
hear(int, byte[])
- Method in class rescuecore.sample.
SampleFireBrigade
hear(int, byte[])
- Method in class rescuecore.sample.
SamplePoliceForce
hear(int, byte[])
- Method in class rescuecore.sample.
SampleCenter
HEATING_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
hex(byte)
- Static method in class rescuecore.
Handy
Turn a byte into a hexadecimal String
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
I
id
- Variable in class rescuecore.
RescueObject
The kernel-assigned id
id
- Variable in class rescuecore.
Agent
INFERNO_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
initialise()
- Static method in class rescuecore.debug.
AgentDebug
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.
Agent
Initialise this agent
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleAmbulanceTeam
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleFireBrigade
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SamplePoliceForce
initialise(AgentSystem, int, RescueObject[], RescueObject)
- Method in class rescuecore.sample.
SampleCenter
initialise(String)
- Static method in class rescuecore.debug.
AgentDebug
INT_SIZE
- Static variable in interface rescuecore.
RescueConstants
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
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.
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
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?
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
L
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
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
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
LongUDPFragment
- class rescuecore.
LongUDPFragment
.
This is a piece of a LongUDPMessage
LongUDPFragment(byte[])
- Constructor for class rescuecore.
LongUDPFragment
Generate a new LongUDPFragment from some data sent by the kernal
LongUDPFragment(int, int, int, byte[])
- Constructor for class rescuecore.
LongUDPFragment
Generate a new LongUDPFragment ready for sending
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
lookup(int)
- Method in class rescuecore.
HashMemory
lookup(int)
- Method in class rescuecore.
ArrayMemory
lookup(int)
- Method in class rescuecore.
Memory
Look up a RescueObject by id
M
main(String[])
- Static method in class rescuecore.debug.
MemoryViewer
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.tools.
RandomConfig
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
Map
- class rescuecore.view.
Map
.
This class represents a view of the world.
Map(Memory)
- Constructor for class rescuecore.view.
Map
MapRenderer
- interface rescuecore.view.
MapRenderer
.
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_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
memory
- Variable in class rescuecore.
Agent
memory
- Variable in class rescuecore.view.
Layer
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
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
move(int[])
- Method in class rescuecore.
PlatoonAgent
Append a move command
moveToTime(int)
- Method in class rescuecore.debug.
ReplayableMemory
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
N
NO_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Node
- class rescuecore.objects.
Node
.
Encapsulation of a TYPE_NODE object
Node()
- Constructor for class rescuecore.objects.
Node
Node(int, int)
- Constructor for class rescuecore.objects.
Node
NodeRenderer
- class rescuecore.view.
NodeRenderer
.
NodeRenderer()
- Constructor for class rescuecore.view.
NodeRenderer
O
objectAdded(RescueObject, int)
- Method in class rescuecore.debug.
MemoryLog
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
objectChanged(RescueObject, int, 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
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
paint(Graphics, int, int, ScreenTransform)
- Method in class rescuecore.view.
Layer
paintComponent(Graphics)
- Method in class rescuecore.view.
Map
PARTIALLY_BLOCKED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
PATH_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
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
POLICE_FORCE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
POLICE_OFFICE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
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
PRIMARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
printBytes(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
printBytes(String, byte[])
- Static method in class rescuecore.
Handy
Print an array of 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
Property
- class rescuecore.
Property
.
This class encapsulates information about an individual property within a RescueObject
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
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.
FireBrigade
propertyExists(int)
- Method in class rescuecore.objects.
World
propertyExists(int)
- Method in class rescuecore.objects.
River
propertyExists(int)
- Method in class rescuecore.objects.
RiverNode
propertyExists(int)
- Method in class rescuecore.objects.
Humanoid
propertyExists(int)
- Method in class rescuecore.objects.
Building
propertyExists(int)
- Method in class rescuecore.objects.
Road
propertyExists(int)
- Method in class rescuecore.objects.
Node
PropertyListener
- interface rescuecore.
PropertyListener
.
This interface allows notification of changes to the properties of an object
R
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
receive(int)
- Method in class rescuecore.
LongUDPSocket
Fetch a LongUDPMessage from the receive queue.
Refuge
- class rescuecore.objects.
Refuge
.
Encapsulation of a TYPE_REFUGE object
REFUGE_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
Refuge()
- Constructor for class rescuecore.objects.
Refuge
registerAgent(Agent)
- Static method in class rescuecore.debug.
AgentDebug
remove(RescueObject)
- Method in class rescuecore.
HashMemory
remove(RescueObject)
- Method in class rescuecore.
ArrayMemory
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, 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 class rescuecore.view.
BuildingRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
NodeRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in class rescuecore.view.
RoadRenderer
render(Object, Memory, Graphics, ScreenTransform)
- Method in interface rescuecore.view.
MapRenderer
renderers
- Variable in class rescuecore.view.
Layer
RenderTools
- class rescuecore.view.
RenderTools
.
ReplayableMemory
- class rescuecore.debug.
ReplayableMemory
.
ReplayableMemory(File)
- Constructor for class rescuecore.debug.
ReplayableMemory
ReplayableMemory(String)
- Constructor for class rescuecore.debug.
ReplayableMemory
rescue(Humanoid)
- Method in class rescuecore.
PlatoonAgent
Append a rescue command
RescueConstants
- interface rescuecore.
RescueConstants
.
A whole pile of useful constants
rescuecore
- package rescuecore
rescuecore.debug
- package rescuecore.debug
rescuecore.objects
- package rescuecore.objects
rescuecore.sample
- package rescuecore.sample
rescuecore.tools
- package rescuecore.tools
rescuecore.view
- package rescuecore.view
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
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
S
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
SAY_LENGTH
- Static variable in interface rescuecore.
RescueConstants
say(byte[])
- Method in class rescuecore.
Agent
Send an AK_SAY message to the kernel.
ScreenTransform
- class rescuecore.view.
ScreenTransform
.
ScreenTransform(int, int, int, int, int, int)
- Constructor for class rescuecore.view.
ScreenTransform
SECONDARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
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.
DummyAgent
sense()
- Method in class rescuecore.
Agent
Called after a KA_SENSE is received
sense()
- Method in class rescuecore.sample.
SampleAmbulanceTeam
sense()
- Method in class rescuecore.sample.
SampleFireBrigade
sense()
- Method in class rescuecore.sample.
SamplePoliceForce
sense()
- Method in class rescuecore.sample.
SampleCenter
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
setLineMode(Graphics, int)
- Static method in class rescuecore.view.
RenderTools
setLineMode(Graphics, int, Color)
- Static method in class rescuecore.view.
RenderTools
setLineMode(Graphics, int, Color, 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
setObject(Object)
- Method in class rescuecore.view.
Layer
setObjects(Collection)
- Method in class rescuecore.view.
Layer
setObjects(Object[])
- Method in class rescuecore.view.
Layer
setPosition(int, int)
- Method in class rescuecore.objects.
Humanoid
setValue(boolean, int)
- Method in class rescuecore.
Property
Set the boolean value of this property.
setValue(int[], int)
- Method in class rescuecore.
Property
Set the integer array value of this property.
setValue(int, int)
- Method in class rescuecore.
Property
Set the integer value of this property.
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
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.
T
TARGET_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
TELL_LENGTH
- Static variable in interface rescuecore.
RescueConstants
tell(byte[])
- Method in class rescuecore.
Agent
Send an AK_TELL message to the kernel.
TERTIARY_TARGETS_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
TestMap
- class rescuecore.view.
TestMap
.
TestMap()
- Constructor for class rescuecore.view.
TestMap
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
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.
Property
toString()
- Method in class rescuecore.
LongUDPFragment
toString()
- Method in class rescuecore.
RescueObject
toString()
- Method in class rescuecore.
Command
toString()
- Method in class rescuecore.
RescueMessage
toString()
- Method in class rescuecore.
Agent
TOTALLY_BLOCKED_COLOUR
- Static variable in interface rescuecore.view.
ViewConstants
type
- Variable in class rescuecore.
Agent
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
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(byte[], MutableInteger, int)
- Method in class rescuecore.
RescueObject
Update properties of this object using KA_SENSE data from a buffer
updateFromKA_SENSE(byte[], MutableInteger, int)
- Method in class rescuecore.
Memory
Update our memory from a KA_SENSE message
updateProperty(int, int, boolean)
- 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, int[])
- Method in class rescuecore.
RescueObject
Update the value of a property
V
value
- Variable in class rescuecore.
MutableInteger
ViewConstants
- interface rescuecore.view.
ViewConstants
.
VK_ACKNOWLEDGE
- Static variable in interface rescuecore.
RescueConstants
VK_CONNECT
- Static variable in interface rescuecore.
RescueConstants
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