Core Data Structures & Testing¶
← Back to Domain-Specific Families
Abstractions about filters, heaps, graph representations, sorting, property-based testing, and hierarchies governing algorithmic growth.
6 abstractions in this family — domain-specific abstractions that sit near one another in structural-signature space (k-means over structural-signature embeddings). Each is shown with its short description.
- Bloom Filter — A probabilistic data structure that answers set-membership from a compact bit array and k hash functions with a deliberate one-sided error — it may report false positives but never false negatives — so a negative answer is safe to act on.
- Graph Data Type — The programmatic abstraction representing entities as nodes and relationships as edges behind a traversal/mutation/query interface — insulating algorithm code from the in-memory layout so representation becomes a profiling-driven swap, not a rewrite.
- Heap — Keep the single most extreme element instantly readable at the root of a partially ordered tree, so insert and extract cost only O(log n) under continuous churn by declining to maintain any more order than the extreme requires.
- Property-Based Testing — State an invariant that must hold for all inputs of a class and let a framework generate many samples, check each, and shrink any failure to a minimal counter-example — replacing hand-picked examples with systematic search over an input space.
- Slow-Growing Hierarchy — Builds an ordinal-indexed family of natural-number functions by successor increments and fundamental-sequence descent at limits.
- Sorting Algorithm — A computational procedure that rearranges a finite sequence into a specified total order, located in a coordinate space of complexity, stability, and memory, and bounded below by the Ω(n log n) decision-tree floor for comparison-based sorts.