|
ADOL-C: Automatic Differentiation in C/C++ 2.7.3
|
Abstract allocator for locations in ADOL-C's active-value store. More...
#include <storemanager.h>

Public Types | |
| enum | LocationMgrType { ADOLC_LOCATION_BLOCKS , ADOLC_LOCATION_SINGLETONS } |
Public Member Functions | |
| StoreManager () | |
| virtual | ~StoreManager () |
| virtual locint | next_loc ()=0 |
| virtual void | free_loc (locint)=0 |
| virtual void | ensure_block (size_t n)=0 |
| void | setStoreManagerControl (double gcTriggerRatio, size_t gcTriggerMaxSize) |
| double | gcTriggerRatio () const |
| size_t | gcTriggerMaxSize () const |
| virtual size_t | maxSize () const =0 |
| virtual size_t | size () const =0 |
| virtual unsigned char | storeType () const =0 |
| virtual void | grow (size_t mingrow=0)=0 |
Static Public Member Functions | |
| static size_t | get_initialSize () |
Protected Attributes | |
| double | myGcTriggerRatio {0} |
| size_t | myGcTriggerMaxSize {0} |
Static Protected Attributes | |
| static size_t const | initialSize {4} |
Abstract allocator for locations in ADOL-C's active-value store.
Implementations allocate, free, and grow contiguous ranges while updating the shared store size and live-location count.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
pure virtual |
Implemented in StoreManagerLocint.
|
inline |
|
inline |
|
inlinestatic |
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
inline |
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
pure virtual |
Implemented in StoreManagerLocint, and StoreManagerLocintBlock.
|
staticprotected |
|
protected |
|
protected |