Parallel Analog Ensemble
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Config Class Reference

Config class provides detailed parameters for configuring analog ensemble generation. This class also defines names of different parameters that can be used in R API and the file I/O process. More...

#include <Config.h>

Public Member Functions

 Config ()
 
 Config (const Config &orig)
 
virtual ~Config ()
 
void print (std::ostream &os)
 
int getVerbose ()
 
void setVerbose (int)
 
int getWorkerVerbose ()
 
void setWorkerVerbose (int)
 
void reset ()
 

Public Attributes

std::size_t num_analogs
 
std::size_t num_sims
 
std::size_t obs_var_index
 
std::size_t max_par_nan
 
std::size_t max_flt_nan
 
std::size_t flt_radius
 
std::size_t num_nearest
 
double distance
 
std::vector< double > weights
 
bool extend_obs
 
bool operation
 
bool prevent_search_future
 
bool save_analogs
 
bool save_analogs_time_index
 
bool save_sims
 
bool save_sims_time_index
 
bool save_sims_station_index
 
bool save_sds
 
bool save_obs_time_index_table
 
bool save_search_stations_index
 
bool quick_sort
 
bool exclude_closest_location
 
bool no_norm
 
Verbose verbose
 
Verbose worker_verbose
 

Static Public Attributes

static const std::string _NAME = "UNDEFINED"
 
static const bool _CIRCULAR = false
 
static const double _X = 0.0
 
static const double _Y = 0.0
 
static const std::size_t _TIME = 0
 
static const std::string _UNIT
 
static const std::string _ORIGIN
 
static const std::string _NUM_ANALOGS = "num_analogs"
 
static const std::string _NUM_SIMS = "num_similarity"
 
static const std::string _OBS_ID = "observation_id"
 
static const std::string _NUM_PAR_NA = "max_par_nan"
 
static const std::string _NUM_FLT_NA = "max_flt_nan"
 
static const std::string _FLT_RADIUS = "flt_radius"
 
static const std::string _NUM_NEAREST = "num_nearest"
 
static const std::string _EXTEND_OBS = "extend_observation"
 
static const std::string _DISTANCE = "distance"
 
static const std::string _WEIGHTS = "weights"
 
static const std::string _OPERATION = "operation"
 
static const std::string _PREVENT_SEARCH_FUTURE = "prevent_search_future"
 
static const std::string _SAVE_ANALOGS = "save_analogs"
 
static const std::string _SAVE_ANALOGS_TIME_IND = "save_analogs_time_index"
 
static const std::string _SAVE_SIMS = "save_similarity"
 
static const std::string _SAVE_SIMS_TIME_IND = "save_similarity_time_index"
 
static const std::string _SAVE_SIMS_STATION_IND = "save_similarity_station_index"
 
static const std::string _SAVE_SDS = "save_sds"
 
static const std::string _SAVE_OBS_TIME_IND_TABLE = "save_obs_time_index_table"
 
static const std::string _SAVE_SEARCH_STATIONS_IND = "save_search_stations_index"
 
static const std::string _QUICK = "quick"
 
static const std::string _NO_NORM = "no_norm"
 
static const std::string _EXCLUDE_CLOSEST_STATION = "exclude_closest_location"
 
static const std::string _VERBOSE = "verbose"
 
static const std::string _DATA = "Data"
 
static const std::string _PAR_NAMES = "ParameterNames"
 
static const std::string _CIRCULARS = "ParameterCirculars"
 
static const std::string _XS = "Xs"
 
static const std::string _YS = "Ys"
 
static const std::string _STATION_NAMES = "StationNames"
 
static const std::string _TIMES = "Times"
 
static const std::string _FLTS = "FLTs"
 
static const std::string _DIM_STATIONS = "num_stations"
 
static const std::string _DIM_TIMES = "num_times"
 
static const std::string _DIM_TEST_TIMES = "num_test_times"
 
static const std::string _DIM_SEARCH_TIMES = "num_search_times"
 
static const std::string _DIM_FLTS = "num_flts"
 
static const std::string _DIM_PARS = "num_parameters"
 
static const std::string _DIM_CHARS = "num_chars"
 
static const std::string _DIM_ANALOGS = "num_analogs"
 
static const std::string _DIM_SIMS = "num_similarity"
 
