Training ground · Protocol · swarm-routing/Q-Swarm
Q-Swarm
Q-routing with energy-aware updates and Boltzmann next-hop selection: a learned comparator.
Under construction: no release, 1 epic in progress, 1 planned Computed from its 2 epics, as they stood on .
What it does
Q-Swarm brings lightweight on-node reinforcement learning into the colony: Q-routing with energy-aware Bellman updates and Boltzmann next-hop selection, bridging classic pheromone tables with learning, so the swarm protocols are benchmarked against a learned comparator.
Planned and deferred (ROADMAP decision 23, phase 3b): nothing is built yet, and a fidelity sheet may come first, with no code. Like every protocol here it will be a simulator-free core/ on swarm-core (MIT OR GPL-2.0-only) with its ns-3 module (GPL-2.0-only).
Diagrams
No diagram of its own yet. Where it sits in the colony is drawn below.
Package structure
The repository's layout, its licence per directory (LICENSING.md) and what exists today.
| Path | What | Licence | State |
|---|---|---|---|
core/ | the simulator-free algorithm on swarm-core | MIT OR GPL-2.0-only | planned |
docs/ | adr/, development.md, rcapa/, references.bib | 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-30: 1 of 3 sub-issues closed.
- #38 core/: Q-Swarm's simulator-free core, written from the reviewed fidelity sheet
In progress · 1 / 1 sub-issues closed - #3 Bootstrap Q-Swarm protocol on swarm-core (QEnergyUpdater, fidelity, contract tests)
Planned · 0 / 2 sub-issues closed
Cite this project
Using Q-Swarm in a paper? Cite the project as below, and the works it rests on from its references.
Text
Joppi, Daniel Henrique (n.d.). Q-Swarm (version 0.0.0) [Computer software]. https://github.com/swarm-routing/Q-Swarm
BibTeX
@software{qswarm,
author = {Joppi, Daniel Henrique},
title = {Q-Swarm},
version = {0.0.0},
url = {https://github.com/swarm-routing/Q-Swarm}
}- Version
- 0.0.0
- Author
- Daniel Henrique Joppi · ORCID
- DOI
- None: its CITATION.cff gives no DOI. Cite the repository.
- 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
- Zhou, Cao & Xiang, Anypath Routing Protocol Design via Q-Learning for Underwater Sensor Networks, IEEE Internet of Things Journal 8(10), 2021, pp. 8173–8190. DOI 10.1109/jiot.2020.3042901
Compared against
- Boyan & Littman, Packet Routing in Dynamically Changing Networks: A Reinforcement Learning Approach, 1993. proceedings.neurips.cc
Software it builds on
- Joppi, swarm-core, Zenodo, 2026. DOI 10.5281/zenodo.24476619
Background
- Watkins & Dayan, Q-learning, Machine Learning 8(3-4), 1992, pp. 279–292. DOI 10.1007/bf00992698
- Hu & Fei, QELAR: A Machine-Learning-Based Adaptive Routing Protocol for Energy-Efficient and Lifetime-Extended Underwater Sensor Networks, IEEE Transactions on Mobile Computing 9(6), 2010, pp. 796–809. DOI 10.1109/tmc.2010.28
- Kaelbling, Littman & Moore, Reinforcement Learning: A Survey, Journal of Artificial Intelligence Research 4, 1996, pp. 237–285. DOI 10.1613/jair.301
Sources
- Q-Swarm AGENTS.md: what the repository is
- Q-Swarm LICENSING.md
- swarm-routing ROADMAP.md: the four layers, phase 3b and decision 23
The status and the quests come from the repository's issues and releases (2026-11-30); the other
facts on this page are kept by hand from its AGENTS.md (as of 2026-11-08).