dejavu
Fast probabilistic symmetry detection.
|
Set with counting. More...
#include <ds.h>
Public Member Functions | |
workset_t ()=default | |
workset_t (int size) | |
void | initialize (int size) |
void | set (int index, T value) |
T | get (int index) |
void | reset () |
void | reset_hard () |
T | inc (int index) |
void | inc_nr (int index) |
~workset_t () | |
Public Attributes | |
worklist | reset_queue |
Set with counting.
Set on a statically specified domain of elements 1, ..., size, where each element holds an additional counter. Time complexity is O(1) for set, inc, get, and amortized O(1) for reset.
|
default |
Default constructor, does not allocate any memory.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
worklist dejavu::ds::workset_t< T >::reset_queue |