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

S

scale - Static variable in class gui.playfield.PlayFieldGraphic
Common scaling factor for all playfield graphics.
scale(double) - Static method in class gui.playfield.PlayFieldGraphic
Scales the value according to current zoom level
scale(int) - Static method in class gui.playfield.PlayFieldGraphic
Scales the value according to current zoom level
ScaleReferenceGraphic - Class in gui.playfield
Reference scale bar graphic.
ScaleReferenceGraphic() - Constructor for class gui.playfield.ScaleReferenceGraphic
 
scen - Variable in class ui.DTNSimUI
Scenario of the current simulation
SCENARIO_NS - Static variable in class core.SimScenario
namespace of scenario settings ("Scenario")
ScheduledUpdatesQueue - Class in input
Event queue where simulation objects can request an update to happen at the specified simulation time.
ScheduledUpdatesQueue() - Constructor for class input.ScheduledUpdatesQueue
Constructor.
ScheduledUpdatesQueueTest - Class in test
Tests for the ScheduledUpdatesQueue
ScheduledUpdatesQueueTest() - Constructor for class test.ScheduledUpdatesQueueTest
 
scheduleUpdate(double) - Static method in class core.World
Schedules an update request to all nodes to happen at the specified simulation time.
SECONDS_IN_UNIT_S - Static variable in class routing.ProphetRouter
Number of seconds in time unit -setting id ("secondsInTimeUnit").
selectDestination() - Method in class movement.map.PointsOfInterest
Selects a random destination from POIs or all MapNodes.
selectRandomOkNode(List<MapNode>) - Method in class movement.MapBasedMovement
Selects and returns a random node that is OK from a list of nodes.
SEND - Static variable in class input.StandardEventsReader
Identifier of message transfer start event ("S")
SEND_QUEUE_MODE_S - Static variable in class routing.MessageRouter
Message/fragment sending queue type -setting id ("sendQueue").
SENDING - Static variable in class input.MessageRelayEvent
Message relay stage constant for start of sending
sendMessage(String, DTNHost) - Method in class core.DTNHost
Sends a message from this host to another host
sendMessage(String, DTNHost) - Method in class routing.MessageRouter
Start sending a message to another host.
setAllHosts(Collection<DTNHost>) - Method in class report.AdjacencyGraphvizReport
Sets all hosts that should be in the graph at least once
setAutoClearOverlay(boolean) - Method in class gui.playfield.PlayField
Enables or disables the automatic clearing of overlay graphics.
setBidirectional(boolean) - Method in class input.WKTMapReader
Sets bidirectional paths on/off.
setConListeners(List<ConnectionListener>) - Method in class test.TestUtils
 
setCurCell(ConnectivityGrid.GridCell) - Method in class core.DTNHost
Sets the "current cell" (for cell based connection checking).
setDebugLevel(int) - Method in class core.Debug
Sets the current debug level (smaller level -> more messages)
setDone(boolean) - Method in class input.WKTReader
Sets the "is file read" state
setDrawConnections(boolean) - Static method in class gui.playfield.NodeGraphic
Sets whether node's connections to other nodes should be drawn
setDrawCoverage(boolean) - Static method in class gui.playfield.NodeGraphic
Sets whether radio coverage of nodes should be drawn
setDrawNodeName(boolean) - Static method in class gui.playfield.NodeGraphic
Sets whether node's name should be displayed
setEvents(DTN2Events) - Static method in class core.DTN2Manager
Sets the DTN2Events object.
setFocus(DTNHost) - Method in class gui.DTNSimGUI
Sets a node's graphical presentation in the center of the playfield view
setGroupId(String) - Method in class test.TestUtils
 
setLocation(double, double) - Method in class core.Coord
Sets the location of this coordinate object
setLocation(Coord) - Method in class core.Coord
Sets this coordinate's location to be equal to other coordinates location
setLocation(Coord) - Method in class core.DTNHost
Sets the Node's location overriding any location set by movement model
setMap(SimMap) - Method in class gui.playfield.PlayField
Sets the source for the map graphics and enables map graphics showing
setMessageRouterProto(MessageRouter) - Method in class test.TestUtils
 
setMsgListeners(List<MessageListener>) - Method in class test.TestUtils
 
