30 NS_OBJECT_ENSURE_REGISTERED(SatLooConf);
31 NS_LOG_COMPONENT_DEFINE(
"SatLooConf");
49 {{0.0, 0.5, -25.0, 10, 10, 2, 30},
50 {-10.0, 3.0, -25.0, 10, 10, 2, 30},
51 {-21.0, 4.0, -25.0, 10, 10, 2, 30}}};
56 static TypeId tid = TypeId(
"ns3::SatLooConf")
58 .AddConstructor<SatLooConf>()
59 .AddAttribute(
"ElevationCount",
60 "Number of elevation sets in the Markov model.",
63 MakeUintegerChecker<uint32_t>())
64 .AddAttribute(
"StateCount",
65 "Number of states in the Markov model.",
68 MakeUintegerChecker<uint32_t>());
76 NS_LOG_FUNCTION(
this);
80 std::vector<std::vector<double>> states;
84 std::vector<double> parameters;
90 states.push_back(parameters);
98 NS_LOG_FUNCTION(
this);
103 std::vector<std::vector<double>>
106 NS_LOG_FUNCTION(
this << set);
110 NS_FATAL_ERROR(
"SatLooConf::GetParameters - Invalid set");
119 NS_LOG_FUNCTION(
this);
133 NS_LOG_FUNCTION(
this);
136 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]