若是我們要在NS2中產生一個亂數產生器,並把種子設定為2,則可以把下面的程式碼放入tcl code中。 set rng [new RNG]. $rng seed 2. 當random variable產生之後,接下來 ...
確定! 回上一頁