How to implement Manhattan Mobility Model (or custom grid-based mobility) in Mininet-WiFi instead of Random Waypoint?

21 views
Skip to first unread message

Valorant Brimstone

unread,
Apr 10, 2026, 5:05:10 PM (14 days ago) Apr 10
to mininet-wifi-discuss

I would like to replace the Random Way Point Mobility Model with the Manhattan Mobility Model (also called Manhattan Grid model).

The desired behavior is as follows:

  • The network consists of horizontal and vertical lines only.
  • Stations can move in four directions: North/South (vertical) and East/West (horizontal).
  • At each intersection, a station decides the next direction with the following probabilities:
    • Go straight: 0.5
    • Turn right: 0.25
    • Turn left: 0.25

Is there any built-in support for the Manhattan mobility model in the latest Mininet-WiFi?

If not, what is the recommended way to implement this custom mobility model?

  • Should I extend the existing mobility framework?
  • Is it better to use a custom Python script with node.moveTo() in a loop?
  • Are there any open examples or community implementations for grid-based / Manhattan mobility that I can build upon?

Any help, code snippet, or pointer to relevant documentation would be helpful.

Valorant Brimstone

unread,
Apr 13, 2026, 4:53:03 AM (11 days ago) Apr 13
to mininet-wifi-discuss

Ramon Fontes

unread,
Apr 13, 2026, 5:12:14 AM (11 days ago) Apr 13
to Valorant Brimstone, mininet-wifi-discuss
Wouldn't it make more sense to implement the new model as a new function instead of a direct replacement?

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mininet-wifi-discuss/31704fd1-df66-4d21-8d94-7e413fa72862n%40googlegroups.com.

Valorant Brimstone

unread,
Apr 13, 2026, 5:28:19 AM (11 days ago) Apr 13
to mininet-wifi-discuss
Can you elaborate it? Will mn-WiFi support such customised mobility pattern of Manhattan Model? Because its a controlled mobility pattern irrespective of random way point Model

Ramon Fontes

unread,
Apr 13, 2026, 5:41:14 AM (11 days ago) Apr 13
to Valorant Brimstone, mininet-wifi-discuss
The Random Waypoint and Manhattan models are independent patterns, and I didn't get your point. Instead of looking for a relationship between them, you should focus on implementing the new Manhattan code and testing it directly in the emulator to see how it performs.

Reply all
Reply to author
Forward
0 new messages