NS2 的 TCL 脚本生成器
是否有用于 NS2 的开源 TCL 脚本生成器? NS2 附带有 NAM。还有什么事情吗。如果有一个基于网络的就太好了!
Is there an open source TCL script generator for NS2? There is NAM that comes with NS2. Is there anything else. A web based one would be great!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
NSG 是一个很好的免费 TCL 代码生成器。请查看
https://sites.google.com/site/pengjungwu/nsg
您可以还想查看 mannasim
http://www.mannasim.dcc.ufmg.br/
NSG is a good TCL code generator that is free. Check out
https://sites.google.com/site/pengjungwu/nsg
You may also want to check out mannasim
http://www.mannasim.dcc.ufmg.br/
通用 Tcl 脚本生成器?这相当棘手,因为 Tcl 实际上是一种通用编程语言。但如果您只对生成简单的程序感兴趣,那么这并不难。 Tcl 命令是由空格分隔并以换行符终止的单词序列。如果您的字符是 Tcl 的元字符,您可以通过在前面放置反斜杠来引用它们(换行符除外;将其替换为
\n
)。任何比简单调用更复杂的事情都可能被归入一个过程,但我怀疑您是否需要任何特别复杂的 NS2 脚本。如果你想要预先写好的东西,有 NSG 但我不知道对它了解不多。它是 Java 的,不是基于 Web 的。
A general Tcl script generator? That's quite tricky, as Tcl's really a general programming language. But if you're interested in just generating simple programs, it's not that hard. A Tcl command is a sequence of words separated by spaces and terminated by a newline character. Where you've got characters that are Tcl's metacharacters, you can quote them by putting a backslash in front (except for newline; replace that with
\n
instead). Anything more complicated than a simple call can probably be relegated to a procedure, but I doubt you need anything particularly complex for NS2 scripts.If you want something pre-written, there's NSG but I don't know very much about it. It's Java, not web-based.
该操作系统对TCL脚本的编写非常友好。
还有几个工具包括他。 Mannasim、Castalia、OMNET++...
查看:http://sourceforge.net/projects/liowsn/
This operation system is user-friendly to criation of the TCL scripts.
There also several tools includes him. Mannasim, Castalia, OMNET++...
Look: http://sourceforge.net/projects/liowsn/