Document the new DPF surfaces in one command set, and test the field, half-tree, and multipoint edges.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 23:18:10 -06:00
parent 0d8a5a8131
commit 0dff6df8ed
250 changed files with 12199 additions and 1981 deletions

View file

@ -34,6 +34,7 @@ namespace utils
/// @brief Emplaces a `dpf::dpf_key` object into the specified, pre-allocated memory.
/// @tparam DpfKey The concrete specialization of `dpf::dpf_key` to construct.
/// @tparam T value type
/// @param storage Reference to the container where the `dpf::dpf_key` object will be emplaced.
/// @param root The root node used by the `dpf::dpf_key`.
/// @param correction_words Correction words array for the `dpf::dpf_key`.
@ -59,6 +60,14 @@ struct dpf_emplacer
using input_type = typename DpfKey::input_type;
/// @brief Generic version is intentionally left undefined.
/// @param storage the `storage`
/// @param root the root seed
/// @param correction_words the `correction_words`
/// @param correction_advice the advice bit on the correction word
/// @param leaves the leaf values
/// @param beavers the `beavers`
/// @param offset_share the `offset_share`
/// @return Generic version is intentionally left undefined
static auto emplace(T & storage,
const interior_node & root,
const correction_words_array & correction_words,
@ -69,6 +78,7 @@ struct dpf_emplacer
};
/// @brief Specialization for `std::unique_ptr`.
/// @tparam DpfKey DPF key type
template <typename DpfKey>
struct dpf_emplacer<DpfKey, std::unique_ptr<DpfKey>>
{