Template Struct BatchedScratch

Struct Documentation

template<typename TreeNode, bool FHC>
struct BatchedScratch

The scratch cache for one batched replay pass, plus the alive persistent real-cache entries to pre-seed it with: the seeds are registered persistent in the scratch so they survive the per-batch reset(), and the caller copies their values in before the batch loop.

Public Members

CacheManager<TreeNode, FHC> cache
std::vector<TreeNode const*> seeds