setName(String) - Method in class core.DTNHost
Sets the Node's name overriding the default name (groupId + netAddress)
setNameSpace(String) - Method in class core.Settings
Sets the namespace to something else than the current namespace.
setNextEventQueue() - Method in class core.World
Goes through all event Queues and sets the event queue that has the next event.
setNextIndex(int) - Method in class movement.map.MapRoute
Sets the next index for this route
setNormalize(boolean) - Method in class input.ExternalMovementReader
Sets normalizing of read values on/off.
setNrofPreload(int) - Method in class input.ExternalEventsQueue
Sets maximum number of events that are read when the next preload occurs
setPaused(boolean) - Method in class gui.DTNSimGUI
Sets the pause of the simulation on/off
setPaused(boolean) - Method in class gui.GUIControls
Sets simulation to pause or play.
setPauseOnEvent(boolean) - Method in class gui.EventLogControl
Sets ought this event type cause pause (return true for EventLogControl.pauseOnEvent() )
setPrefix(String) - Method in class report.Report
Sets a prefix that will be inserted before every line in the report
setPrintStream(PrintStream) - Method in class core.Debug
Sets print stream of debug output.
setReceiveTime(double) - Method in class core.Message
Sets the time when this message was received.
setReporter(DTN2Reporter) - Static method in class core.DTN2Manager
Sets the DTN2Reporter object used to pass messages from ONE to dtnd.
setRequest(Message) - Method in class core.Message
If this message is a response to a request, sets the request message
setResponseSize(int) - Method in class core.Message
Sets the requested response message's size.
setRouterProto(MessageRouter) - Method in class test.AbstractRouterTest
 
setRunIndex(int) - Static method in class core.Settings
Sets the run index for the settings (only has effect on settings with run array).
setScale(double) - Method in class gui.playfield.PlayField
Sets the zooming/scaling factor
setScale(double) - Static method in class gui.playfield.PlayFieldGraphic
Set the zooming factor of the graphics to be drawn
setSecondaryNamespace(String) - Method in class core.Settings
Sets a secondary namespace where a setting is searched from if it isn't found from the primary namespace.
setShowEvent(boolean) - Method in class gui.EventLogControl
Sets ought this event type should be shown (return true for EventLogControl.showEvent() )
setShowMapGraphic(boolean) - Method in class gui.playfield.PlayField
Enables/disables showing of map graphics
setSimTime(double) - Method in class gui.GUIControls
Sets the simulation time that control panel shows
setSpeed(double) - Method in class movement.Path
Sets a constant speed for the whole path.
setTime(double) - Method in class core.SimClock
Sets the time of the clock.
Settings - Class in core
Interface for simulation settings stored in setting file(s).
Settings(String) - Constructor for class core.Settings
Creates a setting object with a namespace.
Settings() - Constructor for class core.Settings
Create a setting object without namespace.
SETTINGS_NAMESPACE - Static variable in class input.EventQueueHandler
Event queue settings main namespace ("Events")
SETTINGS_NAMESPACE - Static variable in class input.ExternalEventsQueue
ExternalEvents namespace ("ExternalEvents")
SETTINGS_NS - Static variable in class core.World
namespace of optimization settings ("Optimization")
SettingsError - Error in core
Settings related error
SettingsError(String) - Constructor for error core.SettingsError
 
SettingsError(String, Exception) - Constructor for error core.SettingsError
 
SettingsError(Exception) - Constructor for error core.SettingsError
 
SettingsTest - Class in test
Tests Settings class' different setting getting methods
SettingsTest() - Constructor for class test.SettingsTest
 
setTransmitRange(int) - Method in class test.TestUtils
 
setTransmitSpeed(int) - Method in class test.TestUtils
 
setTtl(int) - Method in class core.Message
Sets the initial TTL (time-to-live) for this message.
setUnderlayImage(BufferedImage, double, double, double, double) - Method in class gui.playfield.PlayField
Sets an image to show under the host graphics
setup(World) - Static method in class core.DTN2Manager
Sets up the dtnd connections by parsing the configuration file defined in the DTN2.configFile setting.
setUp() - Method in class test.AbstractRouterTest
 
setUp() - Method in class test.ActivenessHandlerTest
 
setUp() - Method in class test.AdjacencyGraphvizReportTest
 
setUp() - Method in class test.ConnectionTest
 
setUp() - Method in class test.DijkstraPathFinderTest
 
setUp() - Method in class test.DistanceDelayReportTest
 
setUp() - Method in class test.EpidemicRouterTest
 
setUp() - Method in class test.ExternalEventsQueueTest
 
setUp() - Method in class test.ExternalMovementReaderTest
 
setUp() - Method in class test.MapBasedMovementTest
 
setUp() - Method in class test.MapNodeTest
 
setUp() - Method in class test.MaxPropDijkstraTest
 
setUp() - Method in class test.MaxPropRouterTest
 
setUp() - Method in class test.MessageGraphvizReportTest
 
setUp() - Method in class test.ProphetRouterTest
 
setUp() - Method in class test.ScheduledUpdatesQueueTest
 
setUp() - Method in class test.SettingsTest
 
