feat: introduce trait-based distance aggregation and layered store

Introduces ColumnWeights, CountPartials, and BitPartials traits to compute and finalize partial distance matrices. Implements these traits for PersistentBitMatrix, PersistentCompactIntMatrix, and a new LayeredStore<S> wrapper that aggregates metrics across layers via parallel reduction. Adds ndarray for numerical aggregation and updates architecture documentation to reflect the trait-driven design and pending refactoring roadmap.
This commit is contained in:
Eric Coissac
2026-05-15 21:18:16 +08:00
parent 45d49ed501
commit 13e69e23c9
11 changed files with 721 additions and 355 deletions
+1
View File
@@ -1788,6 +1788,7 @@ dependencies = [
"cacheline-ef",
"epserde 0.8.0",
"memmap2",
"ndarray",
"obicompactvec",
"obikseq",
"obiskio",