Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 685 Bytes

File metadata and controls

29 lines (22 loc) · 685 Bytes

Graph traversal visualiser

image

run

gcc depth.c && ./a.out

emoji

  • 🔴 = node
  • ⚫️ = wall
  • 🟢 = visited
  • 🔵 = discovered (only in breadth first)

usage

Graph traversal visualiser

-i, --infinite runs until stopped with new graphs -b, --breadth run breadth first traversal -s, --speed speed it up -a, --ascii ascii mode -h, --help display help

todo

  • optimazise for better speed/performance
  • fix warnings when compiling