Index
All Classes and Interfaces|All Packages
G
- generateAgent(int, int) - Method in class Node
-
Returns a new agent based on probability out of 100.
- generateId() - Method in class Network
-
Returns a unique id string.
- getAllNodes() - Method in class Network
-
Returns all the nodes in the network as an array.
- getCurrentNode() - Method in class Agent
-
Method that returns the current node for an agent
- getCurrentNode() - Method in class Request
-
Method that gets the current node of the request.
- getDistance() - Method in class RoutingEntry
-
Returns the distance from the node that detected an event.
- getEvent() - Method in class Request
-
Returns event of the request
- getEvents() - Method in class Node
-
Returns the routing table of events.
- getIdOfEvent() - Method in class Event
-
Returns the ID of the event.
- getMaxSteps() - Method in class Agent
-
Returns max steps that agent can go
- getMaxSteps() - Method in class Request
-
Method that returns the maximum steps for the request
- getNeighbours() - Method in class Node
-
Returns the list of neighbours as an ArrayList.
- getNextNode() - Method in class RoutingEntry
-
Returns the next node to go to.
- getNode(Position) - Method in class Network
-
Returns a node based on its position.
- getNumSteps() - Method in class Agent
-
Returns number of steps that the agent has gone
- getNumSteps() - Method in class Request
-
Method that return the number of steps taken by the request
- getPosition() - Method in class Node
-
Returns the position of the node.
- getPositionOfEvent() - Method in class Event
-
Returns the position that the event occurred.
- getPossibleMoves() - Method in class Agent
-
Method that gets the possible moves for an agent.
- getPossibleMoves() - Method in class Message
-
Abstract class to get possible moves where the message can go.
- getPossibleMoves() - Method in class Request
-
Method that gets the possible moves for an agent.
- getPreviousMoves() - Method in class Agent
-
Method that returns a stack of the previous moves for an agent
- getPreviousMoves() - Method in class Request
-
Method that gets the previous moves of the request.
- getPreviousPositions() - Method in class Request
-
Method that gets the previous positions of the request.
- getRandomNode() - Method in class Network
-
Returns a random node in the network.
- getRoutingTable() - Method in class Agent
-
Returns the routing table of the agent.
- getStartNode() - Method in class Request
-
Returns start node of the request
- getStatus() - Method in class Node
-
Returns the availability status.
- getTime() - Method in class Network
-
Returns the current time.
- getTimeOfEvent() - Method in class Event
-
Returns the time that the event occurred.
- getWaitingQueue() - Method in class Agent
-
Method that returns the waiting queue of nodes
- getX() - Method in class Position
-
The method for retrieving the x-coordinate value.
- getY() - Method in class Position
-
The method for retrieving the y-coordinate value.
All Classes and Interfaces|All Packages