QuadTreeNeighborCache.ned

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

Name Type Description
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.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.physicallayer.wireless.common.neighborcache;

import inet.physicallayer.wireless.common.contract.packetlevel.INeighborCache;

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