You have a confusion, willingness does reference to the desirability of a node could be selected like MPR, this doesn’t imply that the node must be included in a route.
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
In theory no, MPRs are only special nodes that distribute TC packets. It is possible to modify dijkstra and to extract the nodes from the stack using the willingness like second criteria (the first is the number of hops).
"The willingness of a node may be set to any integer value from 0 to 7, and specifies how willing a node is to be forwarding traffic on behalf of other nodes. Nodes will, by default, have a willingness WILL_DEFAULT. WILL_NEVER indicates a node which does not wish to carry traffic for other nodes, for example due to resource constraints (like being low on battery). WILL_ALWAYS indicates that a node always should be selected to carry traffic on behalf of other nodes, for example due to resource abundance (like permanent power supply, high capacity interfaces to other nodes)."
Taking into account this words, the route should depend of WILLINGNESS. For example, when UDP traffic is running, it should be carry traffic by node with higher WILLINGNESS (in case when the number of hops is the same).
Is my understanding proper?
--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/8TvnQq0JVuo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
With WILL_NEVER the node should be excluded, in the code the nodes with WILL_NEVER are excluded.
Yes, exactly. This I tried and it works properly. But what about the other values of WILLINGNESS?
They only affect in the computation of the MPR nodes
This should solve the question, and select nodes with better willingness
https://github.com/aarizaq/inetmanet-2.0/commit/9b5e3c846a5bf6b23fec698f0bd7271c170f425f
De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Adam Krasniewski
Enviado el: lunes, 20 de octubre de 2014 18:35
Para: omn...@googlegroups.com; omn...@googlegroups.com
Asunto: RE: [Omnetpp-l] WILLINGNESS in OLSR
Yes, exactly. This I tried and it works properly. But what about the other values of WILLINGNESS?
I have fixed the problem, you can download the modification from github
The value is stored in an internal variable
This avoid the problem
https://github.com/aarizaq/inetmanet-2.0/commit/89e9fb4ed9f8d8853a02cd2804f02483eb42d8b6