QuadTreeNeighborCache

Package: inet.physicallayer.wireless.common.neighborcache

compound module QuadTreeNeighborCache

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

QuadTreeNeighborCache

Inheritance diagram

Extends

Name

Type

Description

Module

compound module

Base module for all INET compound modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

radioMediumModule

string

“^”

maxNumOfPointsPerQuadrant

int

refillPeriod

double

Properties

Name

Value

Description

class

QuadTreeNeighborCache

display

i=block/table2

Source code

//
// This neighbor cache model organizes radios in a two-dimensional quad tree
// (ignoring the Z axis) with a constant node size and updates periodically.
//
module QuadTreeNeighborCache extends Module like INeighborCache
{
    parameters:
        string radioMediumModule = default("^");
        int maxNumOfPointsPerQuadrant;
        double refillPeriod @unit(s);
        @display("i=block/table2");
        @class(QuadTreeNeighborCache);
}

File: src/inet/physicallayer/wireless/common/neighborcache/QuadTreeNeighborCache.ned