mlpack
policy_traits.hpp
Go to the documentation of this file.
1 
14 #ifndef MLPACK_CORE_DATA_STRING_ENCODING_POLICIES_POLICY_TRAITS_HPP
15 #define MLPACK_CORE_DATA_STRING_ENCODING_POLICIES_POLICY_TRAITS_HPP
16 
17 #include <mlpack/prereqs.hpp>
18 
19 namespace mlpack {
20 namespace data {
21 
26 template<class PolicyType>
28 {
33  static const bool onePassEncoding = false;
34 };
35 
36 } // namespace data
37 } // namespace mlpack
38 
39 #endif
This is a template struct that provides some information about various encoding policies.
Definition: policy_traits.hpp:27
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
static const bool onePassEncoding
Indicates if the policy is able to encode the token at once without any information about other token...
Definition: policy_traits.hpp:33