mlpack
2.2.5
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
mlpack
core
util
version.hpp
Go to the documentation of this file.
1
12
#ifndef MLPACK_CORE_UTIL_VERSION_HPP
13
#define MLPACK_CORE_UTIL_VERSION_HPP
14
15
#include <string>
16
17
// The version of mlpack. If this is a git repository, this will be a version
18
// with higher number than the most recent release.
19
#define MLPACK_VERSION_MAJOR 2
20
#define MLPACK_VERSION_MINOR 2
21
#define MLPACK_VERSION_PATCH 5
22
23
// Reverse compatibility; these macros will be removed in future versions of
24
// mlpack (3.0.0 and newer)!
25
#define __MLPACK_VERSION_MAJOR 2
26
#define __MLPACK_VERSION_MINOR 2
27
#define __MLPACK_VERSION_PATCH 5
28
29
// The name of the version (for use by --version).
30
namespace
mlpack {
31
namespace
util {
32
37
std::string
GetVersion
();
38
39
}
// namespace util
40
}
// namespace mlpack
41
42
#endif
mlpack::util::GetVersion
std::string GetVersion()
This will return either "mlpack x.y.z" or "mlpack master-XXXXXXX" depending on whether or not this is...
Generated by
1.8.5