25 #ifndef RTT_ESTIMATOR_H
26 #define RTT_ESTIMATOR_H
29 #include "ns3/sequence-number.h"
30 #include "ns3/nstime.h"
31 #include "ns3/object.h"
115 virtual void Reset ();
197 void Gain (
double g);
Time m_currentEstimatedRtt
keep track of time values and allow control of global simulation resolution
smart pointer class similar to boost::intrusive_ptr
virtual Ptr< RttEstimator > Copy() const =0
static TypeId GetTypeId(void)
virtual Time RetransmitTimeout()=0
Returns the estimated RTO. Pure virtual function.
The "Mean--Deviation" RTT estimator, as discussed by Van Jacobson.
static TypeId GetTypeId(void)
Time m_initialEstimatedRtt
virtual TypeId GetInstanceTypeId(void) const
virtual void ResetMultiplier()
Resets the estimation multiplier to 1.
Time GetCurrentEstimate(void) const
gets the current RTT estimate.
Base class for all RTT Estimators.
RttHistory(SequenceNumber32 s, uint32_t c, Time t)
std::deque< RttHistory > RttHistory_t
virtual void Measurement(Time t)=0
Add a new measurement to the estimator. Pure virtual function.
virtual void SentSeq(SequenceNumber32 seq, uint32_t size)
Note that a particular sequence has been sent.
Time GetMinRto(void) const
Get the Minimum RTO.
Time RetransmitTimeout()
Returns the estimated RTO.
void SetMinRto(Time minRto)
Sets the Minimum RTO.
virtual void Reset()
Resets the estimation to its initial state.
void Reset()
Resets sthe estimator.
virtual void IncreaseMultiplier()
Increase the estimation multiplier up to MaxMultiplier.
Ptr< RttEstimator > Copy() const
void Measurement(Time measure)
Add a new measurement to the estimator.
virtual TypeId GetInstanceTypeId(void) const
Helper class to store RTT measurements.
void SetCurrentEstimate(Time estimate)
Sets the current RTT estimate (forcefully).
virtual void ClearSent()
Clear all history entries.
void Gain(double g)
Sets the estimator Gain.
a base class which provides memory management and object aggregation
a unique identifier for an interface.
virtual Time AckSeq(SequenceNumber32 ackSeq)
Note that a particular ack sequence has been received.