我是ns-3的新手,当我在ns-3中创建新场景时,我不知道如何使用内容存储参数。我一直在改变大小,但结果似乎没有太大变化。关于如何有效地使用内容存储,有什么建议吗?
ndn::StackHelper ndnHelper;
ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize", "100");
ndnHelper.InstallAll()发布于 2017-03-02 19:26:45
尝试使用以下命令更改CS大小
Config::Set ("/NodeList/0/$ns3::ndn::ContentStore/MaxSize", UintegerValue (1)); // number after nodeList is global ID of the node (= node->GetId ())
Config::Set ("/NodeList/1/$ns3::ndn::ContentStore/MaxSize", UintegerValue (2));
Config::Set ("/NodeList/2/$ns3::ndn::ContentStore/MaxSize", UintegerValue (200));来源:http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-February/000080.html
https://stackoverflow.com/questions/41958201
复制相似问题