Disaggregate
Disaggregate Smart Meter data
|
Recording the value and location of a Spike e.g. a Spike in the gradient of a signature. More...
#include <Signature.h>
Static Public Member Functions | |
static const bool | compareAbsValueDesc (const Spike first, const Spike second) |
Comparison function. Useful for sorting lists of spikes into descending order of absolute magnitude. | |
static const bool | compareIndexAsc (const Spike first, const Spike second) |
Public Attributes | |
size_t | index |
Location to find this Spike. | |
size_t | n |
Length of spike in samples. | |
double | delta |
Value of Spike at this location. |
Recording the value and location of a Spike e.g. a Spike in the gradient of a signature.
Definition at line 33 of file Signature.h.
static const bool Signature::Spike::compareAbsValueDesc | ( | const Spike | first, |
const Spike | second | ||
) | [inline, static] |
Comparison function. Useful for sorting lists of spikes into descending order of absolute magnitude.
Definition at line 42 of file Signature.h.
References delta.
Referenced by Signature::getDeltaSpikes().
static const bool Signature::Spike::compareIndexAsc | ( | const Spike | first, |
const Spike | second | ||
) | [inline, static] |
Definition at line 47 of file Signature.h.
References index.
Referenced by Device::getSalientSpikes(), PowerStateGraph::update(), and PowerStateGraph::updateEdges().
double Signature::Spike::delta |
Value of Spike at this location.
Definition at line 36 of file Signature.h.
Referenced by compareAbsValueDesc(), and Signature::getMergedSpikes().
Location to find this Spike.
Definition at line 34 of file Signature.h.
Referenced by compareIndexAsc(), and Signature::getMergedSpikes().
Length of spike in samples.
Definition at line 35 of file Signature.h.
Referenced by Signature::getMergedSpikes().