[RoutingTable] advanced metrics ETX, ETT

35 views
Skip to first unread message

Lukasz Lyjak

unread,
Mar 8, 2010, 8:05:05 AM3/8/10
to omnetpp
Hello,
I've implemented ETX and ETT metric (My simulations relate 802.11-
based mesh networks). I'd like to use these metrics as link quality
indicators. So I need to have metric which type is double. Original
implementation assumes that metric type is int so it's impossible to
store ETX or ETT. I'd like to subclass original classes but I have
little amount of time to aplying changes and testing it.Maybe someone
has already done changing metrics in routing table and can provide
info which methods should be overloaded.
Thanks in advance for help.
Rgds,
Luka

Alfonso Ariza

unread,
Mar 8, 2010, 11:26:22 AM3/8/10
to omn...@googlegroups.com

I have implemented in inetmanet this metrics and the value is property of
the link layer. If you are asking for the cost in the routing table you don't
need change this value. It's the routing protocol where it's necessary to
manage the cost like double and find the minimum path,

PD: Always it's possible to use integer for to store fixed precision float
values.

--------------------------------------------------
From: "Lukasz Lyjak" <lukas...@gmail.com>
Sent: Monday, March 08, 2010 2:05 PM
To: "omnetpp" <omn...@googlegroups.com>
Subject: [Omnetpp-l] [RoutingTable] advanced metrics ETX, ETT

> --
> You received this message because you are subscribed to the Google Groups
> "omnetpp" group.
> To post to this group, send email to omn...@googlegroups.com.
> To unsubscribe from this group, send email to
> omnetpp+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/omnetpp?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages