Classifiers input and output data adaptor. More...
#include <Adaptors.h>
Public Member Functions | |
virtual unsigned int | getElementsCount () const =0 |
Returns the total elements number. | |
virtual void | getFeature (const unsigned int &elementIndex, const unsigned int &featureIndex, DataType &featureValue) const =0 |
Returns one feature value. | |
virtual unsigned int | getFeaturesCount () const =0 |
Returns the total features per element number. | |
InputOutputAdaptor () | |
virtual void | setFeature (const unsigned int &elementIndex, const unsigned int &featureIndex, const DataType &value)=0 |
Set one feature value. | |
~InputOutputAdaptor () | |
Classifiers input and output data adaptor.
Definition at line 112 of file Adaptors.h.
|
inline |
Definition at line 116 of file Adaptors.h.
|
inline |
Definition at line 118 of file Adaptors.h.
|
pure virtual |
Returns the total elements number.
Implemented in te::rp::ca::RasterInputOutputAdaptor< DataType >.
|
pure virtual |
Returns one feature value.
elementIndex | Element index.. |
featureIndex | Feature index. |
featureValue | The returned feature value. |
Implemented in te::rp::ca::RasterInputOutputAdaptor< DataType >.
|
pure virtual |
Returns the total features per element number.
Implemented in te::rp::ca::RasterInputOutputAdaptor< DataType >.
|
pure virtual |
Set one feature value.
elementIndex | Element index.. |
featureIndex | Feature index. |
Implemented in te::rp::ca::RasterInputOutputAdaptor< DataType >.