NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
_
a
c
e
i
r
s
t
v
+
Enumerator
a
c
d
e
f
i
k
l
m
n
p
r
s
u
v
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
a
d
e
f
i
l
m
n
o
p
r
s
u
v
▼
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
Bug List
►
Modules
►
Namespaces
►
Classes
▼
Files
►
File List
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
ndn-rtt-mean-deviation.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
//
3
// Copyright (c) 2006 Georgia Tech Research Corporation
4
// (c) 2013 University of Arizona
5
// (c) 2013 University of California, Los Angeles
6
//
7
// This program is free software; you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License version 2 as
9
// published by the Free Software Foundation;
10
//
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
//
20
// Author: Rajib Bhattacharjea<raj.b@gatech.edu>
21
// Cheng Yi <yic@email.arizona.edu>
22
// Alexander Afanasyev <alexander.afanasyev@ucla.edu>
23
//
24
25
// Georgia Tech Network Simulator - Round Trip Time Estimation Class
26
// George F. Riley. Georgia Tech, Spring 2002
27
28
#ifndef NDN_RTT_MEAN_DEVIATION_H
29
#define NDN_RTT_MEAN_DEVIATION_H
30
31
#include "
ndn-rtt-estimator.hpp
"
32
33
namespace
ns3
{
34
namespace
ndn
{
35
47
class
RttMeanDeviation
:
public
RttEstimator
{
48
public
:
49
static
TypeId
50
GetTypeId
(
void
);
51
52
RttMeanDeviation
();
53
RttMeanDeviation
(
const
RttMeanDeviation
&);
54
55
virtual
TypeId
56
GetInstanceTypeId
(
void
)
const
;
57
58
void
59
SentSeq
(SequenceNumber32 seq, uint32_t size);
60
Time
61
AckSeq
(SequenceNumber32 ackSeq);
62
void
63
Measurement
(Time measure);
64
Time
65
RetransmitTimeout
();
66
Ptr<RttEstimator>
67
Copy
()
const
;
68
void
69
Reset
();
70
void
71
Gain
(
double
g);
72
73
private
:
74
double
m_gain;
// Filter gain
75
double
m_gain2;
// Filter gain
76
Time m_variance;
// Current variance
77
};
78
79
}
// namespace ndn
80
}
// namespace ns3
81
82
#endif // NDN_RTT_MEAN_DEVIATION
ns3::ndn::RttMeanDeviation::SentSeq
void SentSeq(SequenceNumber32 seq, uint32_t size)
Note that a particular sequence has been sent.
Definition:
ndn-rtt-mean-deviation.cpp:146
ndn-rtt-estimator.hpp
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ns3::ndn::RttMeanDeviation
The modified version of "Mean--Deviation" RTT estimator, as discussed by Van Jacobson that better sui...
Definition:
ndn-rtt-mean-deviation.hpp:47
ns3::ndn::RttMeanDeviation::Copy
Ptr< RttEstimator > Copy() const
Definition:
ndn-rtt-mean-deviation.cpp:121
ns3::ndn::RttMeanDeviation::RetransmitTimeout
Time RetransmitTimeout()
Returns the estimated RTO.
Definition:
ndn-rtt-mean-deviation.cpp:106
ns3::ndn::RttMeanDeviation::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
ndn-rtt-mean-deviation.cpp:77
ns3::ndn::RttMeanDeviation::Reset
void Reset()
Resets the estimation to its initial state.
Definition:
ndn-rtt-mean-deviation.cpp:128
ns3::ndn::RttMeanDeviation::RttMeanDeviation
RttMeanDeviation()
Definition:
ndn-rtt-mean-deviation.cpp:61
ns3
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
content-store-impl.cpp:38
ns3::ndn::RttMeanDeviation::AckSeq
Time AckSeq(SequenceNumber32 ackSeq)
Note that a particular ack sequence has been received.
Definition:
ndn-rtt-mean-deviation.cpp:164
ns3::ndn::RttMeanDeviation::GetTypeId
static TypeId GetTypeId(void)
Definition:
ndn-rtt-mean-deviation.cpp:46
ns3::ndn::RttMeanDeviation::Gain
void Gain(double g)
Definition:
ndn-rtt-mean-deviation.cpp:137
ns3::ndn::RttEstimator
Base class for all RTT Estimators.
Definition:
ndn-rtt-estimator.hpp:61
ns3::ndn::RttMeanDeviation::Measurement
void Measurement(Time measure)
Add a new measurement to the estimator.
Definition:
ndn-rtt-mean-deviation.cpp:83
ndnSIM
utils
ndn-rtt-mean-deviation.hpp
Generated on Sun Feb 24 2019 22:16:08 for ndnSIM by
1.8.15