Sleipnir
Protected Member Functions | Protected Attributes | Static Protected Attributes
Sleipnir::CDataPairImpl Class Reference
Inheritance diagram for Sleipnir::CDataPairImpl:
Sleipnir::CPairImpl Sleipnir::CDat Sleipnir::CDatImpl Sleipnir::CDataPair

Protected Member Functions

void Reset (bool)
bool OpenQdab (const char *szDatafile)
void SetQuants (const float *adBinEdges, size_t iBins)
 Set the data pair's bin edges.
std::vector< float > GetQuants ()

Protected Attributes

bool m_fContinuous
bool m_fQuantized
std::vector< float > m_vecdQuant

Static Protected Attributes

static const char c_acQdab [] = ".qdab"

Detailed Description

Definition at line 40 of file datapairi.h.


Member Function Documentation

void Sleipnir::CDataPairImpl::SetQuants ( const float *  adBinEdges,
size_t  iBins 
) [protected]

Set the data pair's bin edges.

Parameters:
adBinEdgesArray of values corresponding to discretization bin edges (the last of which is ignored).
iBinsNumber of discretization bins.
See also:
GetValues | Quantize

Reimplemented in Sleipnir::CDataPair.

Definition at line 360 of file datapair.cpp.


The documentation for this class was generated from the following files: