Add cn/dvr: Distance Vector Routing simulator with count-to-infinity demos and captured output

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6V3xQR5XUmTbjaYAK
This commit is contained in:
Claude
2026-11-12 20:56:48 +05:30
parent abaf3840f2
commit f784f9b6ee
23 changed files with 1436 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# Distance Vector Routing (DVR) simulator in C++
Companion code for the post <https://ankurm.com/implementation-of-distance-vector-routing-dvr-algorithm-in-c/>.
Everything else (explanation, walkthroughs, count-to-infinity) lives in that post.
./scripts/run-all.sh # builds and regenerates every file in output/
build/dvr --trace < input/four-node.txt
`dvr.cpp` is the simulator; `legacy/` holds the two older programs from this site, kept only so the post can show what they get wrong.