Implementing Poisson Process for consumer requests (exponential distribution for inter-arrival times)
diff --git a/examples/synthetic-topology.cc b/examples/synthetic-topology.cc
index 39c45eb..0b03c7c 100644
--- a/examples/synthetic-topology.cc
+++ b/examples/synthetic-topology.cc
@@ -91,15 +91,19 @@
CcnxAppHelper consumerHelper ("ns3::CcnxConsumer");
consumerHelper.SetPrefix ("/6");
+ consumerHelper.SetAttribute ("MeanRate", StringValue ("1Mbps"));
ApplicationContainer consumers = consumerHelper.Install (Names::Find<Node> ("/synthetic", "c1"));
consumerHelper.SetPrefix ("/7");
+ consumerHelper.SetAttribute ("MeanRate", StringValue ("2Mbps"));
ApplicationContainer consumers2 = consumerHelper.Install(Names::Find<Node> ("/synthetic", "c2"));
consumerHelper.SetPrefix ("/8");
+ consumerHelper.SetAttribute ("MeanRate", StringValue ("3Mbps"));
ApplicationContainer consumers3 = consumerHelper.Install(Names::Find<Node> ("/synthetic", "c3"));
consumerHelper.SetPrefix ("/10");
+ consumerHelper.SetAttribute ("MeanRate", StringValue ("10Mbps"));
ApplicationContainer consumers4 = consumerHelper.Install(Names::Find<Node> ("/synthetic", "c4"));
consumers.Start (Seconds (0));