Skip to main content

Module gt

Module gt 

Source

Structs§

BaseRows
One entity batch’s base rows: every row introduces a brand-new master. Masters are contiguous — row j’s master is global index first_master_idx + j of entity entity_idx, and its record is global record index first_record_idx + j (the same numbers the pipeline formats into master_id/record_id).
BitspanRef
View into a contiguous range of a [Bitset], returned per-cluster by ClusterCsr::groups — parallel to the &[u64] record-index slice for the same cluster.
ClusterCsr
Compressed-sparse-row representation of the duplicate-cluster membership. Built once, in GtAccumulator::finish, from every (master, record, is_identical) triple belonging to a duplicated master.
DupRows
The duplicate copies generated from one BaseRows batch. Every copy’s master belongs to that same batch (pipeline.rs samples a batch’s duplicates exclusively from its own masters), which is what lets the whole batch be classified as soon as both are known.
GtAccumulator
Streaming, single-pass ground-truth builder.
GtResult
Result of GtAccumulator::finish.