compact_sets/src
Michael Winter 737f1e4886 Refactor edge weights with DCA and CLI improvements
- Implement DCA (Dissonant Counterpoint Algorithm) to favor voice changes
- Track actual pitch changes in voice_stay_count (not graph indices)
- Add CLI weight arguments: --weight-melodic, --weight-contrary-motion,
  --weight-hamiltonian, --weight-dca, --weight-target-range
- DCA probability = (sum of stay_counts for changing voices) / (sum of all)
- Test with --weight-dca 100 shows frequent voice changes
2026-03-14 02:44:30 +01:00
..
__init__.py Refactor into src/ module with caching and CLI improvements 2026-03-13 18:38:38 +01:00
chord.py Refactor into src/ module with caching and CLI improvements 2026-03-13 18:38:38 +01:00
graph.py Refactor edge weights with DCA and CLI improvements 2026-03-14 02:44:30 +01:00
harmonic_space.py Refactor into src/ module with caching and CLI improvements 2026-03-13 18:38:38 +01:00
io.py Refactor edge weights with DCA and CLI improvements 2026-03-14 02:44:30 +01:00
pitch.py Refactor into src/ module with caching and CLI improvements 2026-03-13 18:38:38 +01:00