NS2 中的 AntNet 模拟

AntNet simulation in NS2

本文关键字:模拟 AntNet 中的 NS2      更新时间:2023-10-16

所以我正在尝试在ns-2.34上运行基于ACO的协议"AntNet",当我尝试通过命令ns antnet.tcl运行antnet tcl脚本时,我目前收到此错误。有人可以帮忙吗?这是我得到的错误:

--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---_o21:插槽4294967295没有目标_o21类型:分类器/哈希/目标内容转储:分类器_o210 偏移量0班2147483647面膜1 个插槽插槽 3:_o401(分类器/端口)-1 默认值---------- 完成标准无插槽{}默认处理程序----------

我正在使用 Ubuntu 12.04 LTS。

谢谢。


上述来自antnet.tcl的错误出现在任何"Linux操作系统"上。到目前为止,我们没有找到解决方案。

→ http://www.linuxquestions.org/questions/tags/antnet/

→ → http://www.linuxquestions.org/questions/linux-newbie-8/problem-running-an-antnet-tcl-script-4175539390/


。建议使用Anthocnet。https://groups.google.com/forum/?fromgroups#!searchin/ns-users/anthocnet|sort:date/ns-users/5zo35GmF4ds/osfCeA6x6dcJ

→ anthocnet_ns234.补丁.gz→ https://drive.google.com/file/d/0B7S255p3kFXNTTNVU1p4N1Exbnc/view?usp=sharing完全→ →$ SVN 结帐 svn://svn.code.sf.net/p/anthocnet/code/anthocnet-code..... 除了两个.jar文件ns-2.34/anthocnet/tcl/libs/{ anthocnet-tcl-1.0.jar, commons-io-2.1.jar }.

"罐子的 https://drive.google.com/file/d/0B7S255p3kFXNNy1Edm9JSHBuY0k/view?usp=sharing

anthocnet_ns235补丁 : https://drive.google.com/file/d/0B7S255p3kFXNOXN1T1V2a1pPYjg/view?usp=sharing