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

G

getAddress() - Method in class Sim.Node
 
getAddress() - Method in class Sim.Routing.Champ.ChampAlgorithm
getAddress()
getAddress() - Method in class Sim.Routing.Champ.NextHop
 
getAddressAsInt() - Method in class Sim.Routing.Champ.NextHop
 
getAge() - Method in class Sim.Routing.Champ.NextHop
 
getAge() - Method in class Sim.Routing.Champ.RREPHeader
 
getAngle(Location, Location) - Method in class Sim.Location
Find the angle of the triangle at this objects point using law of cosines.
getArrived() - Method in class Sim.PacketWatcher
Returns number of successfully arrived packets.
getCreated() - Method in class Sim.PacketWatcher
Returns the number of originated packets.
getDataCache() - Method in class Sim.Routing.Champ.ChampAlgorithm
 
getDataSize() - Method in class Sim.Packet
 
getDest() - Method in class Sim.HardwareFrame
 
getDest() - Method in class Sim.Packet
 
getDest() - Method in class Sim.Routing.Champ.RREPHeader
 
getDestination() - Method in class Sim.Routing.Champ.Destination
 
getDestination() - Method in class Sim.Routing.Champ.NormalPacketHeader
 
getDestination() - Method in class Sim.Routing.Champ.RERRHeader
 
getDestination() - Method in class Sim.Routing.Champ.RouteRequested
 
getDestination() - Method in class Sim.Routing.Champ.RREQHeader
 
getDestinations() - Method in class Sim.Routing.Champ.RouteCache
 
getDistance(Location) - Method in class Sim.Location
Get the distance between two points.
getDistance() - Method in class Sim.Routing.Champ.NextHop
 
getDistancesList() - Method in class Sim.PacketWatcher
Returns the list of hops for each packet.
getDistanceToDestination() - Method in class Sim.Routing.Champ.Destination
 
getEdge() - Method in class Sim.Routing.GPSR.Header.Standard
 
getEndPosition() - Method in class Sim.NodeMonitor
 
getError() - Method in class Sim.Routing.DSR.RouteRequest
Returns the RouteError associated with this RouteRequest, if there is one, or null if there is not.
getExtraData() - Method in class Sim.Routing.DSR.DataHeader
DataHeaders can carry additional data for use by DSR itself, and if a DSR-internal packet is being routed, it is contained as extra data.
getFaceLocation() - Method in class Sim.Routing.GPSR.Header.Standard
 
getFinalLocation() - Method in class Sim.Routing.GPSR.Header.Standard
The end destination of the node that is to receive the packet.
getFirstHop() - Method in class Sim.Routing.DSR.Route
 
getForwardCount() - Method in class Sim.Routing.Champ.RREQHeader
 
getFramesReceived() - Method in class Sim.NodeMonitor
 
getFramesSent() - Method in class Sim.NodeMonitor
 
getFromAddress() - Method in interface Sim.Routing.GPSR.Header.Base
All headers should have a way to get the senders address.
getFromAddress() - Method in class Sim.Routing.GPSR.Header.Broadcast
The address of the node that sent this header.
getFromAddress() - Method in class Sim.Routing.GPSR.Header.Standard
The address of the node that sent this header.
getFromLocation() - Method in interface Sim.Routing.GPSR.Header.Base
All headers should also have a way to get the senders location.
getFromLocation() - Method in class Sim.Routing.GPSR.Header.Broadcast
The location of the node that sent this header.
getFromLocation() - Method in class Sim.Routing.GPSR.Header.Standard
The location of the node that sent this header.
getHopCount() - Method in class Sim.Routing.Champ.RREPHeader
 
getHopsList() - Method in class Sim.PacketWatcher
Returns the list of hops for each packet.
getHopsRemaining() - Method in class Sim.Routing.DSR.FloodingHeader
 
getId() - Method in class Sim.Routing.DSR.AckHeader
Returns the unique PacketId for the packet to be acknowledged.
getId() - Method in class Sim.Routing.DSR.DataHeader
 
getId() - Method in class Sim.Routing.DSR.PacketId
 
getId() - Method in class Sim.Routing.DSR.RouteRequest
 
getIdlePowerUse() - Method in class Sim.SimulationParameters
Amount of power used per second while idling.
getIntersection(Line) - Method in class Sim.Line
Get the intersection of this line and another.
getKnownPoints() - Method in class Sim.Line
 
getLastHop() - Method in class Sim.Routing.DSR.Route
 
getLastKnownDistance() - Method in class Sim.Routing.Champ.RREQHeader
 
getLeastUsedNextHop() - Method in class Sim.Routing.Champ.Destination
 
