5G-LENA nr-v3.3-159-ga6832aa7
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-eesm-cc.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_CC_H
6#define NR_EESM_CC_H
7
8#include "nr-eesm-error-model.h"
9
10namespace ns3
11{
12
32{
33 public:
38 static TypeId GetTypeId();
42 NrEesmCc();
46 ~NrEesmCc() override;
47
48 protected:
59 double ComputeSINR(const SpectrumValue& sinr,
60 const std::vector<int>& map,
61 uint8_t mcs,
62 uint32_t sizeBit,
63 const NrErrorModel::NrErrorModelHistory& sinrHistory) const override;
64
73 double GetMcsEq(uint8_t mcsTx) const override;
74};
75
76} // namespace ns3
77
78#endif // NR_EESM_CC_H
The NrEesmCc class.
Definition nr-eesm-cc.h:32
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-CC.
Definition nr-eesm-cc.cc:33
static TypeId GetTypeId()
Get the type id of the object.
Definition nr-eesm-cc.cc:26
NrEesmCc()
NrEesmCc constructor.
Definition nr-eesm-cc.cc:15
~NrEesmCc() override
~NrEesmCc
Definition nr-eesm-cc.cc:20
double GetMcsEq(uint8_t mcsTx) const override
Returns the MCS corresponding to the ECR after retransmissions. As the ECR does not change with retra...
std::vector< Ptr< NrErrorModelOutput > > NrErrorModelHistory
Vector of previous output.