Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
M
N
O
P
Q
R
S
T
U
W
X
Y
G
getEvent(int)
- Method in class ou3.
Node
Gets event given its id
getEventId()
- Method in class ou3.
EventInfo
Returns the events id.
getEventInfo(int)
- Method in class ou3.
Node
Returns event info from the node's event info table given an event info id
getEventInfoTableCopy()
- Method in class ou3.
Node
Copies every element in the node's event info table and puts them in a new one and returns it.
getId()
- Method in class ou3.
Event
Returns the events id.
getMaxSteps()
- Method in class ou3.
Message
Returns the maximum number of steps the message is allowed to take.
getMaxSteps()
- Method in class ou3.
Request
Returns the maximum steps
getNeighbours(Position)
- Method in class ou3.
Map
Returns the neighbours of a node given its position.
getNeighbours()
- Method in class ou3.
Node
Returns the neighbours of the current node, if the list of neighbours is empty the node will ask the map for neighbours.
getNrOfSteps()
- Method in class ou3.
EventInfo
Returns the number of steps from the origin of the event.
getPosition()
- Method in class ou3.
Event
Returns the events position.
getPosition()
- Method in class ou3.
Node
Returns the position of the node.
getPreviousNode()
- Method in class ou3.
EventInfo
Returns the path towards the origin of the event.
getRequestNodes()
- Method in class ou3.
Map
Selects four random nodes from the nodeList and returns an ArrayList containing them.
getStepsTaken()
- Method in class ou3.
Message
Returns the number of steps taken so far by the message.
getTargetEvent()
- Method in class ou3.
Request
Returns target event.
getTimeCreated()
- Method in class ou3.
Event
Returns the time when the event was created.
getTimeSent()
- Method in class ou3.
Request
Returns time sent
getWantedEventId()
- Method in class ou3.
Request
Returns wanted event id
getX()
- Method in class ou3.
Position
Returns x coordinate of position
getY()
- Method in class ou3.
Position
Returns y coordinate of position
gotEvent
- Variable in class ou3.
Request
False while the request still is searching for/tracking the event, true when the wanted event is acquired.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
M
N
O
P
Q
R
S
T
U
W
X
Y