Loads a mutual information file and provide query service. More...
#include "satellite-mutual-information-table.h"
Inheritance diagram for ns3::SatMutualInformationTable:
Collaboration diagram for ns3::SatMutualInformationTable:Public Member Functions | |
| SatMutualInformationTable (std::string mutualInformationPath) | |
| Constructor with initialization parameters. More... | |
| virtual | ~SatMutualInformationTable () |
| Destructor for SatMutualInformationTable. More... | |
| double | GetBeta () const |
| Get the value of beta. More... | |
| double | GetNormalizedSymbolInformation (double snirDb) const |
| Get the Normalized Symbol Information corresponding to a given SNIR. More... | |
| double | GetSnirDb (double symbolInformationTarget) const |
| Get the SNIR in dB for a given Normalized Symbol Information target. More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId () |
| Get the type ID. More... | |
Private Member Functions | |
| virtual void | DoDispose () |
| void | Load (std::string mutualInformationPath) |
| Load the mutual information. More... | |
Private Attributes | |
| double | m_beta |
| The adjusting factor beta. More... | |
| std::ifstream * | m_ifs |
| std::vector< double > | m_snirDb |
| std::vector< double > | m_symbolInformation |
Loads a mutual information file and provide query service.
Definition at line 39 of file satellite-mutual-information-table.h.
| ns3::SatMutualInformationTable::SatMutualInformationTable | ( | std::string | mutualInformationPath | ) |
Constructor with initialization parameters.
| mutualInformationPath |
Definition at line 42 of file satellite-mutual-information-table.cc.
References Load().
Here is the call graph for this function:
|
virtual |
Destructor for SatMutualInformationTable.
Definition at line 49 of file satellite-mutual-information-table.cc.
|
privatevirtual |
Definition at line 55 of file satellite-mutual-information-table.cc.
References m_ifs, m_snirDb, and m_symbolInformation.
|
inline |
Get the value of beta.
Definition at line 76 of file satellite-mutual-information-table.h.
References m_beta.
| double ns3::SatMutualInformationTable::GetNormalizedSymbolInformation | ( | double | snirDb | ) | const |
Get the Normalized Symbol Information corresponding to a given SNIR.
| snirDb | SNIR in logarithmic scale |
Definition at line 90 of file satellite-mutual-information-table.cc.
References ns3::SatUtils::Interpolate(), m_snirDb, and m_symbolInformation.
Here is the call graph for this function:| double ns3::SatMutualInformationTable::GetSnirDb | ( | double | symbolInformationTarget | ) | const |
Get the SNIR in dB for a given Normalized Symbol Information target.
| Normalized | Symbol Information target (0-1) |
Definition at line 148 of file satellite-mutual-information-table.cc.
References ns3::SatUtils::Interpolate(), m_snirDb, and m_symbolInformation.
Here is the call graph for this function:
|
static |
Get the type ID.
Definition at line 77 of file satellite-mutual-information-table.cc.
References m_beta.
|
private |
Load the mutual information.
| mutualInformationPath | Path to a mutual information file. |
Definition at line 205 of file satellite-mutual-information-table.cc.
References m_ifs, m_snirDb, and m_symbolInformation.
Referenced by SatMutualInformationTable().
Here is the caller graph for this function:
|
private |
The adjusting factor beta.
Definition at line 97 of file satellite-mutual-information-table.h.
Referenced by GetBeta(), and GetTypeId().
|
private |
Definition at line 92 of file satellite-mutual-information-table.h.
Referenced by DoDispose(), and Load().
|
private |
Definition at line 90 of file satellite-mutual-information-table.h.
Referenced by DoDispose(), GetNormalizedSymbolInformation(), GetSnirDb(), and Load().
|
private |
Definition at line 91 of file satellite-mutual-information-table.h.
Referenced by DoDispose(), GetNormalizedSymbolInformation(), GetSnirDb(), and Load().