[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ad-hockey displaying last node in the top-left corner
Hi there,
Thanks for your reply. Looking at the source node of ad-hockey, I
managed to get it working after some minor modifications. Yet, ad-hockey
for some reason seems to always follow a numbering scheme of 1 to n
(when generating scenario files as well), although ns, setdest and
relevant tools generated tcl code for a
numbering scheme from 0 to n-1 as you pointed out.
So, I don't really know what assumption is the right one. It works for now.
- Andronikos
Zhenqiang Ye wrote:
>Dear Andronikos:
> Maybe the number of the node_id is different
>ad-hockey. In ns and nam, node id is from 0 to n-1,
>and in ad-hockey, it is from 1 to n.
> I have some impression about this difference, but
>can not find it now. Please check the manual of
>ad-hockey, maybe you can find answer.
> Good luck,
>
>Frank
>
>--- Andronikos Nedos <[email protected]> wrote:
>
>>Hi all,
>>This is odd. I am running the latest version of the
>>ad-hockey (from the
>>CMU site) and when I load
>>up mobility and traffic patterns (generated with
>>setdest and cbrgen.tcl)
>>I always get the last node
>>in the top left corner which does not move and does
>>not contain any
>>waypoint, although the scenario
>>file instructs the node to start from some random
>>position and head
>>towards a few destinations.
>>Another observation is that ad-hockey seems to
>>number the nodes indexed
>>from 1, instead of 0
>>which i think is what ns-2 defaults to.
>>
>>Any thoughts on this one?
>>
>>Help greatly appreciated,
>> - Andronikos
>>
>
>
>=====
>****************************************************
>*Research Assistant (Ph.D student) *
>*Multimedia and Mobile Networking Lab, *
>*Department of Computer Science and Engineering, *
>*University of California, Riverside *
>* http://www.ee.ucr.edu/~zye *
>****************************************************
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>