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

S

scheduleEvent(double, SimulationEvent) - Method in class Sim.Routing.AbstractRoutingAlgorithm
Schedules a new event to take place in the future.
scheduleEvent(double, SimulationEvent) - Method in class Sim.Simulation
Schedules a new event to take place in the future.
scheduleRecurringLossUpdate(Simulation, double) - Method in class Sim.PacketWatcher
Schedules a recurring event to operate in the Simulation to call PacketWatcher.updateLost(double) every "rate" seconds, starting from the simulations current time plus "rate." The most often the event occurs, the less memory is used, but updating the statistic too often can cause a high amount of CPU overhead.
sendFrame(HardwareFrame) - Method in class Sim.Node
Queues a HardwareFrame to be sent by this node.
sendFrame(HardwareFrame, Location, double) - Method in class Sim.World
Sends a frame to all Nodes within listening range of the transmission point given.
sendNewPacket(Node, Packet) - Method in class Sim.Node
Originates a new Packet to be sent to the given destination.
sendNewPacket(Packet) - Method in class Sim.Node
Originates a new Packet to be sent.
sendRERR(int, int, int, int) - Method in class Sim.Routing.Champ.ChampAlgorithm
 
setAddress(int) - Method in class Sim.Routing.Champ.NextHop
 
setAge(double) - Method in class Sim.Routing.Champ.NextHop
 
setAge(double) - Method in class Sim.Routing.Champ.RREPHeader
 