static const std::string _ANALOGS = "analogs"
 
static const std::string _ANALOGS_TIME_IND = "analogs_time_index"
 
static const std::string _SIMS = "similarity"
 
static const std::string _SIMS_TIME_IND = "similarity_time_index"
 
static const std::string _SIMS_STATION_IND = "similarity_station_index"
 
static const std::string _SDS = "sds"
 
static const std::string _TIME_MAPPING = "mapping"
 
static const std::string _SEARCH_STATIONS_IND = "search_stations"
 
static const std::string _TEST_TIMES = "test_times"
 
static const std::string _SEARCH_TIMES = "search_times"
 

Detailed Description

Config class provides detailed parameters for configuring analog ensemble generation. This class also defines names of different parameters that can be used in R API and the file I/O process.

Constructor & Destructor Documentation

◆ Config() [1/2]

Config::Config ( )

◆ Config() [2/2]

Config::Config ( const Config orig)

◆ ~Config()

Config::~Config ( )
virtual

Member Function Documentation

◆ getVerbose()

int Config::getVerbose ( )

◆ getWorkerVerbose()

int Config::getWorkerVerbose ( )

◆ print()

void Config::print ( std::ostream &  os)

◆ reset()

void Config::reset ( )

◆ setVerbose()

void Config::setVerbose ( int  i)

◆ setWorkerVerbose()

void Config::setWorkerVerbose ( int  i)

Member Data Documentation

◆ _ANALOGS

const string Config::_ANALOGS = "analogs"
static

◆ _ANALOGS_TIME_IND

const string Config::_ANALOGS_TIME_IND = "analogs_time_index"
static

◆ _CIRCULAR

const bool Config::_CIRCULAR = false
static

◆ _CIRCULARS

const string Config::_CIRCULARS = "ParameterCirculars"
static

◆ _DATA

const string Config::_DATA = "Data"
static

◆ _DIM_ANALOGS

const string Config::_DIM_ANALOGS = "num_analogs"
static

◆ _DIM_CHARS

const string Config::_DIM_CHARS = "num_chars"
static

◆ _DIM_FLTS

const string Config::_DIM_FLTS = "num_flts"
static

◆ _DIM_PARS

const string Config::_DIM_PARS = "num_parameters"
static

◆ _DIM_SEARCH_TIMES

const string Config::_DIM_SEARCH_TIMES = "num_search_times"
static

◆ _DIM_SIMS

const string Config::_DIM_SIMS = "num_similarity"
static

◆ _DIM_STATIONS

const string Config::_DIM_STATIONS = "num_stations"
static

◆ _DIM_TEST_TIMES

const string Config::_DIM_TEST_TIMES = "num_test_times"
static

◆ _DIM_TIMES

const string Config::_DIM_TIMES = "num_times"
static

◆ _DISTANCE

const string Config::_DISTANCE = "distance"
static

◆ _EXCLUDE_CLOSEST_STATION

const string Config::_EXCLUDE_CLOSEST_STATION = "exclude_closest_location"
static

◆ _EXTEND_OBS

const string Config::_EXTEND_OBS = "extend_observation"
static

◆ _FLT_RADIUS

const string Config::_FLT_RADIUS = "flt_radius"
static

◆ _FLTS

const string Config::_FLTS = "FLTs"
static

◆ _NAME

const string Config::_NAME = "UNDEFINED"
static

◆ _NO_NORM

const string Config::_NO_NORM = "no_norm"
static

◆ _NUM_ANALOGS

const string Config::_NUM_ANALOGS = "num_analogs"
static

◆ _NUM_FLT_NA

const string Config::_NUM_FLT_NA = "max_flt_nan"
static

◆ _NUM_NEAREST

const string Config::_NUM_NEAREST = "num_nearest"
static

◆ _NUM_PAR_NA

const string Config::_NUM_PAR_NA = "max_par_nan"
static

◆ _NUM_SIMS

const string Config::_NUM_SIMS = "num_similarity"
static

◆ _OBS_ID

const string Config::_OBS_ID = "observation_id"
static

◆ _OPERATION

const string Config::_OPERATION = "operation"
static

◆ _ORIGIN

const std::string Config::_ORIGIN
static

◆ _PAR_NAMES

