mlpack  1.0.12
core.hpp
Go to the documentation of this file.
1 /***
2  * @file core.hpp
3  *
4  * Include all of the base components required to write MLPACK methods, and the
5  * main MLPACK Doxygen documentation.
6  *
7  * This file is part of mlpack 1.0.12.
8  *
9  * mlpack is free software; you may redstribute it and/or modify it under the
10  * terms of the 3-clause BSD license. You should have received a copy of the
11  * 3-clause BSD license along with mlpack. If not, see
12  * http://www.opensource.org/licenses/BSD-3-Clause for more information.
13  */
14 #ifndef __MLPACK_CORE_HPP
15 #define __MLPACK_CORE_HPP
16 
156 // First, include all of the prerequisites.
157 #include <mlpack/prereqs.hpp>
158 
159 // Now the core mlpack classes.
161 #include <mlpack/core/util/log.hpp>
162 #include <mlpack/core/util/cli.hpp>
163 #include <mlpack/core/data/load.hpp>
164 #include <mlpack/core/data/save.hpp>
174 
175 // Include kernel traits.
187 
188 // Use Armadillo's C++ version detection.
189 #ifdef ARMA_USE_CXX11
190  #define MLPACK_USE_CX11
191 #endif
192 
193 // Clean up unfortunate Windows preprocessor definitions, even if this file was
194 // already included. Use std::min and std::max!
195 #ifdef _WIN32
196  #ifdef min
197  #undef min
198  #endif
199 
200  #ifdef max
201  #undef max
202  #endif
203 #endif
204 
205 #endif
The core includes that mlpack expects; standard C++ includes and Armadillo.
Miscellaneous math clamping routines.
Miscellaneous math random-related routines.
Definition of the Range class, which represents a simple range with a lower and upper bound...