MLPACK  1.0.11
version.hpp
Go to the documentation of this file.
1 
22 #ifndef __MLPACK_CORE_UTIL_VERSION_HPP
23 #define __MLPACK_CORE_UTIL_VERSION_HPP
24 
25 #include <string>
26 
27 // The version of mlpack. If this is svn trunk, this will be a version with
28 // higher number than the most recent release.
29 #define __MLPACK_VERSION_MAJOR 1
30 #define __MLPACK_VERSION_MINOR 0
31 #define __MLPACK_VERSION_PATCH 9
32 
33 // The name of the version (for use by --version).
34 namespace mlpack {
35 namespace util {
36 
41 std::string GetVersion();
42 
43 }; // namespace util
44 }; // namespace mlpack
45 
46 #endif
std::string GetVersion()
This will return either "mlpack x.y.z" or "mlpack trunk-rXXXXX" depending on whether or not this is a...