setDest(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setDestination(int) - Method in class Sim.Routing.Champ.Destination
 
setDestination(Integer) - Method in class Sim.Routing.Champ.Destination
 
setDestination(int) - Method in class Sim.Routing.Champ.NormalPacketHeader
 
setDestination(int) - Method in class Sim.Routing.Champ.RERRHeader
 
setDestination(int) - Method in class Sim.Routing.Champ.RouteRequested
 
setDestination(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setDestinations(LinkedList<Destination>) - Method in class Sim.Routing.Champ.RouteCache
 
setDestNextHop(int, int, int) - Method in class Sim.Routing.Champ.RouteCache
setDestNextHop will set the next hop for this destination in the the route Cache
setDistanceToDestination(int) - Method in class Sim.Routing.Champ.Destination
 
setEdge(double) - Method in class Sim.Routing.GPSR.Header.Standard
 
setEndPosition(Location) - Method in class Sim.NodeMonitor
 
setFaceLocation(Location) - Method in class Sim.Routing.GPSR.Header.Standard
 
setForwardCount(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setHopCount(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setLastKnownDistance(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setLoc(Location, Double) - Method in class Sim.Routing.GPSR.ExpiringLocation
Change this objects time and location.
setLocation(Location) - Method in class Sim.SimpleLocationManager
 
SetLocationManager - Class in Sim
This location manager gives the position of a node which is moving from a given source to destination point.
SetLocationManager(Double, Location, Location) - Constructor for class Sim.SetLocationManager
Set location manager allows a node to move from one location to another location and stop when it gets there
setMinForwardCount(int) - Method in class Sim.Routing.Champ.RouteRequested
 
setName(String) - Method in class Sim.Simulation
Sets this Simulation's name
setNodeReplyFrom(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setNodeSendingErr(int) - Method in class Sim.Routing.Champ.RERRHeader
 
setNumberPaths(int) - Method in class Sim.Routing.Champ.Destination
 
setOriginal(boolean) - Method in class Sim.Routing.Champ.RREQTimeOutEvent
 
setPreviousHop(int) - Method in class Sim.Routing.Champ.RERRHeader
 
setPreviousHop(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setPreviousHopAddress(int) - Method in class Sim.Routing.Champ.NormalPacketHeader
 
setPreviousHops(LinkedList<Integer>) - Method in class Sim.Routing.Champ.RouteRequested
 
setPreviousHops(LinkedList<Integer>) - Method in class Sim.Routing.Champ.RREPHeader
 
setPropagationRange(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setRequestStatus(boolean) - Method in class Sim.Routing.Champ.RouteRequested
 
setRouteLength(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setRoutes(LinkedList<RouteRequested>) - Method in class Sim.Routing.Champ.RouteRequestCache
 
setRouteStatus(int, int, int, boolean) - Method in class Sim.Routing.Champ.RouteRequestCache
setRouteStatus will set the status of the route to status
setSeqNum(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setSequenceNumber(int) - Method in class Sim.Routing.Champ.NormalPacketHeader
 
setSequenceNumber(int) - Method in class Sim.Routing.Champ.RERRHeader
 
setSequenceNumber(int) - Method in class Sim.Routing.Champ.RouteRequested
 
setSequenceNumber(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setSimulation(Simulation) - Method in class Sim.Routing.AbstractRoutingAlgorithm
Sets the simulation for this RoutingAlgorithm.
setSimulation(Simulation) - Method in class Sim.Routing.GPSR.Algorithm
Configures initial events to start when the simulation starts.
setSimulation(Simulation) - Method in interface Sim.Routing.RoutingAlgorithm
Sets the simulation for this RoutingAlgorithm.
setSource(int) - Method in class Sim.Routing.Champ.RERRHeader
 
setSource(int) - Method in class Sim.Routing.Champ.RouteRequested
 
setSource(int) - Method in class Sim.Routing.Champ.RREPHeader
 
setSource(int) - Method in class Sim.Routing.Champ.RREQHeader
 
setSourceAddress(int) - Method in class Sim.Routing.Champ.NormalPacketHeader
 
setStartPosition(Location) - Method in class Sim.NodeMonitor
 
setSuccessors(LinkedList<NextHop>) - Method in class Sim.Routing.Champ.Destination
 
setUp() - Method in class Sim.FloodTest
 
setUp() - Method in class Sim.LoopbackTest
 
setUp() - Method in class Sim.PacketWatcherTest
 
setUp() - Method in class Sim.Routing.DSR.TestDSR
This method is called before a test is executed.
setUp() - Method in class Sim.Routing.DSR.TestRoute
 
setUp() - Method in class Sim.SimulationTest
 
shouldRepeat(int) - Method in class Sim.Routing.DSR.RouteRequest
 
Sim - package Sim
 
Sim.Routing - package Sim.Routing
 
Sim.Routing.Champ - package Sim.Routing.Champ
 
Sim.Routing.DSR - package Sim.Routing.DSR
 
Sim.Routing.GPSR - package Sim.Routing.GPSR
 
Sim.Routing.GPSR.Header - package Sim.Routing.GPSR.Header
 
SimpleLocationManager - Class in Sim
SimpleLocationManager allows for direct manipulation of location.
SimpleLocationManager(Location) - Constructor for class Sim.SimpleLocationManager
 
Simulation - Class in Sim
Simulation is the core of the discrete event simulation.
Simulation(SimulationParameters) - Constructor for class Sim.Simulation
Constructs a new Simulation with the given parameters.
SimulationBuilder - Class in Sim
This class has a static method to create a simulation from a give input file.
SimulationBuilder() - Constructor for class Sim.SimulationBuilder
 
SimulationEvent - Interface in Sim
SimulationEvent represents an executable event in the Simulation.
SimulationException - Exception in Sim
SimulationException is thrown when there is an error in running the simulation.
SimulationException() - Constructor for exception Sim.SimulationException
Constructs a new exception with null as its detail message.
SimulationException(String) - Constructor for exception Sim.SimulationException
Constructs a new exception with the specified detail message.
SimulationException(String, Throwable) - Constructor for exception Sim.SimulationException
Constructs a new exception with the specified detail message and cause.
SimulationException(Throwable) - Constructor for exception Sim.SimulationException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
SimulationParameters - Class in Sim
SimulationParameters holds global Simulation parameters.
SimulationParameters(double, double, double, double, double, int) - Constructor for class Sim.SimulationParameters
Constructs a new SimulationParameters
SimulationRunner - Class in Sim
This class executes a simulation by executing the events.
SimulationRunner(Simulation, ArrayList<NodeMonitor>, PacketWatcher, File) - Constructor for class Sim.SimulationRunner
Constructor to create a new simulation, after this is created, simply call runSimulation
SimulationTest - Class in Sim
SimulationTest
SimulationTest() - Constructor for class Sim.SimulationTest
 
Standard - Class in Sim.Routing.GPSR.Header
This is the basic header that is needed by GPSR.
Standard(PacketId, int, int, Location, Location) - Constructor for class Sim.Routing.GPSR.Header.Standard
The constructor to create a new frame for sending a packet to a destination.
Standard(PacketId, int, int, Location, Location, Location) - Constructor for class Sim.Routing.GPSR.Header.Standard
 
startTime() - Method in class Sim.SimulationTest
 
sub(Location) - Method in class Sim.Location
subtracts two location objects to one another.

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