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

T

tearDown() - Method in class test.SettingsTest
 
test - package test
Provides some unit and integration tests for the classes.
testAbortTransfer() - Method in class test.ConnectionTest
 
testAbortWhenReady() - Method in class test.EpidemicRouterTest
try disconnecting on the same update interval when a transfer should be finished -> should not cause abort (anymore)
testAckedMessageDeleting() - Method in class test.MaxPropRouterTest
 
testAddNeighbor() - Method in class test.MapNodeTest
 
testAging() - Method in class test.ProphetRouterTest
 
testBinaryEEQ() - Method in class test.ExternalEventsQueueTest
 
testContains() - Method in class test.SettingsTest
 
testCostValues() - Method in class test.MaxPropRouterTest
 
testCreateIntializedObject() - Method in class test.SettingsTest
 
testDeliverableMessageExchange() - Method in class test.EpidemicRouterTest
Tests that messages that can be delivered right a way are delivered first
testDifferentOrdering() - Method in class test.EpidemicRouterTest
Test unexpected ordering of finalizations and message transfers.
testDifferentRngSeeds() - Method in class test.PointsOfInterestTest
 
testDone() - Method in class test.AdjacencyGraphvizReportTest
 
testDone() - Method in class test.MessageGraphvizReportTest
 
testDoubleDelivery() - Method in class test.EpidemicRouterTest
Tests if rejecting already delivered message(s) work
TestDTNHost - Class in test
A test stub of DTNHost for testing.
TestDTNHost() - Constructor for class test.TestDTNHost
 
testDuplicateValues() - Method in class test.ScheduledUpdatesQueueTest
 
testEEQ() - Method in class test.ExternalEventsQueueTest
 
testEmptyRunIndex() - Method in class test.SettingsTest
Test filling empty values of run index from secondary namespace
testFifoSendingQ() - Method in class test.EpidemicRouterTest
 
testFinalizeTransfer() - Method in class test.ConnectionTest
 
testFromFile() - Method in class test.WKTReaderTest
 
testFromString() - Method in class test.WKTReaderTest
 
testFullProb() - Method in class test.PointsOfInterestTest
Tests full probability for one node group
testGanularity05() - Method in class test.ContactTimesReportTest
 
testGetBoolean() - Method in class test.SettingsTest
 
testGetCsvDoubles() - Method in class test.SettingsTest
 
testGetCsvDoublesUnknownAmount() - Method in class test.SettingsTest
 
testGetCsvInts() - Method in class test.SettingsTest
 
testGetCsvIntsUnknownAmount() - Method in class test.SettingsTest
 
testGetCsvSetting() - Method in class test.SettingsTest
 
testGetDouble() - Method in class test.SettingsTest
 
testGetInt() - Method in class test.SettingsTest
 
testGetOtherNode() - Method in class test.ConnectionTest
 
testGetPath() - Method in class test.MapBasedMovementTest
 
testGetRemainingByteCount() - Method in class test.ConnectionTest
 
testGetSetting() - Method in class test.SettingsTest
 
testGetTotalBytesTransferred() - Method in class test.ConnectionTest
 
testGetTransferDoneTime() - Method in class test.ConnectionTest
 
testGranularity10() - Method in class test.ContactTimesReportTest
 
testGranularity2() - Method in class test.ContactTimesReportTest
 
testHashCode() - Method in class test.CoordTest
 
testHostMoving() - Method in class test.MapBasedMovementTest
 
testInterlavedRequests() - Method in class test.ScheduledUpdatesQueueTest
 
testInvalidRunIndex() - Method in class test.SettingsTest
 
testIsActive() - Method in class test.ActivenessHandlerTest
 
testIsInitiator() - Method in class test.ConnectionTest
 
testIsMessageTransferred() - Method in class test.ConnectionTest
 
testIsReadyForTransfer() - Method in class test.ConnectionTest
 
testManyMapTypeNodes() - Method in class test.MapBasedMovementTest
 
testManyMessages() - Method in class test.EpidemicRouterTest
Checks that delivering many messages in a row works
testMapCache() - Method in class test.MapBasedMovementTest
Tests the SimMap caching feature
testMapOperations() - Method in class test.WKTReaderTest
 
testMessageRelayAbort() - Method in class test.EpidemicRouterTest
Tests aborting transfer when connections is disconnected during the transfer
testMessageTransferred() - Method in class test.DistanceDelayReportTest
 
