[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] calcdest doesn't match god
- To: <[email protected]>
- Subject: [ns] calcdest doesn't match god
- From: "Liong Yin-Ling (NRC/Boston)" <[email protected]>
- Date: Mon, 22 Oct 2001 11:50:23 -0400
- Sender: [email protected]
- Thread-Index: AcFYy4JaPyCxscSVEdWuQgAAhjiMKgAAtfkwAJC08rA=
- Thread-Topic: calcdest doesn't match god
Hi,
I used ad-hockey to create a scenarios and calcdest to get the god
information. However, the god information created starts from node 1 to
node N instead of node 0 to node N-1. And this creats a violation in
god.cc when the file call "set god_ [create-god $val(nn)]"
int God::command(int, const char *const *): Assertion 'j>=0 && j <
num_nodes' failed.
I know this could be fixed. But I just feel strange that the calcdest
does not match with the internal range of ns. I would like to know if I
am missing anything here.
Also, when I used the scenario file created from ad-hockey (without
calcdest) directly, the simulation still run and results seem fine. Can
ns generate the god information on the fly right now?
Thanks,
Venus
----------
Yin-Ling (Venus) Liong
Nokia Research Center (NRC-Boston)
[email protected]
781-993-3778(O)
781-929-3433(M)