-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples of calling two algorithms to README
Closes #103 Reword most of the README. - Use "callback" consistently to describe the arguments to the algorithms. - Add generics and more specific names to the tiny example data structures. - Use consistent phrasing in the bullet points about the types of callbacks needed. - Reorder the bullet points since the edges callbacks are always used and worth mentioning first. Add a code block with skeleton examples of calls using each of the example data structures. One example of calls `shortestPath` on a graph with adjacency lists stored in a `Map` using terms related to networking. The other calls `topologicalSort` on a graph represented by a tree of node objects which store outgoing edges using terms related to build dependencies.
- Loading branch information
Showing
3 changed files
with
42 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 2.3.3-wip | ||
|
||
- Add an example usage to the README. | ||
|
||
## 2.3.2 | ||
|
||
- Require Dart 3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters