Skip to content

Commit

Permalink
Merge pull request #11 from earlygrey/restructure-algorithms
Browse files Browse the repository at this point in the history
Restructure algorithms
  • Loading branch information
earlygrey authored Mar 2, 2022
2 parents 8375b8f + 1fd419f commit 5faf60e
Show file tree
Hide file tree
Showing 28 changed files with 1,005 additions and 704 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf

5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[4.0.0]
Breaking changes
- SearchProcessor count starts at 0 and includes first vertex
- SearchProcessor count starts at 0 and includes first and last vertices
Fixes
- fixed bug when removing vertices, which would result in extra vertices being removed
- fixed bug where setting the weight on an undirected edge might not work properly
- fixed order of VertexCollection#toArray, so new ArrayList<>(graph.getVertices()) produces a list with the correct order
New
- new constructors for graphs
- new methods removeVertexIf and removeEdgeIf in Graph
- new methods hasEndpoint and hasEndpoints in Edge
- restructure algorithms to be iterative, so the user can update it manually

[3.0.0]
Breaking changes
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'simple-graphs'
Loading

0 comments on commit 5faf60e

Please sign in to comment.