wn-upf / Komondor

Komondor Wireless Networks Simulator
GNU General Public License v3.0
69 stars 19 forks source link

Virtual events to indicate changes in the location and in the configuration #119

Closed fwilhelmi closed 5 years ago

fwilhelmi commented 5 years ago

In order to speed performance, we have minimized the number of times we compute the distance and the power received from each node.

However, when a change in the network is performed (both in the location and in the configuration), all the other nodes need to be aware, thus re-computing the aforementioned parameters.

fwilhelmi commented 5 years ago

Changes in position/configuration/etc are informed through the field "flag_apply_new_configuration". Once mobility is implemented, any significant change in the position will have to trigger the activation of the aforementioned flag.