2016年2月8日 星期一

ns2 的 GOD

好像該開始學ns3了... (離題 XD)


在tcl裡, 會有這個參數
set god_ [create-god $val(nn)]

這邊的god全名是 General Operations Director

這個網頁有GOD的介紹
http://www.mathcs.emory.edu/~cheung/Courses/558/Syllabus/18-WirelessSim/intro.html

以下是那個網頁提到的內容 (貼過來順便當備份)

"God (General Operations Director) is the object that is used to store global information about the state of the environment, network or nodes that an omniscent observer would have, but that should not be made known to any participant in the simulation."
  • Currently, the God object stores:
    • the total number of mobilenodes
    • a table of shortest number of hops required to reach from one node to another.
  • The next hop information is normally loaded into god object from movement pattern files, before simulation begins.That is because calculating this on the fly during simulation runs can be quite time consuming.

沒有留言: