Skip to content

Commit

Permalink
0.2.1 (#45)
Browse files Browse the repository at this point in the history
* Tame clippy

* Add example of PageRank algorithm

* Add baranasi albert graph and use that in testing page rank

* Correct doctest

* Update Cargo.lock

* Cargo fmt

* Update build workflow

---------

Signed-off-by: Julius Koskela <[email protected]>
Co-authored-by: Satu Koskinen <[email protected]>
  • Loading branch information
juliuskoskela and satukoskinen authored Jul 9, 2023
1 parent 6da3aea commit fd56aeb
Show file tree
Hide file tree
Showing 74 changed files with 7,925 additions and 7,374 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[*]
indent_style = tab
indent_size = 4
indent_size = 4
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Run Tests with Valgrind
run: |
touch results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/dijkstra-shortest-path >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/serialization-example >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/edmonds-karp-maximum-flow >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/prim-minimum-spanning-tree >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/kojarasu-strongly-connected-components >> results
[ -s ./results ] && (cat ./results && exit -1) || echo "No leaks detected"
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/dijkstras_shortest_path >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/serde_example >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/edmonds_karps_maximum_flow >> results
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/prim_minimum_spanning_tree >> results
# valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/kojarasus_strongly_connected_components >> results
[ -s ./results ] && (cat ./results && exit -1) || echo "No leaks detected"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
target
trash
notes.md
notes.md
*.dot
Loading

0 comments on commit fd56aeb

Please sign in to comment.