Commit Graph

2 Commits

Author SHA1 Message Date
Dan Kortschak
7bd265b283 graph: clean up and fix implicit graph example
The From method incorrectly returned nil for the empty case and node neighbour
expansion did not mark visited nodes. Fix these and exercise the corrected path
in the test. Also clean up the code structure.
2024-04-19 05:41:38 +09:30
Dan Kortschak
5b9bbbd15d graph: make fdpclust example a doc example 2019-10-08 12:13:22 +10:30