Termite mound · Protocol · swarm-routing/Termite
Termite
Routing by stigmergy: the pheromone rides inside the data packets themselves.
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
Termite (Roth & Wicker; GLOBECOM 2003, SIDM 2005, Roth's 2005 dissertation) has no control ants. Every data packet carries routing state: as a packet arrives, the receiving node strengthens its pheromone towards the packet's source through the neighbour it came from. Traffic in one direction builds the routes for traffic in the other.
Forwarding is randomised multipath: the next hop is drawn in proportion to pheromone, and pheromone decays with time, so the table tracks a moving topology without beacons of its own. What a node does with a packet for a destination it holds no pheromone for is one of the questions the fidelity sheet settles from the dissertation.
AntHocNet's Termite arm passed the delivery smoke but missed its anchor in v2.5.0 (trend right, confidence intervals spanning zero). Whether that was the arm, the scenario or statistical power is pre-registered in an issue before core/ is written.
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/ | simulator-agnostic algorithm + unit tests | MIT OR GPL-2.0-only | planned |
ns3/ | contrib module termite: header codec, adapter, helper, examples, test suite | GPL-2.0-only | planned |
docs/ | fidelity sheet, parameters with sources, the anchor-miss analysis | GPL-2.0-only | planned |
docs/adr/ | architecture decisions (template) | GPL-2.0-only | present |
Makefile | the org's standard targets: build, test, lint, format, check | 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: 1 of 4 sub-issues closed.
- #3 Termite as a standalone hexagonal protocol (Phase 5)
In progress · 1 / 4 sub-issues closed
Cite this project
Using Termite in a paper? Cite the project as below, and the works it rests on from its references.
Text
Joppi, Daniel Henrique (n.d.). Termite (version 0.1.0) [Computer software]. https://doi.org/10.5281/zenodo.24124722
BibTeX
@software{termite,
author = {Joppi, Daniel Henrique},
title = {Termite},
version = {0.1.0},
doi = {10.5281/zenodo.24124722},
url = {https://github.com/swarm-routing/Termite}
}- 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 5 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
- Roth, Termite: A Swarm Intelligent Routing Algorithm For Mobile Wireless Ad-Hoc Networks, 2005. hdl.handle.net
Restates
- Roth & Wicker, Termite: ad-hoc networking with stigmergy, GLOBECOM '03. IEEE Global Telecommunications Conference (IEEE Cat. No.03CH37489), 2003, pp. 2937–2941. DOI 10.1109/glocom.2003.1258772
- Roth & Wicker, Termite: A swarm intelligent routing algorithm for mobile wireless Ad-Hoc networks, Stigmergic Optimization, 2006, pp. 155–184. DOI 10.1007/978-3-540-34690-6_7
Software it builds on
- Joppi, ns3-swarm-core, Zenodo, 2026. DOI 10.5281/zenodo.24138628
Background
- Schoonderwoerd et al., Ant-Based Load Balancing in Telecommunications Networks, Adaptive Behavior 5(2), 1997, pp. 169–207. DOI 10.1177/105971239700500203
Sources
- M. Roth, S. Wicker, Termite: ad-hoc networking with stigmergy, IEEE GLOBECOM 2003; M. Roth, PhD dissertation, Cornell University, 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).