Hive · Protocol · swarm-routing/BeeAdHoc
BeeAdHoc
Honeybee foraging as routing: scouts find paths, foragers carry data, the dance floor recruits.
Under construction: v0.1.0 released, 1 epic in progress Computed from its 1 epic · release v0.1.0, as they stood on .
What it does
BeeAdHoc (Wedde & Farooq, 2005) maps a hive onto each node. Packers hold outgoing data at the node. When no route is known, scouts are broadcast towards the destination and come back to the source's dance floor with the path they found. Foragers then carry data along those source routes and return with what they measured, such as delay and residual battery.
On the dance floor a forager's *dance* recruits others in proportion to the quality of its route, so good paths attract more traffic without any global table. The energy metric reads residual battery through swarm-core's EnergyMetricHook over ns3::EnergySource.
Where the sources disagree (GECCO 2005, the PG 439 / PG 460 reports, Farooq's thesis), each interpretation is pre-registered in an issue, with its evidence, before code. AntHocNet's BeeAdHoc arm missed its PG 460 anchor on 3 of 5 pause times, so those fidelity questions come first.
Diagrams
opt, loop, alt). Drawn from the paper; the repository's fidelity sheet is the authority once written.core/ includes no simulator header; time, randomness, neighbours and timers arrive through ports, and every adapter only carries out the core's decisions. Dashed: planned.core to GPL-only code. Dashed outlines: planned.Package structure
The repository's layout, its licence per directory (LICENSING.md) and what exists today.
| Path | What | Licence | State |
|---|---|---|---|
core/ | agents (packer, scout, forager), dance floor, metrics + unit tests | MIT OR GPL-2.0-only | present |
ns3/ | contrib module beeadhoc: header codec, adapter, energy hook use, test suite | GPL-2.0-only | present |
docs/ | fidelity sheet against GECCO 2005 / PG 439 / PG 460 / Farooq's thesis | GPL-2.0-only | present |
.github/workflows/ | reusable-ns3-ci with swarm-core as a dependency | GPL-2.0-only | present |
Where it sits in the colony
Quests
The repository's epics and their sub-issues, as the issues stood on 2026-11-13: 5 of 7 sub-issues closed.
- #3 BeeAdHoc as a standalone hexagonal protocol (Phase 4)
In progress · 5 / 7 sub-issues closed
Cite this project
Using BeeAdHoc in a paper? Cite the project as below, and the works it rests on from its references.
Text
Joppi, Daniel Henrique (n.d.). BeeAdHoc (version 0.1.0) [Computer software]. https://doi.org/10.5281/zenodo.24124821
BibTeX
@software{beeadhoc,
author = {Joppi, Daniel Henrique},
title = {BeeAdHoc},
version = {0.1.0},
doi = {10.5281/zenodo.24124821},
url = {https://github.com/swarm-routing/BeeAdHoc}
}- Version
- 0.1.0
- Author
- Daniel Henrique Joppi · ORCID
- Licence
- GPL-2.0-only
Read from CITATION.cff at main when this site was built.
References
The 6 works docs/references.bib lists, read at main when this site was built. Each links its DOI; a work with none links its publisher's or institution's page.
Implemented
- Farooq & Wedde, BeeAdHoc: an efficient, secure and scalable routing framework for mobile adhoc networks, Technical report, Technische Universität Dortmund, 2006. DOI 10.17877/DE290R-14312
Restates
- Wedde et al., BeeAdHoc: an energy efficient routing algorithm for mobile ad hoc networks inspired by bee behavior, Proceedings of the 7th annual conference on Genetic and evolutionary computation, 2005, pp. 153–160. DOI 10.1145/1068009.1068034
Software it builds on
- Joppi, ns3-swarm-core, Zenodo, 2026. DOI 10.5281/zenodo.24138628
Background
- Farooq, From the wisdom of the hive to intelligent routing in telecommunication networks: a step towards intelligent network management through natural engineering, PhD thesis, Technische Universität Dortmund, 2006. DOI 10.17877/DE290R-58
- Bensmann et al., BEEhive - an Energy-Aware Scheduling and Routing Framework, Technical report, Universität Dortmund, Fachbereich Informatik, 2005. DOI 10.17877/DE290R-14353
- Wedde & Farooq, The wisdom of the hive applied to mobile ad-hoc networks, Proceedings 2005 IEEE Swarm Intelligence Symposium, 2005. SIS 2005., 2005, pp. 341–348. DOI 10.1109/sis.2005.1501641
Sources
- H. F. Wedde, M. Farooq et al., BeeAdHoc: an energy efficient routing algorithm for mobile ad hoc networks inspired by bee behavior, GECCO 2005.
The status and the quests come from the repository's issues and releases (2026-11-13); the other
facts on this page are kept by hand from its AGENTS.md (as of 2026-11-08).