testMoreTimes() - Method in class test.ActivenessHandlerTest
 
testMovement() - Method in class test.ExternalMovementTest
 
testMpsTimeStamps() - Method in class test.MaxPropRouterTest
Tests that more recent meeting probability sets replace older ones but not vice versa.
testMultiLineString() - Method in class test.WKTReaderTest
 
testMultipleMapFiles() - Method in class test.WKTReaderTest
 
testMultipleTimes() - Method in class test.TotalContactTimeReportTest
 
testNegativeAndZeroValues() - Method in class test.ScheduledUpdatesQueueTest
 
testNewMessageToFullBufferWhileTransferring() - Method in class test.EpidemicRouterTest
Tests creating a new message when the message buffer is full and the message that should be removed is the message being sent
testNodeByCoord() - Method in class test.MapNodeTest
 
testNoRun() - Method in class test.SettingsTest
Tests disabled run-specific variables
testOkNodes() - Method in class test.PointsOfInterestTest
 
testOneMapTypeNode() - Method in class test.MapBasedMovementTest
 
testOverlappingTimes() - Method in class test.TotalContactTimeReportTest
 
testPath() - Method in class test.MaxPropDijkstraTest
 
testPathFinding() - Method in class test.DijkstraPathFinderTest
 
testPoiSelection() - Method in class test.PointsOfInterestTest
 
testProbabilitySumsToOne() - Method in class test.MaxPropDijkstraTest
 
testProbabilityValuesFromThePaper() - Method in class test.MaxPropDijkstraTest
Tests the values that are given as an example in the original paper
testQueueManagement() - Method in class test.EpidemicRouterTest
Tests if the FIFO queue management works
testRandomSendingQ() - Method in class test.EpidemicRouterTest
 
testReadContents() - Method in class test.WKTReaderTest
 
testReader() - Method in class test.ExternalMovementReaderTest
 
testReader() - Method in class test.WKTPointReaderTest
 
testReport() - Method in class test.ContactTimesReportTest
 
testReport() - Method in class test.TotalContactTimeReportTest
 
testResponse() - Method in class test.EpidemicRouterTest
 
testRouter() - Method in class test.EpidemicRouterTest
Tests routing messages between three hosts
testRouting() - Method in class test.MaxPropRouterTest
 
testRouting() - Method in class test.ProphetRouterTest
Tests normal routing
testRunIndex() - Method in class test.SettingsTest
 
testRunIndexContains() - Method in class test.SettingsTest
 
testRunIndexCSVs() - Method in class test.SettingsTest
 
TestSettings - Class in test
Class for replacing Settings class in tests.
TestSettings() - Constructor for class test.TestSettings
 
TestSettings(String) - Constructor for class test.TestSettings
 
testStartTransfer() - Method in class test.ConnectionTest
 
testStationary() - Method in class test.ExternalMovementTest
 
testThreshold() - Method in class test.MaxPropRouterTest
 
testTtlExpiry() - Method in class test.EpidemicRouterTest
 
testUpdate() - Method in class test.WorldTest
 
testUpdates() - Method in class test.ScheduledUpdatesQueueTest
 
testUpdateScheduling() - Method in class test.WorldTest
 
TestUtils - Class in test
Generic convenience methods for tests.
TestUtils(List<ConnectionListener>, List<MessageListener>, Settings) - Constructor for class test.TestUtils
Creates a test utils object suitable for creating new hosts.
testValueFillString() - Method in class test.SettingsTest
 
time - Variable in class input.ExternalEvent
Time of the event (simulated seconds)
toAddr - Variable in class input.ConnectionEvent
address of the node the (dis)connection is to
toAddr - Variable in class input.MessageEvent
address of the node the message is to
toString() - Method in class core.Connection
Returns a String presentation of the connection.
toString() - Method in class core.ConnectivityGrid.GridCell
Returns a string representation of the cell
toString() - Method in class core.ConnectivityGrid
Returns a string representation of the ConnectivityCells object
toString() - Method in class core.Coord
Returns a text representation of the coordinate (rounded to 2 decimals)
toString() - Method in class core.DTNHost
Returns a string presentation of the host.
toString() - Method in class core.Message
Returns a string representation of the message
toString() - Method in class core.NetworkLayer
Returns a string representation of the object.
toString() - Method in class core.Settings
Returns a String representation of the stored settings
toString() - Method in class core.SimClock
Returns the current simulation time in a string
toString() - Method in class core.Tuple
Returns a string representation of the tuple
toString() - Method in class gui.EventLogPanel
 
toString() - Method in class input.ConnectionEvent
 
toString() - Method in class input.ExternalEvent
Returns a String representation of the event
toString() - Method in class input.MessageCreateEvent
 
toString() - Method in class input.MessageDeleteEvent
 
toString() - Method in class input.MessageEvent
 
toString() - Method in class input.MessageRelayEvent
 
toString() - Method in class input.ScheduledUpdatesQueue
 
toString() - Method in class movement.map.MapNode
Returns a String representation of the map node
toString() - Method in class movement.map.MapRoute
 
toString() - Method in class movement.map.SimMap
Returns a String representation of the map
toString() - Method in class movement.MovementModel
Returns simply the name of the movement model class
toString() - Method in class movement.Path
Returns a string presentation of the path's coordinates
toString() - Method in class report.ContactTimesReport.ConnectionInfo
Returns a string representation of the info object
toString() - Method in class routing.maxprop.MeetingProbabilitySet
Returns a String presentation of the probabilities
toString() - Method in class routing.MessageRouter
Returns a String presentation of this router
toString() - Method in class routing.RoutingInfo
Returns the info text of this routing info.
toString() - Method in class test.AbstractRouterTest
 
toString() - Method in class test.MessageChecker
 
TotalContactTimeReport - Class in report
Report for total amount of contact times among hosts.
TotalContactTimeReport() - Constructor for class report.TotalContactTimeReport
 
TotalContactTimeReportTest - Class in test
 
TotalContactTimeReportTest() - Constructor for class test.TotalContactTimeReportTest
 
transferAborted(Connection) - Method in class routing.ActiveRouter
Method is called just before a transfer is aborted at ActiveRouter.update() due connection going down.
transferDone(Connection) - Method in class routing.ActiveRouter
Method is called just before a transfer is finalized at ActiveRouter.update().
transferDone(Connection) - Method in class routing.FirstContactRouter
 
transferDone(Connection) - Method in class routing.MaxPropRouter
Method is called just before a transfer is finalized at ActiveRouter.update().
transferDone(Connection) - Method in class routing.SprayAndWaitRouter
Called just before a transfer is finalized (by ActiveRouter.update()).
TRANSFERRED - Static variable in class input.MessageRelayEvent
Message relay stage constant for ready delivery
transferredFrom - Variable in class test.TestDTNHost
 
transferredId - Variable in class test.TestDTNHost
 
translate(double, double) - Method in class core.Coord
Moves the point by dx and dy
translate(double, double) - Method in class movement.map.SimMap
Translate whole map by dx and dy
TRANSMIT_RANGE_S - Static variable in class core.SimScenario
transmit range -setting id ("transmitRange")
TRANSMIT_SPEED - Static variable in class test.AbstractRouterTest
 
TRANSMIT_SPEED_S - Static variable in class core.SimScenario
transmit speed -setting id ("transmitSpeed")
TRY_LATER_BUSY - Static variable in class routing.MessageRouter
Receive return value for busy receiver
tryAllMessages(Connection, List<Message>) - Method in class routing.ActiveRouter
Goes trough the messages until the other node accepts one for receiving (or doesn't accept any).
tryAllMessagesToAllConnections() - Method in class routing.ActiveRouter
Tries to send all messages that this router is carrying to all connections this node has.
tryMessagesForConnected(List<Tuple<Message, Connection>>) - Method in class routing.ActiveRouter
Tries to send messages for the connections that are mentioned in the Tuples in the order they are in the list until one of the connections starts transferring or all tuples have been tried.
tryMessagesToConnections(List<Message>, List<Connection>) - Method in class routing.ActiveRouter
Tries to send all given messages to all given connections.
ts - Static variable in class test.AbstractRouterTest
 
TTL_CHECK_INTERVAL - Static variable in class routing.ActiveRouter
how often TTL check (discarding old messages) is performed
Tuple<K,V> - Class in core
A generic key-value tuple.
Tuple(K, V) - Constructor for class core.Tuple
Creates a new tuple.
TYPE_ABORT - Variable in class test.MessageChecker
 
TYPE_CREATE - Variable in class test.MessageChecker
 
TYPE_DELETE - Variable in class test.MessageChecker
 
TYPE_NONE - Variable in class test.MessageChecker
 
TYPE_RELAY - Variable in class test.MessageChecker
 
TYPE_START - Variable in class test.MessageChecker
 

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