Precomputed Data
Immutable, shared, hot-path numeric bundle.
Built once at dataset load time and injected wherever evaluations happen (Best, Worst, and Average problems, as well as seeders).
Layout
Row-major matrix of AP scores per system and topic.
Column views to support delta evaluations.
Precomputed full-set means per system.
Indices & IDs
Systems are referenced by
0..numberOfSystems-1
in the order of systemIdsInOrder.systemIndexById maps a system identifier to its compact row index.
Safety
All arrays are owned by this object.
Do not mutate them after construction.
Constructors
Properties
Row-major AP matrix: averagePrecisionBySystem[s][t]
gives the AP of system s on topic t.
Mean AP of each system over all topics.
Total number of systems in the dataset.
Total number of topics in the dataset.
Deterministic list of system IDs, defining row order.
Map from system ID to its row index.
Column-major AP matrix: topicColumnViewByTopic[t][s]
gives the AP of system s on topic t. Used for fast ± updates.