Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看过这篇文章,也有类似的问题。
我希望在节点达到某个吞吐量时关闭它。如帖子中所述,“ rtmodel-at”方法不起作用。该帖子的答案提到了在运行时更改链接的延迟。我想知道是否可以使用答案中提到的技术在运行时启动/关闭链接状态。为此目的,有一种方法“ Link instproc down {} {}” 。ns-2.35/tcl/lib/ns-link.tcl
rtmodel-at
Link instproc down {} {}
ns-2.35/tcl/lib/ns-link.tcl
如何Link instproc down {} {}从模拟脚本中调用“”?