Namespaces | Functions | Variables

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/core/math/optimization/optimization_constants.h File Reference

#include <OpenTissue/configuration.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  OpenTissue
namespace  OpenTissue::math
namespace  OpenTissue::math::optimization

Functions

std::string OpenTissue::math::optimization::get_error_message (size_t const &error_code)

Variables

size_t const OpenTissue::math::optimization::OK = 0
size_t const OpenTissue::math::optimization::NON_DESCENT_DIRECTION = 1
size_t const OpenTissue::math::optimization::BACKTRACKING_FAILED = 2
size_t const OpenTissue::math::optimization::STAGNATION = 3
size_t const OpenTissue::math::optimization::RELATIVE_CONVERGENCE = 4
size_t const OpenTissue::math::optimization::ABSOLUTE_CONVERGENCE = 5
size_t const OpenTissue::math::optimization::ITERATING = 6
size_t const OpenTissue::math::optimization::DESCEND_DIRECTION_IN_NORMAL_CONE = 7
size_t const OpenTissue::math::optimization::IN_LOWER = 1
size_t const OpenTissue::math::optimization::IN_UPPER = 2
size_t const OpenTissue::math::optimization::IN_ACTIVE = 4

Detailed Description

This file contains declarations of some readable constants that is used for setting proper error code/status before exiting any given numerical method in the optimization library. The intention is that this ensures that all numerical error codes have the same global meaning regardless of the methods/functions that is used.

Author:
Kenny Erleben