AntHocNet
Paper-faithful AntHocNet (ant-colony ad-hoc routing): a simulator-independent C++ core, an ns-3 module, and reproducible 20-seed benchmarks vs AODV/OLSR/DSDV where every published number carries a 95% CI. Satellite/ISL scenarios. NS-2 adapter frozen at v1.2.0, removed at v2.0.0
What XERJ indexed
Snapshot
The whole repository at commit 0ae2e32b83 (2026-10-28). main is 44 commits ahead.
Selected work

“adaptive comparator module: ara, termite and qrouting arms…”. 22 files, 2,945 lines in ns3, tools, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-29. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
acoant-colony-optimizationmanetns-2ns-3routing-protocolswarm-intelligencead-hoc-networks
Example questions
- How does AntHocNet implement aco?
- What does ns3 do in AntHocNet?
- Show the ant-colony-optimization code in AntHocNet.
Inside the indexed corpus
- 1,124 files, 29.8 MB in total, about 27.2 KB per file.
- The selected commit changed 22 of those files (2.0%).
- Languages by size: C++ 59.7%, Python 21.3%, JavaScript 11%, Shell 4%, CSS 1.5%.
- On GitHub since 2016-01-06, last push 2026-10-30, 644 commits on main.
- The pin is 44 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for danieljoppi/AntHocNet on 2026-10-31, and the LICENSE file at commit 0ae2e32b83 was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Daniel Henrique Joppi (@danieljoppi) has 1 selected repository on the hub.
Using XERJ with AntHocNet
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones danieljoppi/AntHocNet at the pinned commit and indexes it on your machine.
Search the GitHub repository danieljoppi/AntHocNet with XERJ (https://hub.xerj.org/corpus/swarm-routing--anthocnet). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/danieljoppi/AntHocNet AntHocNet && git -C AntHocNet checkout 0ae2e32b83cb5442aeeacbf0c241b412b4efd065 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./AntHocNet --url http://127.0.0.1:9200 --prefix anthocnet --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-2.0. Read it for the approach only, do not copy code.
Related
Daniel Henrique JoppiNetworking, protocols and serialisation corporaroedyrustam/vibes-plug
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.