Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add planarity test and PMFG #208

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c80f2f8
Implementation for planarity test
josephcbradley Dec 18, 2022
9a5179c
Tweak planarity check; add PMFG algorithm
josephcbradley Dec 20, 2022
2188295
Fix missing tests code
josephcbradley Dec 20, 2022
392336c
Fix type in planarity test
josephcbradley Dec 20, 2022
3540b78
Fix DataStructures deprecations
josephcbradley Dec 20, 2022
c4c56fb
Fix planarity typos; add PMFG algo
josephcbradley Jan 2, 2023
2fae532
Typo in PMFG
josephcbradley Jan 2, 2023
5b1cf84
Typos
josephcbradley Jan 2, 2023
37547c7
Reduced memory usage of planarity test and PMFG alogorithm
josephcbradley Jan 6, 2023
9937ef5
Add tests for PMFG
josephcbradley Jan 6, 2023
d83dea3
Fixed trait function
josephcbradley Jan 6, 2023
1a1316a
Fix test failures, format, and refactor tests into correct folder
josephcbradley Jan 7, 2023
eaa9180
Change pmfg to planar_maximally_filtered_graph
josephcbradley Jan 7, 2023
dae5ea2
Typo in tests
josephcbradley Jan 7, 2023
4006484
Fix file names
josephcbradley Jan 7, 2023
2dcc0d7
Fix formatting issues
josephcbradley Jan 7, 2023
739374e
Remove redundant type check
josephcbradley Jan 7, 2023
274619e
Add link to paper for PMFG
josephcbradley Jan 7, 2023
6ed143f
Document and enforce return type
josephcbradley Jan 7, 2023
7b30b01
Formatting
josephcbradley Jan 7, 2023
bc0d3fa
`is_planar` can now dispatch directly on directed graphs
josephcbradley Jan 7, 2023
dd37b65
Type annotation of state constructor
josephcbradley Jan 7, 2023
e1b5e44
Remove trait and refactor according to suggestions
josephcbradley Jan 7, 2023
f557d00
Add docs to makefile
josephcbradley Jan 7, 2023
e059c21
Typo in docs
josephcbradley Jan 8, 2023
7a2899c
Trim unnecessary Matrix call
josephcbradley Jan 8, 2023
e2b4862
Add further test of PMFG
josephcbradley Jan 10, 2023
61c1a68
Fix for crash on higher order graphs
josephcbradley Jan 10, 2023
18c9a30
Tidy and format
josephcbradley Jan 10, 2023
ddf6514
Merge remote-tracking branch 'upstream/master' into josephcbradley/is…
josephcbradley Jan 29, 2023
2d1f0c0
Make src and dst generic
josephcbradley Feb 8, 2023
8915430
Add first six edges without testing
josephcbradley Feb 26, 2023
c969d2e
Merge remote-tracking branch 'upstream/master' into josephcbradley/is…
josephcbradley Feb 26, 2023
25de628
Consistent syntax
josephcbradley Feb 26, 2023
1b09323
Revert to Default Dict
josephcbradley Feb 26, 2023
3344f3f
Add reset lrp state function
josephcbradley Feb 26, 2023
9ea7ec8
Reset planarity struct to speed up PMFG
josephcbradley Feb 26, 2023
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
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 @@ -422,8 +422,11 @@ export
independent_set,

# vertexcover
vertex_cover
vertex_cover,

# planarity
is_planar,
planar_maximally_filtered_graph
"""
Graphs

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

using .LinAlg
Expand Down
Loading