PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
file_format_types.hpp
Go to the documentation of this file.
1 
12 #ifndef PLSSVM_FILE_FORMAT_TYPES_HPP_
13 #define PLSSVM_FILE_FORMAT_TYPES_HPP_
14 #pragma once
15 
16 #include <iosfwd> // forward declare std::ostream and std::istream
17 
18 namespace plssvm {
19 
23 enum class file_format_type {
25  libsvm,
27  arff
28 };
29 
36 std::ostream &operator<<(std::ostream &out, file_format_type format);
37 
44 std::istream &operator>>(std::istream &in, file_format_type &format);
45 
46 } // namespace plssvm
47 
48 #endif // PLSSVM_FILE_FORMAT_TYPES_HPP_
The main namespace containing all public API functions.
Definition: backend_types.hpp:24
std::istream & operator>>(std::istream &in, backend_type &backend)
Use the input-stream in to initialize the backend type.
std::ostream & operator<<(std::ostream &out, backend_type backend)
Output the backend to the given output-stream out.
file_format_type
Enum class for all supported file types.
Definition: file_format_types.hpp:23