Definitions.cpp File Reference
#include <string>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <unistd.h>
#include <nuklei/Common.h>
#include <nuklei/Math.h>

Go to the source code of this file.

Namespaces

 nuklei
 Public namespace.
 

Macros

#define defConst(TYPE, VAR, VAL)   const TYPE VAR = initConst<TYPE>("NUKLEI_" #VAR, VAL)
 

Functions

template<typename T >
static T nuklei::initConst (const char *envVar, T def)
 
 nuklei::defConst (bool, KDTREE_DENSITY_EVAL, true)
 
 nuklei::defConst (bool, KDTREE_NANOFLANN, true)
 
 nuklei::defConst (unsigned int, KDE_KTH_NEAREST_NEIGHBOR, 8)
 
 nuklei::defConst (appear_t, HSV_METRIC_VALUE_WEIGHT,.6)
 
 nuklei::defConst (std::string, SERIALIZATION_DEFAULT_OUTPUT_TYPE, "serial")
 
 nuklei::defConst (std::string, SERIALIZATION_DEFAULT_BOOST_ARCHIVE, "bbinc")
 
 nuklei::defConst (unsigned, IMAGE_PROJECTION_RADIUS, 3)
 
 nuklei::defConst (std::string, PARALLELIZATION, "openmp")
 
 nuklei::defConst (bool, ENABLE_CONSOLE_BACKSPACE, true)
 
 nuklei::defConst (unsigned, LOG_LEVEL, 0)
 
bool nuklei::hasOpenMP ()
 

Variables

const std::string nuklei::INFOSTRING
 
const coord_t nuklei::FLOATTOL = 1e-12
 
const int nuklei::PRECISION = std::numeric_limits<double>::digits10 + 2
 
const int nuklei::NICEINC = std::numeric_limits<int>::max()
 
bool nuklei::LAST_OUTPUT_LINE_IS_PROGRESS = false
 
const bool nuklei::INTERACTIVE_SHELL
 
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:06.