This website requires JavaScript.
Explore
Help
Sign In
mwinter
/
compact_sets
Watch
1
Star
0
Fork
You've already forked compact_sets
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
2fe8737cfe
compact_sets
/
compact_sets.py
6 lines
85 B
Python
Raw
Normal View
History
Unescape
Escape
Add elegant OOP implementation with CLI - New compact_sets.py with Pitch, Chord, HarmonicSpace classes - Voice leading graph with change parameter (instead of symdiff) - CLI: --change, --dims, --chord-size, --max-path, --seed - Tests for core functionality - .gitignore for Python/pytest
2026-03-10 16:13:41 +01:00
#!/usr/bin/env python
Refactor into src/ module with caching and CLI improvements - Split monolithic compact_sets.py into modular src/ directory - Add graph caching (pickle + JSON) with --cache-dir option - Add --output-dir, --rebuild-cache, --no-cache CLI options - Default seed is now None (random) instead of 42 - Add .gitignore entries for cache/ and output/
2026-03-13 18:38:38 +01:00
from
src
.
io
import
main
Add elegant OOP implementation with CLI - New compact_sets.py with Pitch, Chord, HarmonicSpace classes - Voice leading graph with change parameter (instead of symdiff) - CLI: --change, --dims, --chord-size, --max-path, --seed - Tests for core functionality - .gitignore for Python/pytest
2026-03-10 16:13:41 +01:00
if
__name__
==
"
__main__
"
:
main
(
)
Reference in a new issue
Copy permalink