← Documentation
ADS-IDAC Engine 5.0.0
bump_allocator.hpp File Reference

bncore::BumpAllocator, a fixed-capacity arena of doubles for temporary factor storage. More...

#include <cstdint>
#include <stdexcept>
#include <vector>
Include dependency graph for bump_allocator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bncore::BumpAllocator
 Fixed-capacity scratch buffer of doubles with pointer-bump allocation. More...
 

Namespaces

namespace  bncore
 

Detailed Description

bncore::BumpAllocator, a fixed-capacity arena of doubles for temporary factor storage.

Factor::multiply() and Factor::marginalize() accept a BumpAllocator and place their result in it instead of allocating from the heap.

Definition in file bump_allocator.hpp.