1 #ifndef _theplu_yat_classifier_dataLookup_weighted_1D_
2 #define _theplu_yat_classifier_dataLookup_weighted_1D_
27 #include "MatrixLookupWeighted.h"
28 #include "yat/utility/Container2DIterator.h"
29 #include "yat/utility/StrideIterator.h"
36 namespace classifier {
73 const bool row_vector);
99 double data(
const size_t i)
const;
109 size_t size(
void)
const;
114 double weight(
const size_t i)
const;
124 const bool column_vector_;
const_iterator begin() const
DataLookupWeighted1D(const MatrixLookupWeighted &m, const size_t index, const bool row_vector)
boost::permutation_iterator< utility::MatrixWeighted::const_row_iterator, utility::Index::const_iterator > const_row_iterator
Definition: MatrixLookupWeighted.h:98
const_reference operator()(const size_t i) const
access operator
utility::DataWeight value_type
Definition: DataLookupWeighted1D.h:52
double weight(const size_t i) const
const utility::DataWeight const_reference
Definition: DataLookupWeighted1D.h:59
virtual ~DataLookupWeighted1D()
Destructor.
const_iterator end() const
double data(const size_t i) const
Holds a pair of data and associated weight.
Definition: DataWeight.h:39
MatrixLookupWeighted::const_row_iterator const_iterator
'Read Only' iterator
Definition: DataLookupWeighted1D.h:62
General view into utility::MatrixWeighted.
Definition: MatrixLookupWeighted.h:63
double sum_weight(const DataLookupWeighted1D &)
Class for general weighted vector view.
Definition: DataLookupWeighted1D.h:43