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

C

c0 - Variable in class test.AbstractRouterTest
 
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.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
checkReceiving(Message) - Method in class routing.ActiveRouter
Checks if router "wants" to start receiving message (i.e. router isn't tranferring, doesn't have the message and has room for it).
CIRCULAR - Static variable in class movement.map.MapRoute
Type of the route ID: circular (1).
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.
compareTo(Coord) - Method in class core.Coord
Compares this coordinate to other coordinate.
compareTo(Object) - Method in class core.DTNHost
Compares two DTNHosts by their addresses.
compareTo(Object) - Method in class core.Message
Compares two messages by their ID (alphabetically).
compareTo(Object) - Method in class input.ExternalEvent
Compares two external events by their time.
compareTo(Object) - 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.
connectAllNearNodes() - Method in class core.ConnectivityGrid
Connects all nodes, that are in adjacent cells, to each other.
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".
connectionEnd() - Method in class report.ContactTimesReport.ConnectionInfo
Should be called when the connection ended to record the time.
ConnectionListener - Interface in core
Interface for classes that want to be informed about connections between hosts.
connections - Variable in class report.ContactTimesReport
 
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 contact times of nodes (i.e. how long they were in the range of each other)
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")
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(DTNHost, String, int, int) - Method in class core.DTNHost
Creates a new message from this host to another host
createNewMessage(DTNHost, String, int, int) - Method in class routing.ActiveRouter
 
createNewMessage(DTNHost, String, int, int) - Method in class routing.MessageRouter
Creates a new message to the router.
createNewMessage(DTNHost, String, int, int) - 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 R S T U V W Z