
Public Member Functions | |
| size_t | size () const override |
| Return the size of the sketch. More... | |
| void | insert (const OmniSketch::FlowKey< key_len > &flowkey) override |
| Insert a flowkey without value. More... | |
| void | update (const OmniSketch::FlowKey< key_len > &flowkey, T val) override |
| Update a flowkey with certain value. More... | |
| T | query (const OmniSketch::FlowKey< key_len > &flowkey) const override |
| Query the sketch for the estimated size of a flowkey. More... | |
| bool | lookup (const OmniSketch::FlowKey< key_len > &flowkey) const override |
| Look up a flowkey in the sketch. More... | |
| OmniSketch::Data::Estimation< key_len, T > | getHeavyHitter (double threshold) const override |
| Get all the heavy hitters. More... | |
| OmniSketch::Data::Estimation< key_len, T > | getHeavyChanger (std::unique_ptr< OmniSketch::Sketch::SketchBase< key_len, T >> &ptr_sketch, double threshold) const override |
| Get all the heavy changers. More... | |
| OmniSketch::Data::Estimation< key_len, T > | decode () override |
| Decode all flowkeys along with their values. More... | |
|
inlineoverridevirtual |
Decode all flowkeys along with their values.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Get all the heavy changers.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Get all the heavy hitters.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Insert a flowkey without value.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Look up a flowkey in the sketch.
true means there exists; false otherwise. Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Query the sketch for the estimated size of a flowkey.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Return the size of the sketch.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.
|
inlineoverridevirtual |
Update a flowkey with certain value.
Reimplemented from OmniSketch::Sketch::SketchBase< key_len, T >.