Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][Thread Next][
Date Index][
Thread Index]
Re: [omnetpp] How to get connected neigboring nodes in Mobility Framework
OK,
there are basically two possibilities to get neighborhood information:
a "push" and a "pull" mechanism.
push means, each node periodically broadcasts a "Hello, I am here" message,
containing all the desired neighborhood information. If you want to learn who
your neighbors are you just need to listen for these messages.
pull means, that you need to explicitly request this information by sending a
message "who is out there?". All neighbors receiving this message should
reply with the desired information, so that you will know who your neighbors
are.
Of course, in both approaches there is the problem of messages losses, ... so
you should probably look a little bit into literature to see what is already
out there...
The other option (the God view) is that you assume each node already knows who
its neighbors are. That means you don't care how and why it knows it, but you
assume it does. You have to be very careful with this assumption and
doublecheck whether this is appropriate for your problem.
However, if this is the assumption you want to make, you can use
ChannelControl. It knows the positions of all nodes and also who is connected
with whom.
Best
Daniel
On Donnerstag, 10. Juli 2008, Solo Zhang wrote:
> Hi, Daniel, sorry for the confusion. My problem is that I want to implement
> my own algorithm, so I need to retrieve the connected neighboring nodes of
> each node. Are there any modules I can use for this? Thanks.
>
> Best regards, Solo
>
>
> ----- Original Message ----
> From: Daniel Willkomm <willkomm at xxx>
> To: omnetpp-l at xxx
> Cc: Solo Zhang <solonilia at xxx>
> Sent: Thursday, 10 July, 2008 1:22:24 PM
> Subject: Re: [omnetpp] How to get connected neigboring nodes in Mobility
> Framework
>
> The question is what you mean by "get"
> Normally protocols are used to get neighborhood information.
> So depending on what you need you should implement a protocol to get the
> desired information.
>
> If you are talking about the "good view" (i.e. information taht is not
> present in a real network but only in simulation) ChannelControl is the
> module you are looking for
>
> Cheers,
>
> Daniel
>
> On Donnerstag, 10. Juli 2008, Solo Zhang wrote:
> > Hi, everyone, I would like to know how I can get the connected
> > neighboring nodes within the simulation network of Mobility framework. Is
> > it right to use the cTopology class in the OMNET api? Thanks.
> >
> >
> >
> > __________________________________________________________
> > Not happy with your email address?.
> > Get the one you really want - millions of new email addresses available
> > now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
> > _______________________________________________
> > OMNeT++ Mailing List
> > options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
> > archive: http://www.omnetpp.org/listarchive/index.php
--
-----------------------------------------
o Dipl.-Ing. Daniel Willkomm
o TU-Berlin
o Telecommunication Networks Group
o http://www.tkn.tu-berlin.de/~willkomm/
o Mail: willkomm at xxx
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php
Home |
Main Index |
Thread Index