|
BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
|
A piece of multi-object cache. More...
#include <dirty.h>


Public Member Functions | |
| Sweeper () | |
| void | refresh (const Dirts &d) |
| Force-refresh the whole range. More... | |
| void | refresh (size_t n_dirts) |
| std::tuple< size_t, size_t > | dirty_range (const Dirts &d) |
| Find the range to refresh. More... | |
| void | clean_range (const Dirts &d, size_t n) |
| Clean a range of the cache. More... | |
Public Member Functions inherited from Cleaner | |
| Cleaner () | |
| bool | dirty (const Dirt &d) |
| Returns true if the cache needs to be refreshed. More... | |
| void | clean (const Dirt &d) |
| Call this when the cache is refreshed. More... | |
Public Attributes | |
| size_t | begin |
| size_t | dirts |
Public Attributes inherited from Cleaner | |
| int | cleaned |
A piece of multi-object cache.
This is the counterpart of Dirts.
|
inline |
Clean a range of the cache.
Call this to tell the Sweeper that you refresh n cache elements, starging at the beginning index returned from dirty_range(). The indexing is cyclic modulo d.n.
Definition at line 130 of file dirty.h.

|
inline |
|
inline |