setUp() - Method in class test.TotalContactTimeReportTest
 
setUp() - Method in class test.WKTPointReaderTest
 
setUp() - Method in class test.WorldTest
 
setUpState(boolean) - Method in class core.Connection
Sets the state of the connection.
setUpUsing(String[]) - Method in class test.ExternalMovementTest
 
setUpWith(double[], int, int[]) - Method in class test.PointsOfInterestTest
 
ShortestPathMapBasedMovement - Class in movement
Map based movement model that uses Dijkstra's algorithm to find shortest paths between two random map nodes and Points Of Interest
ShortestPathMapBasedMovement(Settings) - Constructor for class movement.ShortestPathMapBasedMovement
Creates a new movement model based on a Settings object's settings.
ShortestPathMapBasedMovement(ShortestPathMapBasedMovement) - Constructor for class movement.ShortestPathMapBasedMovement
Copyconstructor.
showEvent() - Method in class gui.EventLogControl
Returns true if this event type should be shown
showInfo(DTNHost) - Method in class gui.InfoPanel
Show information about a host
showInfo(Message) - Method in class gui.InfoPanel
Show information about a message
showPath(Path) - Method in class gui.DTNSimGUI
Shows a path on the playfield
shuffleMessages(List<Message>) - Method in class routing.ActiveRouter
Shuffles a messages list so the messages are in random order.
SIM_CON_S - Static variable in class core.SimScenario
simulate connections -setting id ("simulateConnections")
simCancelled - Variable in class ui.DTNSimUI
is simulation termination requested
SimClock - Class in core
Wall clock for checking the simulation time.
simDone - Variable in class ui.DTNSimUI
has simulation terminated normally
SimError - Error in core
Error in the simulation
SimError(String) - Constructor for error core.SimError
 
SimError(String, Exception) - Constructor for error core.SimError
 
SimError(Exception) - Constructor for error core.SimError
 
SimMap - Class in movement.map
A simulation map for node movement.
SimMap(Map<Coord, MapNode>) - Constructor for class movement.map.SimMap
 
SimMenuBar - Class in gui
Menu bar of the simulator GUI
SimMenuBar(PlayField) - Constructor for class gui.SimMenuBar
 
SimScenario - Class in core
A simulation scenario used for getting and storing the settings of a simulation run.
SimScenario() - Constructor for class core.SimScenario
Creates a scenario based on Settings object.
simulateConnections() - Method in class core.SimScenario
Returns true if connections should be simulated
skipAllWhitespace(Reader) - Method in class input.WKTReader
Skips all consecutive whitespace characters from reader
skipUntil(Reader, char) - Method in class input.WKTReader
Reads and skips all characters until character "until" is read or end of stream is reached.
sortByQueueMode(List) - Method in class routing.MessageRouter
Sorts/shuffles the given list according to the current sending queue mode.
SPEED - Static variable in class movement.MovementModel
node's speed CSV (min, max) -setting id ("speed")
SPRAYANDWAIT_NS - Static variable in class routing.SprayAndWaitRouter
SprayAndWait router's settings name space ("SprayAndWaitRouter")
SprayAndWaitRouter - Class in routing
Implementation of Spray and wait router as depicted in Spray and Wait: An Efficient Routing Scheme for Intermittently Connected Mobile Networks by Thrasyvoulos Spyropoulus et al.
SprayAndWaitRouter(Settings) - Constructor for class routing.SprayAndWaitRouter
 
SprayAndWaitRouter(SprayAndWaitRouter) - Constructor for class routing.SprayAndWaitRouter
Copy constructor.
STAGE_STRINGS - Static variable in class input.MessageRelayEvent
Stage constant -> String representation mapping
StandardEventsReader - Class in input
External events reader for standard-format events (created e.g by the dtnsim2parser).
StandardEventsReader(File) - Constructor for class input.StandardEventsReader
 
start() - Method in class ui.DTNSimUI
Starts the simulation.
START_TIME - Static variable in class test.ConnectionTest
 
startTiming(String) - Static method in class core.Debug
Start timing an action.
startTransfer(DTNHost, Message) - Method in class core.Connection
Sets a message that this connection is currently transferring.
startTransfer(Message, Connection) - Method in class routing.ActiveRouter
Tries to start a transfer of message using a connection.
StationaryMovement - Class in test
A dummy stationary "movement" model where nodes do not move for testing purposes
StationaryMovement(Coord) - Constructor for class test.StationaryMovement
 
storeToBinaryFile(String, List<ExternalEvent>) - Static method in class input.BinaryEventsReader
Stores the events to a binary file
suite() - Static method in class test.AllTests
 
SYNTAX - Static variable in class report.DistanceDelayReport
Syntax of the report lines

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