INeighborCache

Package: inet.physicallayer.contract.packetlevel

INeighborCache

module interface

The neighbor cache model computes the affected set of receivers on the medium for a given transmission.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Implemented by

Name Type Description
GridNeighborCache compound module

This neighbor cache model organizes radios in a 3 dimensional grid with constant cell size and updates periodically.

NeighborListNeighborCache compound module

This neighbor cache model maintains a separate periodically updated neighbor list for each radio.

QuadTreeNeighborCache compound module

This neighbor cache model organizes radios in a 2 dimensional quad tree (ignoring the Z axis) with constant node size and updates periodically.

Used in compound modules

Name Type Description
RadioMedium compound module

The medium model describes the shared physical medium where communication takes place. It keeps track of radios, noise sources, ongoing transmissions, background noise, and other ongoing noises. The medium computes when, where and how transmissions and noises arrive at receivers. It also efficiently provides the set of interfering transmissions and noises for the receivers.

Parameters

Name Type Default value Description
refillPeriod double

Properties

Name Value Description
display i=block/table2

Source code

//
// The neighbor cache model computes the affected set of receivers on the medium
// for a given transmission.
//
moduleinterface INeighborCache
{
    parameters:
        double refillPeriod @unit(s);
        @display("i=block/table2");
}
File: src/inet/physicallayer/contract/packetlevel/INeighborCache.ned