getLinkEnd() - Method in class Sim.Routing.DSR.RouteError
Returns the second (ending) node of the broken link.
getLinkStart() - Method in class Sim.Routing.DSR.RouteError
Returns the first (starting) node of the broken link.
getLoc() - Method in class Sim.Routing.GPSR.ExpiringLocation
get location of this known neighbor.
getLocation(double) - Method in class Sim.FixedLocationManager
Returns the location produced by this manager at the given time t.
getLocation(double) - Method in interface Sim.LocationManager
Returns the location produced by this manager at the given time t.
getLocation() - Method in class Sim.Node
Returns the current location for this Node, based on the Simulation's current time.
getLocation(double) - Method in class Sim.RandomLocationManager
Returns the location produced by this manager at the given time t.
getLocation(double) - Method in class Sim.SetLocationManager
Get location method based on the path between the start and end locations and the current time given.
getLocation(double) - Method in class Sim.SimpleLocationManager
Returns the location produced by this manager at the given time t.
getLost() - Method in class Sim.PacketWatcher
Returns the number of lost packets.
getMinForwardCount() - Method in class Sim.Routing.Champ.RouteRequested
 
getMode() - Method in class Sim.Routing.GPSR.Header.Standard
Return the mode that this packet is currently routing in.
getName() - Method in class Sim.Simulation
Returns the name of this Simulation.
getNext() - Method in interface Sim.LocationGenerator
Gets the next location of a location.
getNext() - Method in class Sim.RandomLocationGenerator
Gets the next location based on the input paramters.
getNext() - Method in class Sim.UniformLocationGenerator
Gets the next node location in the field thus far.
getNextAddress() - Method in class Sim.Routing.DSR.DataHeader
Returns the next hop.
getNextHop(int) - Method in class Sim.Routing.Champ.RouteCache
 
getNode(int) - Method in class Sim.World
Returns the Node whose address matches the address given, if it is part of this World.
getNodeAcking() - Method in class Sim.Routing.Champ.AckHeader
 
getNodeReplyFrom() - Method in class Sim.Routing.Champ.RREPHeader
 
getNodeSendingErr() - Method in class Sim.Routing.Champ.RERRHeader
 
getNoiseRate() - Method in class Sim.SimulationParameters
Percentage of packets lost due to noise at the receiver.
getNumberPaths() - Method in class Sim.Routing.Champ.Destination
 
getOriginator() - Method in class Sim.Routing.DSR.PacketId
Returns the originator's source address.
getOriginator() - Method in class Sim.Routing.DSR.RouteRequest
 
getOutstanding() - Method in class Sim.PacketWatcher
Returns the number of packets still outstanding (created packets that have yet to be lost or arrive).
getPacketsArrived() - Method in class Sim.NodeMonitor
 
getPacketsOriginated() - Method in class Sim.NodeMonitor
 
getPacketsOverheard() - Method in class Sim.NodeMonitor
 
getPacketsSent() - Method in class Sim.NodeMonitor
 
getPacketsTerminated() - Method in class Sim.NodeMonitor
 
getParams() - Method in class Sim.Simulation
Returns global simulation parameters that are set at the beginning of the simulation and never change throughout the execution.
getPathTaken() - Method in class Sim.Routing.DSR.RouteRequest
 
getPathToSource() - Method in class Sim.Routing.DSR.RouteRequest
 
getPerimeterStarted() - Method in class Sim.Routing.GPSR.Header.Standard
 
getPowerUsed() - Method in class Sim.Node
 
getPreviousHop() - Method in class Sim.Routing.Champ.RERRHeader
 
getPreviousHop() - Method in class Sim.Routing.Champ.RREQHeader
 
getPreviousHopAddress() - Method in class Sim.Routing.Champ.NormalPacketHeader
 
getPreviousHops() - Method in class Sim.Routing.Champ.RouteRequested
 
getPreviousHops() - Method in class Sim.Routing.Champ.RREPHeader
 
getPropagationRange() - Method in class Sim.Routing.Champ.RREQHeader
 
getProtocolData() - Method in class Sim.HardwareFrame
 
getQuadrance(Location) - Method in class Sim.Location
Returns the square of the distance between two locations, or quadrance.
getRandomNode(Random) - Method in class Sim.World
Returns a Node in the World at random, with an equal probability of returning any specific Node.
getRandomSeed() - Method in class Sim.SimulationParameters
Gets the random number generator seed.
getRng() - Method in class Sim.Simulation
Returns the source of randomness for this Simulation.
getRoute(int, int, int) - Method in class Sim.Routing.Champ.RouteRequestCache
getRoute identified by triple
getRouteCache() - Method in class Sim.Routing.Champ.ChampAlgorithm
 
getRouteFrom(int) - Method in class Sim.Routing.DSR.Route
Returns the Route from the node with the given address onwards to the end, or null if the given node is not in Route.
getRouteLength() - Method in class Sim.Routing.Champ.RREPHeader
 
getRouteMinForwardCount(int, int, int) - Method in class Sim.Routing.Champ.RouteRequestCache
getRouteMinForwardCount
getRouteRemaining() - Method in class Sim.Routing.DSR.DataHeader
Returns the remaining portion of the route to the destination.
getRouteReply() - Method in class Sim.Routing.DSR.RouteReply
 
