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
10
namespace
ns3
11
{
12
31
class
NrEesmCc
:
public
NrEesmErrorModel
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
ns3::NrEesmCc
The NrEesmCc class.
Definition
nr-eesm-cc.h:32
ns3::NrEesmCc::ComputeSINR
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
ns3::NrEesmCc::GetTypeId
static TypeId GetTypeId()
Get the type id of the object.
Definition
nr-eesm-cc.cc:26
ns3::NrEesmCc::NrEesmCc
NrEesmCc()
NrEesmCc constructor.
Definition
nr-eesm-cc.cc:15
ns3::NrEesmCc::~NrEesmCc
~NrEesmCc() override
~NrEesmCc
Definition
nr-eesm-cc.cc:20
ns3::NrEesmCc::GetMcsEq
double GetMcsEq(uint8_t mcsTx) const override
Returns the MCS corresponding to the ECR after retransmissions. As the ECR does not change with retra...
Definition
nr-eesm-cc.cc:115
ns3::NrEesmErrorModel
Eesm error model.
Definition
nr-eesm-error-model.h:78
ns3::NrErrorModel::NrErrorModelHistory
std::vector< Ptr< NrErrorModelOutput > > NrErrorModelHistory
Vector of previous output.
Definition
nr-error-model.h:109
model
nr-eesm-cc.h
Generated on Fri Apr 25 2025 15:16:03 for 5G-LENA by
1.9.8