|
SOMHunter Core
|
#include <cstddef>

Go to the source code of this file.
Macros | |
| #define | LOGLEVEL 3 |
| Internal logger lever. More... | |
| #define | LOCK_STDOUT 0 |
| If STDOUT/STDERR streams should be synchronized. More... | |
| #define | DEBUG_CURL_REQUESTS 0 |
| If verbose CURL debug request log should be printed. More... | |
| #define | LOG_API_CALLS 0 |
| If 1, each call to Core API will be logged. More... | |
| #define | KW_TEMPORAL_SPAN 5 |
| How many following frames we inspect during the ranking. More... | |
| #define | MINIMAL_SCORE 1e-18f |
| Zero scores will be substituted with this value. More... | |
| #define | MAX_NUM_TEMP_WORKERS 4 |
| Maximum number of threads to spawn for short time jobs. More... | |
| #define | TOPN_LIMIT 20000 |
| #define | TOPKNN_LIMIT 10000 |
| #define | SOM_ITERS 30000 |
| #define | DISPLAY_GRID_WIDTH 6 |
| Pop-up window image grid width. More... | |
| #define | DISPLAY_GRID_HEIGHT 6 |
| Pop-up window image grid height. More... | |
Variables | |
| constexpr const char * | sh::sconfig::EXIT_HTTP_API_LOOP_KEYWORD = "exit" |
| Keyword to type in to end the HTTP API listening loop. More... | |
| constexpr std::size_t | sh::sconfig::HTTP_API_LOOP_SLEEP = 1000 |
| Sleep interval for the the HTTP API listening loop. More... | |
| constexpr int | sh::TOP_N_SELECTED_FRAME_POSITION = 2 |
| constexpr float | sh::RANDOM_DISPLAY_WEIGHT = 3.0f |
| constexpr size_t | sh::SOM_DISPLAY_GRID_WIDTH = 8 |
| SOM window image grid width. More... | |
| constexpr size_t | sh::SOM_DISPLAY_GRID_HEIGHT = 8 |
| SOM window image grid height. More... | |
| constexpr size_t | sh::RELOCATION_GRID_WIDTH = 5 |
| SOM relocation grid width. More... | |
| constexpr size_t | sh::RELOCATION_GRID_HEIGHT = 5 |
| SOM relocation grid height. More... | |
| constexpr int | sh::MAX_TEMPORAL_SIZE = 2 |
| Maximal size of temporal query. More... | |
| constexpr const char * | sh::LOGGING_STRINGS::STD_CATEGORIES::BROWSING = "BROWSING" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_CATEGORIES::IMAGE = "IMAGE" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_CATEGORIES::TEXT = "TEXT" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_TYPES::EXPLORATION = "exploration" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_TYPES::RANKED_LIST = "rankedList" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_TYPES::RANDOM_SELECTION = "randomSelection" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_VALUES::RANDOM_DISPLAY = "randomDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_VALUES::SOM_DISPLAY = "somDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_VALUES::TOP_SCORED_DISPLAY = "topScoredDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_VALUES::SOM_RELOC_DISPLAY = "somRelocationDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_VALUES::TOP_SCORED_CONTEXT_DISPLAY = "topnContextDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::STD_KEYS::ACTION_NAME = "actionName" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::SHOW_RANDOM_DISPLAY = "showRandomDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::SHOW_SOM_DISPLAY = "showSomDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::SHOW_SOM_RELOC_DISPLAY = "showSomRelocationDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::SHOW_TOP_SCORED_DISPLAY = "showTopScoredDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::SHOW_TOP_SCORED_CONTEXT_DISPLAY = "showTopScoredContextDisplay" |
| constexpr const char * | sh::LOGGING_STRINGS::ACTION_NAMES::RESET_ALL = "resetAll" |
| #define DEBUG_CURL_REQUESTS 0 |
If verbose CURL debug request log should be printed.
| #define DISPLAY_GRID_HEIGHT 6 |
Pop-up window image grid height.
| #define DISPLAY_GRID_WIDTH 6 |
Pop-up window image grid width.
| #define KW_TEMPORAL_SPAN 5 |
How many following frames we inspect during the ranking.
| #define LOCK_STDOUT 0 |
If STDOUT/STDERR streams should be synchronized.
| #define LOG_API_CALLS 0 |
If 1, each call to Core API will be logged.
| #define LOGLEVEL 3 |
Internal logger lever.
4 = +debug, 3 = +info, 2 = +warnings, 1 = +errors 0 = none
| #define MAX_NUM_TEMP_WORKERS 4 |
Maximum number of threads to spawn for short time jobs.
| #define MINIMAL_SCORE 1e-18f |
Zero scores will be substituted with this value.
| #define SOM_ITERS 30000 |
| #define TOPKNN_LIMIT 10000 |
| #define TOPN_LIMIT 20000 |