Tree Compression with Top Trees Revisited
|
A label interface (pure virtual) More...
#include <Labels.h>
Public Member Functions | |
virtual const Value & | operator[] (uint index) const =0 |
virtual void | set (uint id, const Value &value)=0 |
A label interface (pure virtual)
|
pure virtual |
Access operator
index | the index of the label to look up |
Implemented in Labels< Value >, Labels< std::string >, RandomLabels< RNG >, IdLabels, and FakeLabels< Value >.
|
pure virtual |
Set a label
id | the index of the label to set |
value | the value to set the label to |
Implemented in Labels< Value >, Labels< std::string >, RandomLabels< RNG >, IdLabels, and FakeLabels< Value >.