#include "debug.h"
#include <algorithm>
#include <list>
#include <map>
#include <string>
#include <vector>
#include <backward/bvector.h>
#include <math.h>
#include <limits>
Go to the source code of this file.
Debugging Defines | |
Macros for enabling and disabling debug output | |
#define | _DEBUG_CLASSIFIERS 1 |
#define | _DEBUG_FEATURES 1 |
#define | _DEBUG_PREDICTORS 1 |
Optimisation Defines | |
Macros for enabling and disabling various optimizations | |
#define | NO_OPTIMIZATIONS 0 |
turn off all optimizations (for debugging) | |
#define | OPTIMIZATIONS_SPLAYTREE 0 |
turn on splaytree optimization | |
#define | OPTIMIZATIONS_CACHE_SIMILARITY 1 |
turn on cache similarity optimization | |
#define | OPTIMIZATIONS_SPLIT_MERGE 0 |
turn on split/merge optimization | |
Global Typedefs | |
typedef vector< string > | stringvector |
typedef map< string, string > | parametermap |
Defines | |
#define | NOMINMAX |
Prevent the MIN() and MAX() macros from being defined. | |
#define | DUMP_LEAKS() |
Hint the debug heap to dump all memory blocks not freed so far. | |
#define | rand_double() ((double) rand() / (RAND_MAX + 0.00001)) |
#define | INIT_EXPORT |
#define | FINI_EXPORT |
This file contains often used defines and includes and contains macros to have a platform and compiler independend way of accessing basic functions.
Harald Radi <harald.radi@nme.at>
|
Compiler attributes for library cleanup |
|
Compiler attributes for library initialization |
|
Get a random value This macro returns a random value within the interval [0; 1[
|
|
A map to represent configuration file entries |
|
A simple ordered list of strings |