getRoutes() - Method in class Sim.Routing.Champ.RouteRequestCache
 
getSecondAddress() - Method in class Sim.Routing.DSR.DataHeader
Returns the address of the hop after this one, or an invalid address less than 0 if there is no next hop.
getSecondHop() - Method in class Sim.Routing.DSR.Route
Returns the hop following the first hop.
getSeqNum() - Method in class Sim.Routing.Champ.RREPHeader
 
getSequenceNumber() - Method in class Sim.Routing.Champ.AckHeader
 
getSequenceNumber() - Method in class Sim.Routing.Champ.NormalPacketHeader
 
getSequenceNumber() - Method in class Sim.Routing.Champ.RERRHeader
 
getSequenceNumber() - Method in class Sim.Routing.Champ.RouteRequested
 
getSequenceNumber() - Method in class Sim.Routing.Champ.RREQHeader
 
getSimDuration() - Method in class Sim.SimulationParameters
Gets the duration of simulation in seconds.
getSize() - Method in class Sim.EmptyProtocolFrame
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.HardwareFrame
 
getSize() - Method in class Sim.Location
Returns the size of this Location as it is seralized on the network.
getSize() - Method in class Sim.Packet
Returns the size of the serialized form of this Packet in number of bytes.
getSize() - Method in interface Sim.ProtocolFrame
Returns the "serialized" size of this portion of the packet, in bytes.
getSize() - Method in class Sim.Routing.Champ.AckHeader
 
getSize() - Method in class Sim.Routing.Champ.NormalPacketHeader
 
getSize() - Method in class Sim.Routing.Champ.RERRHeader
 
getSize() - Method in class Sim.Routing.Champ.RREPHeader
 
getSize() - Method in class Sim.Routing.Champ.RREQHeader
 
getSize() - Method in class Sim.Routing.DSR.AckHeader
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.DSR.DataHeader
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.DSR.FloodingHeader
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.DSR.PacketId
 
getSize() - Method in class Sim.Routing.DSR.Route
Returns the size of this Route if it were to be serialized as bytes.
getSize() - Method in class Sim.Routing.DSR.RouteError
Returns the "serialized" size of this portion of the packet, in bytes.
getSize() - Method in class Sim.Routing.DSR.RouteReply
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.DSR.RouteRequest
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.GPSR.Header.Broadcast
Returns the "serialized" size of this portion of the packet.
getSize() - Method in class Sim.Routing.GPSR.Header.Standard
Returns the "serialized" size of this portion of the packet.
getSizeInBits() - Method in class Sim.HardwareFrame
Returns HardwareFrame.getSize() * 8.
getSlope() - Method in class Sim.Line
 
getSource() - Method in class Sim.HardwareFrame
 
getSource() - Method in class Sim.Packet
 
getSource() - Method in class Sim.Routing.Champ.RERRHeader
 
getSource() - Method in class Sim.Routing.Champ.RouteRequested
 
getSource() - Method in class Sim.Routing.Champ.RREPHeader
 
getSource() - Method in class Sim.Routing.Champ.RREQHeader
 
getSourceAddress() - Method in class Sim.Routing.Champ.NormalPacketHeader
 
getStartPosition() - Method in class Sim.NodeMonitor
 
getSuccessors() - Method in class Sim.Routing.Champ.Destination
 
getTarget() - Method in class Sim.Routing.DSR.RouteRequest
 
getTime() - Method in class Sim.Routing.AbstractRoutingAlgorithm
Returns the current time of the Simulation.
getTime() - Method in class Sim.Simulation
Returns the current simulation time, which can stand still but never go backwards.
getTimeList() - Method in class Sim.PacketWatcher
Returns the list of hops for each packet.
getTimeStored() - Method in class Sim.Routing.GPSR.ExpiringLocation
get the time of this locations storage.
getTotalBytes() - Method in class Sim.NodeMonitor
 
getTotalProtocolBytes() - Method in class Sim.NodeMonitor
 
getTotalSendTime() - Method in class Sim.NodeMonitor
 
getTotalUserBytes() - Method in class Sim.NodeMonitor
 
getTransferRate() - Method in class Sim.SimulationParameters
Wireless network transfer speed in bits per second.
getTransmissionRange() - Method in class Sim.Node
 
getTransmitPowerUse() - Method in class Sim.SimulationParameters
Amount of power used per second while transmitting.
getUsedCount() - Method in class Sim.Routing.Champ.NextHop
 
getUserData() - Method in class Sim.HardwareFrame
 
getWorld() - Method in class Sim.Simulation
Returns the World associated with this Simulation.
getX() - Method in class Sim.Location
 
getY() - Method in class Sim.Location
 
getYintercept() - Method in class Sim.Line
 

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