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

C

c0 - Variable in class test.AbstractRouterTest
 
calcThreshold() - Method in class routing.MaxPropRouter
Calculates and returns the current threshold value for the buffer's split based on the average number of bytes transferred per transfer opportunity and the hop counts of the messages in the buffer.
cancelSim() - Method in class core.World
Asynchronously cancels the currently running simulation
canStartTransfer() - Method in class routing.ActiveRouter
Makes rudimentary checks (that we have at least one message and one connection) about can this router start transfer.
CELL_SIZE_MULT_S - Static variable in class core.World
Cell based optimization cell size multiplier -setting id ("cellSizeMult").
centerViewAt(Coord) - Method in class gui.DTNSimGUI
Sets certain location to be in the center of the playfield view
changedConnection(Connection) - Method in class core.DTNHost
Informs the router of this host about state change in a connection object.
changedConnection(Connection) - Method in class routing.ActiveRouter
Called when a connection's state changes.
changedConnection(Connection) - Method in class routing.MaxPropRouter
 
changedConnection(Connection) - Method in class routing.MessageRouter
Informs the router about change in connections state.
changedConnection(Connection) - Method in class routing.PassiveRouter
 
changedConnection(Connection) - Method in class routing.ProphetRouter
 
changeZoom(int) - Method in class gui.GUIControls
Changes the zoom level
checkCreates(int) - Method in class test.AbstractRouterTest
Checks that mc contains only nrof create-events and nothing else
checkDelivered(DTNHost, DTNHost, String, boolean) - Method in class test.AbstractRouterTest
 
checkReceiving(Message) - Method in class routing.ActiveRouter
Checks if router "wants" to start receiving message (i.e. router isn't transferring, doesn't have the message and has room for it).
checkReceiving(Message) - Method in class routing.FirstContactRouter
 
checkTransferStart(DTNHost, DTNHost, String) - Method in class test.AbstractRouterTest
 
CIRCULAR - Static variable in class movement.map.MapRoute
Type of the route ID: circular (1).
CLASS_PACKAGE - Static variable in class input.EventQueueHandler
name of the package where event generator classes are looked from
CLASS_SETTING - Static variable in class input.EventQueueHandler
name of the events class (for class based events) -setting id ("class")
clearOverlays() - Method in class gui.playfield.PlayField
Removes all overlay graphics stored to be drawn
clock - Variable in class test.AbstractRouterTest
 
clone() - Method in class core.Coord
Returns a clone of this coordinate
close() - Method in class input.BinaryEventsReader
 
close() - Method in interface input.ExternalEventsReader
Closes the input file streams of the reader.
close() - Method in class input.StandardEventsReader
 
closeSim() - Method in class gui.DTNSimGUI
Closes the program if simulation is done or cancels it.
compareByQueueMode(Message, Message) - Method in class routing.MessageRouter
Gives the order of the two given messages as defined by the current queue mode
compareTo(Coord) - Method in class core.Coord
Compares this coordinate to other coordinate.
compareTo(DTNHost) - Method in class core.DTNHost
Compares two DTNHosts by their addresses.
compareTo(Message) - Method in class core.Message
Compares two messages by their ID (alphabetically).
compareTo(ExternalEvent) - Method in class input.ExternalEvent
Compares two external events by their time.
compareTo(MapNode) - Method in class movement.map.MapNode
Compares two map nodes by their coordinates
CON_ALG_S - Static variable in class core.World
Connection algorithm selection -setting id ("connectionAlg").
connect(DTNHost) - Method in class core.DTNHost
Creates a connection to another host (if it is within range)
connect(DTNHost) - Method in class core.NetworkLayer
Tries to connect this host to another host.
connect(DTNHost) - Method in class test.TestDTNHost
 
connectAllNearNodes() - Method in class core.ConnectivityGrid
Connects all nodes, that are in adjacent cells, to each other.
connected() - Method in class input.DTN2Events.ParserHandler
 
