|
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. The pointer returned by each call to next() is only guaranteed to be valid until the next call to next() or the MatrixExtractor is destroyed.