const string Config::_PAR_NAMES = "ParameterNames"
static

◆ _PREVENT_SEARCH_FUTURE

const string Config::_PREVENT_SEARCH_FUTURE = "prevent_search_future"
static

◆ _QUICK

const string Config::_QUICK = "quick"
static

◆ _SAVE_ANALOGS

const string Config::_SAVE_ANALOGS = "save_analogs"
static

◆ _SAVE_ANALOGS_TIME_IND

const string Config::_SAVE_ANALOGS_TIME_IND = "save_analogs_time_index"
static

◆ _SAVE_OBS_TIME_IND_TABLE

const string Config::_SAVE_OBS_TIME_IND_TABLE = "save_obs_time_index_table"
static

◆ _SAVE_SDS

const string Config::_SAVE_SDS = "save_sds"
static

◆ _SAVE_SEARCH_STATIONS_IND

const string Config::_SAVE_SEARCH_STATIONS_IND = "save_search_stations_index"
static

◆ _SAVE_SIMS

const string Config::_SAVE_SIMS = "save_similarity"
static

◆ _SAVE_SIMS_STATION_IND

const string Config::_SAVE_SIMS_STATION_IND = "save_similarity_station_index"
static

◆ _SAVE_SIMS_TIME_IND

const string Config::_SAVE_SIMS_TIME_IND = "save_similarity_time_index"
static

◆ _SDS

const string Config::_SDS = "sds"
static

◆ _SEARCH_STATIONS_IND

const string Config::_SEARCH_STATIONS_IND = "search_stations"
static

◆ _SEARCH_TIMES

const string Config::_SEARCH_TIMES = "search_times"
static

◆ _SIMS

const string Config::_SIMS = "similarity"
static

◆ _SIMS_STATION_IND

const string Config::_SIMS_STATION_IND = "similarity_station_index"
static

◆ _SIMS_TIME_IND

const string Config::_SIMS_TIME_IND = "similarity_time_index"
static

◆ _STATION_NAMES

const string Config::_STATION_NAMES = "StationNames"
static

◆ _TEST_TIMES

const string Config::_TEST_TIMES = "test_times"
static

◆ _TIME

const size_t Config::_TIME = 0
static

◆ _TIME_MAPPING

const string Config::_TIME_MAPPING = "mapping"
static

◆ _TIMES

const string Config::_TIMES = "Times"
static

◆ _UNIT

const std::string Config::_UNIT
static

◆ _VERBOSE

const string Config::_VERBOSE = "verbose"
static

◆ _WEIGHTS

const string Config::_WEIGHTS = "weights"
static

◆ _X

const double Config::_X = 0.0
static

◆ _XS

const string Config::_XS = "Xs"
static

◆ _Y

const double Config::_Y = 0.0
static

◆ _YS

const string Config::_YS = "Ys"
static

◆ distance

double Config::distance

◆ exclude_closest_location

bool Config::exclude_closest_location

◆ extend_obs

bool Config::extend_obs

◆ flt_radius

std::size_t Config::flt_radius

◆ max_flt_nan

std::size_t Config::max_flt_nan

◆ max_par_nan

std::size_t Config::max_par_nan

◆ no_norm

bool Config::no_norm

◆ num_analogs

std::size_t Config::num_analogs

◆ num_nearest

std::size_t Config::num_nearest

◆ num_sims

std::size_t Config::num_sims

◆ obs_var_index

std::size_t Config::obs_var_index

◆ operation

bool Config::operation

◆ prevent_search_future

bool Config::prevent_search_future

◆ quick_sort

bool Config::quick_sort

◆ save_analogs

bool Config::save_analogs

◆ save_analogs_time_index

bool Config::save_analogs_time_index

◆ save_obs_time_index_table

bool Config::save_obs_time_index_table

◆ save_sds

bool Config::save_sds

◆ save_search_stations_index

bool Config::save_search_stations_index

◆ save_sims

bool Config::save_sims

◆ save_sims_station_index

bool Config::save_sims_station_index

◆ save_sims_time_index

bool Config::save_sims_time_index

◆ verbose

Verbose Config::verbose

◆ weights

std::vector<double> Config::weights

◆ worker_verbose

Verbose Config::worker_verbose

The documentation for this class was generated from the following files: