Vowpal Wabbit
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
features Struct Reference

the core definition of a set of features. More...

#include <feature_group.h>

Classes

class  features_value_index_audit_range
 defines a "range" usable by C++ 11 for loops More...
 

Public Types

using iterator = features_value_index_iterator
 
using iterator_value = features_value_iterator
 
using iterator_all = features_value_index_audit_iterator
 

Public Member Functions

 features ()
 
 ~features ()
 
 features (const features &)=delete
 
featuresoperator= (const features &)=delete
 
 features (features &&other) noexcept
 
featuresoperator= (features &&other) noexcept
 
size_t size () const
 
bool nonempty () const
 
void free_space_names (size_t i)
 
features_value_index_audit_range values_indices_audit ()
 
iterator begin ()
 
iterator end ()
 
void clear ()
 
void truncate_to (const features_value_iterator &pos)
 
void truncate_to (size_t i)
 
void push_back (feature_value v, feature_index i)
 
bool sort (uint64_t parse_mask)
 
void deep_copy_from (const features &src)
 

Public Attributes

v_array< feature_valuevalues
 
v_array< feature_indexindicies
 
std::vector< audit_strings_ptrspace_names
 
float sum_feat_sq
 

Detailed Description

the core definition of a set of features.

Member Typedef Documentation

Constructor & Destructor Documentation

features::features ( )
features::~features ( )
features::features ( const features )
delete
features::features ( features &&  other)
noexcept

Member Function Documentation

iterator features::begin ( )
inline
void features::clear ( )
void features::deep_copy_from ( const features src)
iterator features::end ( )
inline
void features::free_space_names ( size_t  i)
bool features::nonempty ( ) const
inline
features& features::operator= ( const features )
delete
features& features::operator= ( features &&  other)
noexcept
void features::push_back ( feature_value  v,
feature_index  i 
)
size_t features::size ( ) const
inline
bool features::sort ( uint64_t  parse_mask)
void features::truncate_to ( const features_value_iterator pos)
void features::truncate_to ( size_t  i)
features_value_index_audit_range features::values_indices_audit ( )
inline

Member Data Documentation

v_array<feature_index> features::indicies
std::vector<audit_strings_ptr> features::space_names
float features::sum_feat_sq
v_array<feature_value> features::values

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