Connection - Class in core
A connection between two DTN nodes.
Connection(DTNHost, DTNHost, int) - Constructor for class core.Connection
Creates a new connection between nodes and sets the connection state to "up".
CONNECTION - Static variable in class input.StandardEventsReader
Identifier of connection event ("CONN")
CONNECTION_DOWN - Static variable in class input.StandardEventsReader
Value identifier of connection down event ("down")
CONNECTION_UP - Static variable in class input.StandardEventsReader
Value identifier of connection up event ("up")
connectionEnd() - Method in class report.ContactTimesReport.ConnectionInfo
Should be called when the connection ended to record the time.
ConnectionEvent - Class in input
A connection up/down event.
ConnectionEvent(int, int, boolean, double) - Constructor for class input.ConnectionEvent
Creates a new connection event
ConnectionListener - Interface in core
Interface for classes that want to be informed about connections between hosts.
connections - Variable in class report.ContactTimesReport
 
ConnectionTest - Class in test
Some tests for the Connection class.
ConnectionTest() - Constructor for class test.ConnectionTest
 
ConnectivityDtnsim2Report - Class in report
Link connectivity report generator for DTNSim2 input.
ConnectivityDtnsim2Report() - Constructor for class report.ConnectivityDtnsim2Report
Constructor.
ConnectivityGrid - Class in core
Overlay grid of the world where each node is put on a cell depending of its location.
ConnectivityGrid(int, int, int) - Constructor for class core.ConnectivityGrid
Creates a new overlay connectivity grid
ConnectivityGrid.GridCell - Class in core
A single cell in the cell grid.
connectToNearNodes(DTNHost) - Method in class core.ConnectivityGrid
Connects a node to all nodes that are in the same cell or in adjacent cells.
ContactTimesReport - Class in report
Reports the node contact time (i.e., how long they were in the range of each other) distribution.
ContactTimesReport() - Constructor for class report.ContactTimesReport
Constructor.
ContactTimesReport.ConnectionInfo - Class in report
Objects of this class store time information about contacts.
ContactTimesReport.ConnectionInfo(DTNHost, DTNHost) - Constructor for class report.ContactTimesReport.ConnectionInfo
 
ContactTimesReportTest - Class in test
Test cases for ContactTimes & InterContactTimesReports.
ContactTimesReportTest() - Constructor for class test.ContactTimesReportTest
 
contains(String) - Method in class core.Settings
Returns true if a setting with defined name (in the current namespace or secondary namespace if such is set) exists and has some value (not just white space)
Coord - Class in core
Class to hold 2D coordinates and perform simple arithmetics and transformations
Coord(double, double) - Constructor for class core.Coord
Constructor.
COORD_FORMAT - Static variable in class report.MovementNs2Report
formatting string for coordinate values ("%.5f")
CoordTest - Class in test
 
CoordTest() - Constructor for class test.CoordTest
 
copyFrom(Message) - Method in class core.Message
Deep copies message data from other message.
core - package core
Contains core classes and interfaces of the simulator.
CREATE - Static variable in class input.StandardEventsReader
Identifier of message creation event ("C")
createConnection(DTNHost) - Method in class core.NetworkLayer
Creates a connection to another host.
createHost(Coord, String) - Method in class test.TestUtils
Creates a host to a location with stationary movement model and MessageRouter router.
createHost(MovementModel, String) - Method in class test.TestUtils
Creates a host with defined movement model
createHost(Coord) - Method in class test.TestUtils
Creates a host to a location with stationary movement model and default name.
createHost() - Method in class test.TestUtils
Creates a host to location (0,0) with stationary movement model and default name.
createHosts() - Method in class core.SimScenario
Creates hosts for the scenario
createIntializedObject(String) - Method in class core.Settings
Creates (and dynamically loads the class of) an object that intializes itself using the settings in this Settings object (given as the only parameter to the constructor).
createNewMessage(Message) - Method in class core.DTNHost
Creates a new message to this host's router
createNewMessage(Message) - Method in class routing.ActiveRouter
 
createNewMessage(Message) - Method in class routing.MessageRouter
Creates a new message to the router.
createNewMessage(Message) - Method in class routing.SprayAndWaitRouter
 
createObject(String) - Method in class core.Settings
Creates (and dynamically loads the class of) an object using the constructor without any parameters.

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