#include <DummySampleValue.h>
Inheritance diagram for DummySampleValue:
Public Member Functions | |
DummySampleValue (UWORD16 v) | |
UWORD16 | getValue (void) const |
UWORD32 | calcDistance (const SampleValue *s) const |
bool | isNeighbour (const SampleValue *s) const |
SampleValue * | getNearestTargetSampleValue (EmbValue t) const |
std::string | getName (void) const |
Private Attributes | |
UWORD16 | Value |
|
|
|
calculate the distance as | Value - s->Value | Implements SampleValue. |
|
return a short name uniquely identifying this sample value Implements SampleValue. |
|
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target
The returned SampleValue object should be deleted by the callser. Implements SampleValue. |
|
|
|
return from the contents of the SampleValueAdjacencyMatrix in the DummyFile Reimplemented from SampleValue. |
|
|