Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4db115e
Implementation for planarity test
josephcbradley Dec 18, 2022
aefdc95
Tweak planarity check; add PMFG algorithm
josephcbradley Dec 20, 2022
0445cbe
Fix missing tests code
josephcbradley Dec 20, 2022
873d15b
Fix type in planarity test
josephcbradley Dec 20, 2022
9b74921
Fix DataStructures deprecations
josephcbradley Dec 20, 2022
ffedb52
Fix planarity typos; add PMFG algo
josephcbradley Jan 2, 2023
0d1c08a
Typo in PMFG
josephcbradley Jan 2, 2023
58369c6
Typos
josephcbradley Jan 2, 2023
33a20a6
Reduced memory usage of planarity test and PMFG alogorithm
josephcbradley Jan 6, 2023
100494e
Add tests for PMFG
josephcbradley Jan 6, 2023
8e845e6
Fixed trait function
josephcbradley Jan 6, 2023
25769a2
Fix test failures, format, and refactor tests into correct folder
josephcbradley Jan 7, 2023
296c107
Change pmfg to planar_maximally_filtered_graph
josephcbradley Jan 7, 2023
37f64fa
Typo in tests
josephcbradley Jan 7, 2023
bc7dcb9
Fix file names
josephcbradley Jan 7, 2023
3cdbe0b
Fix formatting issues
josephcbradley Jan 7, 2023
926964a
Remove redundant type check
josephcbradley Jan 7, 2023
571af69
Add link to paper for PMFG
josephcbradley Jan 7, 2023
e563765
Document and enforce return type
josephcbradley Jan 7, 2023
abd4f4f
Formatting
josephcbradley Jan 7, 2023
957ed7a
`is_planar` can now dispatch directly on directed graphs
josephcbradley Jan 7, 2023
514f34a
Type annotation of state constructor
josephcbradley Jan 7, 2023
4b806eb
Remove trait and refactor according to suggestions
josephcbradley Jan 7, 2023
306af07
Add docs to makefile
josephcbradley Jan 7, 2023
9c048f1
Typo in docs
josephcbradley Jan 8, 2023
d556bf3
Trim unnecessary Matrix call
josephcbradley Jan 8, 2023
0d7d4e4
Add further test of PMFG
josephcbradley Jan 10, 2023
5dd1847
Fix for crash on higher order graphs
josephcbradley Jan 10, 2023
6bb5133
Tidy and format
josephcbradley Jan 10, 2023
fc3e69e
Make src and dst generic
josephcbradley Feb 8, 2023
c13f034
Add first six edges without testing
josephcbradley Feb 26, 2023
14ae25a
Consistent syntax
josephcbradley Feb 26, 2023
fcc1ca2
Revert to Default Dict
josephcbradley Feb 26, 2023
ea45dcf
Add reset lrp state function
josephcbradley Feb 26, 2023
823c80a
Reset planarity struct to speed up PMFG
josephcbradley Feb 26, 2023
6976fc8
Add pmfg
josephcbradley Feb 22, 2026
e548b51
Not sure what this was doing there anyway...
josephcbradley Feb 22, 2026
1bc87f0
Merge branch 'master' into josephcbradley/issue153
josephcbradley Feb 22, 2026
f33ee44
Update src/spanningtrees/planar_maximally_filtered_graph.jl
josephcbradley Feb 23, 2026
fcc3dde
Remove comment (to be raised later)
josephcbradley Feb 23, 2026
a1ccdd0
Format
josephcbradley Feb 23, 2026
fc7a298
Fix resetting state logic
josephcbradley Feb 23, 2026
87c68fb
Merge branch 'master' into josephcbradley/issue153
Krastanov Feb 23, 2026
44681ea
Add CHANGELOG entry for planarity test and PMFG algorithm
Krastanov Feb 24, 2026
08dfa48
Merge branch 'master' into josephcbradley/issue153
Krastanov Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- `maximum_clique`, `clique_number`, `maximal_independent_sets`, `maximum_independent_set`, `independence_number`
- `regular_tree` generator
- `kruskal_mst` now accepts weight vectors
- `is_planar` planarity test and `planar_maximally_filtered_graph` (PMFG) algorithm
- `count_connected_components` for efficiently counting connected components without materializing them
- `connected_components!` is now exported and accepts an optional `search_queue` argument to reduce allocations
- `is_connected` optimized to avoid allocating component vectors
Expand Down
2 changes: 2 additions & 0 deletions docs/src/algorithms/spanningtrees.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Pages = [
"spanningtrees/boruvka.jl",
"spanningtrees/kruskal.jl",
"spanningtrees/prim.jl",
"planarity.jl",
"spanningtrees/planar_maximally_filtered_graph.jl",
]

```
7 changes: 6 additions & 1 deletion src/Graphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,11 @@ export
vertex_cover,

# longestpaths
dag_longest_path
dag_longest_path,

# planarity
is_planar,
planar_maximally_filtered_graph
"""
Graphs

Expand Down Expand Up @@ -573,6 +576,8 @@ include("vertexcover/random_vertex_cover.jl")
include("Experimental/Experimental.jl")
include("Parallel/Parallel.jl")
include("Test/Test.jl")
include("planarity.jl")
include("spanningtrees/planar_maximally_filtered_graph.jl")

using .LinAlg
end # module
Loading
Loading