31 NS_OBJECT_ENSURE_REGISTERED(SatLooConf);
32 NS_LOG_COMPONENT_DEFINE(
"SatLooConf");
50 {{0.0, 0.5, -25.0, 10, 10, 2, 30},
51 {-10.0, 3.0, -25.0, 10, 10, 2, 30},
52 {-21.0, 4.0, -25.0, 10, 10, 2, 30}}};
57 static TypeId tid = TypeId(
"ns3::SatLooConf")
59 .AddConstructor<SatLooConf>()
60 .AddAttribute(
"ElevationCount",
61 "Number of elevation sets in the Markov model.",
64 MakeUintegerChecker<uint32_t>())
65 .AddAttribute(
"StateCount",
66 "Number of states in the Markov model.",
69 MakeUintegerChecker<uint32_t>());
77 NS_LOG_FUNCTION(
this);
81 std::vector<std::vector<double>> states;
85 std::vector<double> parameters;
91 states.push_back(parameters);
99 NS_LOG_FUNCTION(
this);
104 std::vector<std::vector<double>>
107 NS_LOG_FUNCTION(
this << set);
111 NS_FATAL_ERROR(
"SatLooConf::GetParameters - Invalid set");
120 NS_LOG_FUNCTION(
this);
134 NS_LOG_FUNCTION(
this);
137 SatBaseFaderConf::DoDispose();
Base class for fader configuration classes.
std::vector< std::vector< double > > GetParameters(uint32_t set)
Function for getting the Loo parameters.
uint32_t m_elevationCount
Number of parameters sets.
static const uint32_t DEFAULT_LOO_PARAMETER_COUNT
Default Loo parameter count.
std::vector< std::vector< std::vector< double > > > m_looParameters
Loo's model parameters.
uint32_t m_stateCount
Number of states.
void DoDispose()
Do needed dispose actions.
void Reset()
Clear used variables.
static TypeId GetTypeId(void)
NS-3 function for type id.
A configuration class for three state Markov model.
static const uint32_t DEFAULT_ELEVATION_COUNT
Default elevation count.
static const uint32_t DEFAULT_STATE_COUNT
Default state count.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.
static const double g_LooParameters[SatMarkovConf::DEFAULT_ELEVATION_COUNT][SatMarkovConf::DEFAULT_STATE_COUNT][SatLooConf::DEFAULT_LOO_PARAMETER_COUNT]