Skip to content

Implement various graph algorithms and properties#13

Merged
JohnnyWan1123 merged 1 commit intomainfrom
refac
Feb 15, 2026
Merged

Implement various graph algorithms and properties#13
JohnnyWan1123 merged 1 commit intomainfrom
refac

Conversation

@JohnnyWan1123
Copy link
Collaborator

  • Add Hamiltonian path and cycle detection algorithms in hamiltonian.py.
  • Introduce graph isomorphism checking with degree-sequence pruning and backtracking in isomorphism.py.
  • Implement planarity testing using edge bounds and minor detection in planarity.py.
  • Create simple graph property checks including tree, forest, DAG, Eulerian, semi-Eulerian, regular, complete, and subgraph checks in properties.py.
  • Develop unit tests for clique detection in test_clique.py.
  • Add tests for Hamiltonian path and cycle detection in test_hamiltonian.py.
  • Create tests for graph isomorphism in test_isomorphism.py.
  • Implement planarity tests in test_planarity.py.
  • Add tests for various graph properties in test_properties.py.

- Add Hamiltonian path and cycle detection algorithms in `hamiltonian.py`.
- Introduce graph isomorphism checking with degree-sequence pruning and backtracking in `isomorphism.py`.
- Implement planarity testing using edge bounds and minor detection in `planarity.py`.
- Create simple graph property checks including tree, forest, DAG, Eulerian, semi-Eulerian, regular, complete, and subgraph checks in `properties.py`.
- Develop unit tests for clique detection in `test_clique.py`.
- Add tests for Hamiltonian path and cycle detection in `test_hamiltonian.py`.
- Create tests for graph isomorphism in `test_isomorphism.py`.
- Implement planarity tests in `test_planarity.py`.
- Add tests for various graph properties in `test_properties.py`.
@JohnnyWan1123 JohnnyWan1123 merged commit a95ad0e into main Feb 15, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant