|
knncolle
Collection of KNN methods in C++
|
Extractor interface for matrix data. More...
#include <Matrix.hpp>

Public Member Functions | |
| virtual const Data_ * | next ()=0 |
Extractor interface for matrix data.
| Data_ | Numeric type of the data. |
|
pure virtual |
Matrix::num_dimensions(), containing the coordinates for the next observation.For a newly created MatrixExtractor, the first call to next() should return the coordinates of the first observation in the matrix; the next call should return the coordinates of the second observation; and so on, for up to Matrix::num_observations() calls, after which the MatrixExtractor should no longer be used.
Implemented in knncolle::SimpleMatrixExtractor< Data_ >.