Simple Module NeighborCache

Package: oversim.common
File: src/common/NeighborCache.ned

C++ definition: click here

Module for collecting neighborhood information (rtt, coordinates, ...)

Author: Bernhard Heep

Author: Antonio Zea

NeighborCache

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

InetOverlayHost (compound module)

Host that participates in the overlay

OverlayAccessRouter (compound module)

Access router that participates in the overlay

OverlayRouter (compound module)

Router in the overlay network

SimpleMultiOverlayHost (compound module)

Host in the simple network that participates in the overlay

SimpleOverlayHost (compound module)

Host in the simple network that participates in the overlay

SingleHost (compound module)

simulates a single host to connect it to a real network

Parameters:

Name Type Default value Description
enableNeighborCache bool

use neighbor cache for reducing ping traffic?

rttExpirationTime double

expiration of the validity of the measured rtts

maxSize double

maximum size of the cache

enableVivaldi bool
useSVivaldi bool
showVivaldiPosition bool
vivaldiErrorConst double
vivaldiCoordConst double
vivaldiDimConst double
vivaldiLossConst double
vivaldiEffectiveSample double

Properties:

Name Value Description
display i=block/table

Source code:

//
// Module for collecting neighborhood information (rtt, coordinates, ...)
// @author Bernhard Heep
// @author Antonio Zea
//
simple NeighborCache
{
    parameters:
        bool enableNeighborCache;  // use neighbor cache for reducing ping traffic?
        double rttExpirationTime @unit(s); // expiration of the validity of the measured rtts
        double maxSize;           // maximum size of the cache

        bool enableVivaldi;
        bool useSVivaldi;
        bool showVivaldiPosition;
        double vivaldiErrorConst;
        double vivaldiCoordConst;
        double vivaldiDimConst;
        double vivaldiLossConst;
        double vivaldiEffectiveSample;
        @display("i=block/table");
}