Commit 6fec4d5d authored by caminha's avatar caminha
Browse files

minor stuff

parent 78329724
......@@ -11,7 +11,7 @@ import seaborn as sb
from matplotlib.backends.backend_pdf import PdfPages
from subprocess import Popen, PIPE
sb.set(context='paper', font_scale=1.8, style='ticks', palette='deep',
sb.set(context='paper', font_scale=1.8, style='ticks', palette='Paired',
rc={'lines.linewidth': 1.5, 'lines.markersize': 10})
pd.set_option('display.max_rows', None)
......
......@@ -99,7 +99,6 @@ SubscriptionConsumer::SendPacket()
return;
Ptr<UniformRandomVariable> rand = CreateObject<UniformRandomVariable>();
std::set<uint> pickedPrefixes;
if (randomInterestPrefixes.empty())
{
......@@ -322,6 +321,12 @@ SubscriptionConsumer::getSubscriptionCount() const
return subscriptionCount;
}
std::set<uint>
SubscriptionConsumer::getPickedPrefixes () const
{
return pickedPrefixes;
}
Time
SubscriptionConsumer::GetSubInterval() const
{
......
......@@ -100,6 +100,9 @@ public:
std::map<Name, double>
getAvgDataDelay() const;
std::set<uint>
getPickedPrefixes () const;
protected:
static randomTransformations transformationsAndParameters;
static InterestPrefixes randomInterestPrefixes;
......@@ -109,6 +112,7 @@ protected:
Time m_subscriptionInterval, startTime, firstDataTime;
time::steady_clock::TimePoint interestTransmission;
std::list<Name> prefixList;
std::set<uint> pickedPrefixes;
long receivedDatapkts = 0;
size_t subscriptionCount = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment