D2dModeSelectionBase

Package: simu5g.stack.d2d.rrc

D2dModeSelectionBase

simple module

Base module for D2D Mode Selection modules.

Extend this module to implement new mode selection policies. It periodically executes the mode selection algorithm and, for flows that need to be switched, sends a notification to the transmitting endpoint of those flows.

Inheritance diagram

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

Known subclasses

Name Type Description
D2DModeSelectionBestCqi simple module

Implements the mode selection algorithm for D2D communications that selects the mode based on the best Channel Quality Indicator (CQI). It evaluates the CQI for each D2D-capable flow and selects the communication mode that provides the best performance in terms of achievable data rate. The primary goal is to optimize data transmission quality and efficiency by dynamically switching between modes based on CQI measurements.

Parameters

Name Type Default value Description
modeSelectionPeriod double 1s
binderModule string "binder"
macModule string "^.^.mac"

Source code

//
// Base module for D2D Mode Selection modules.
//
// Extend this module to implement new mode selection policies.
// It periodically executes the mode selection algorithm and, for flows
// that need to be switched, sends a notification to the transmitting
// endpoint of those flows.
//
simple D2dModeSelectionBase like ID2DModeSelection
{
    parameters:
        double modeSelectionPeriod @unit(s) = default(1s);
        string binderModule = default("binder");
        string macModule = default("^.^.mac");
}

File: src/simu5g/stack/d2d/rrc/D2dModeSelectionBase.ned