INeighborCache

Package: inet.physicallayer.wireless.common.contract.packetlevel

module interface INeighborCache

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

Usage diagram

Inheritance diagram

Implemented by

Name

Type

Description

GridNeighborCache

compound module

This neighbor cache model organizes radios in a three-dimensional grid with a 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 two-dimensional quad tree (ignoring the Z axis) with a 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/wireless/common/contract/packetlevel/INeighborCache.ned