Workshop¶
Build AntHocNet into ns-3: install, check your tree, configure every knob, the on-the-wire format, and the code reference.
Open the Workshop in the game:
the core's API drawn as a live ant nest, and this install guide as a quest you
check by pasting make doctor's output, and the comparison harness for your own
protocol.
make doctor NS3DIR=/path/to/ns-3 # check the tree first
make install-ns3 NS3DIR=/path/to/ns-3 # BASELINES=0: AntHocNet alone
cd /path/to/ns-3 && ./ns3 configure --enable-examples --enable-tests && ./ns3 build
./test.py -s anthocnet # header round-trip + multi-hop delivery
No checkout? Each release ships the drop-in anthocnet-ns3-modules-<version>.tar.gz
(releases).
API reference The core's classes and the ns-3 adapter, generated by Doxygen. Configuration Every tunable, its default's provenance and its ns-3 attribute. Wire format The canonical ant byte layout and its version byte. Bring your own protocol Run the protocol-agnostic comparison harness (routing-compare) on your arm (ADR-0027). Porting notes What an adapter does, bugs fixed in extraction, caveats. NS-2 (retired) Where the removed NS-2 adapter still lives. Cross-validation The retired NS-2 vs NS-3 re-validation, kept as a record.