C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
FeatureIndicesIface Class Referenceabstract

Abstract class that defines interface for feature indices collection. More...

Class Declaration

Member Function Documentation

virtual bool areRawFeatureIndicesAvailable ( ) const
pure virtual

Checks if the raw array of feature indices is available

Returns
True if the raw array of indices is available
virtual FeatureIndex getFirst ( ) const
pure virtual

Gets the first index in the collection

Returns
The very first index in the collection. If collection is empty, method returns FeatureIndexTraits::invalid() value
virtual FeatureIndex getLast ( ) const
pure virtual

Gets the last index in the collection

Returns
The last index in the collection. If collection is empty, method returns FeatureIndexTraits::invalid() value
virtual services::BufferView<FeatureIndex> getRawFeatureIndices ( )
pure virtual

Gets the raw array that stores all feature indices available in the collection

Returns
The buffer view object that contains continuous sequence of features
virtual bool isPlainRange ( ) const
pure virtual

Checks if collection represents continuous range of indices. If method returns True, the methods getFirst() and getLast() return lower and upper bounds of the range

Returns
True if the feature indices collection contains continuous range of indices
virtual size_t size ( ) const
pure virtual

Returns the number of feature indices in the collection


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

For more complete information about compiler optimizations, see our Optimization Notice.