[ndnSIM] ConsumerZipfMandelbrot alpha value?

John Baugh jpbaugh at umich.edu
Sat Nov 25 20:40:48 PST 2017


No idea how I missed that!!  Thanks!

On Nov 25, 2017 9:54 PM, "Renato Cavalcante" <renato.frca at gmail.com> wrote:

> Dear Jhon
>
> I also noticed this in some papers.
> This class: http://ndnsim.net/2.4/doxygen/ndn-consumer-zipf-mandelbrot_
> 8cpp_source.html,
>
> has the alpha attribute equal to 0.7 as default:
> .AddAttribute ("s", "parameter of power", StringValue ("0.7"))
>
> In this example, I changed alpha for 1.0
> ndn::AppHelper consumerHelper("ns3::ndn::ConsumerZipfMandelbrot");
> consumerHelper.SetAttribute("s", StringValue("1.0"));
>
> I hope that help in some thing.
>
>
> 2017-11-25 5:23 GMT-03:00 John Baugh <jpbaugh at umich.edu>:
>
>> Greetings ndnSIM friends,
>>
>>
>> I assume there is a way to modify the alpha value of the Zipf-like
>> distribution used by ConsumerZipfMandelbrot.  My understanding may be
>> slightly off, but it appears that the consumer of type ZipfMandelbrot uses
>> Zipf's law purely (with alpha value = 1) - but most studies perform
>> research with the alpha value set to say, 0.9 or 0.8, since this is
>> generally more realistic.
>>
>> Any information would be useful.
>>
>> Thanks!
>>
>> John
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>>
>
>
> --
> Renato Araújo
> Computer Science Department
> UFBA -- Brazil
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171125/457e3bbe/attachment.html>


More information about the ndnSIM mailing list