5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-eesm-ir.h
1// Copyright (c) 2020 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
2//
3// SPDX-License-Identifier: GPL-2.0-only
4
5#ifndef NR_EESM_IR_H
6#define NR_EESM_IR_H
7
8#include "nr-eesm-error-model.h"
9
10namespace ns3
11{
12
34{
35 public:
40 static TypeId GetTypeId();
44 NrEesmIr();
48 ~NrEesmIr() override;
49
50 protected:
51 // Inherited from NrEesmErrorModel
63 double ComputeSINR(const SpectrumValue& sinr,
64 const std::vector<int>& map,
65 uint8_t mcs,
66 uint32_t sizeBit,
67 const NrErrorModel::NrErrorModelHistory& sinrHistory) const override;
68
78 double GetMcsEq(uint8_t mcsTx) const override;
79
80 private:
81 double m_Reff{0.0};
82};
83
84} // namespace ns3
85#endif // NR_EESM_IR_H
Eesm error model, based on the IR HARQ.
Definition nr-eesm-ir.h:34
double ComputeSINR(const SpectrumValue &sinr, const std::vector< int > &map, uint8_t mcs, uint32_t sizeBit, const NrErrorModel::NrErrorModelHistory &sinrHistory) const override
Computes the effective SINR after retransmission combining with HARQ-IR. Also, it updates the equival...
Definition nr-eesm-ir.cc:33
~NrEesmIr() override
~NrEesmIr deconstructor
Definition nr-eesm-ir.cc:20
NrEesmIr()
NrEesmIr constructor.
Definition nr-eesm-ir.cc:15
double GetMcsEq(uint8_t mcsTx) const override
Returns the MCS corresponding to the ECR after retransmissions. In case of HARQ-IR the equivalent ECR...
Definition nr-eesm-ir.cc:74
static TypeId GetTypeId()
Get the type id of the object.
Definition nr-eesm-ir.cc:26
std::vector< Ptr< NrErrorModelOutput > > NrErrorModelHistory
Vector of previous output.