gstlearn
1.0.0
CCC
|
#include "geoslib_f_private.h"
#include "Enum/ELoc.hpp"
#include "Basic/NamingConvention.hpp"
#include "Calculators/CalcMigrate.hpp"
#include "Calculators/ACalcDbToDb.hpp"
#include "Db/DbGrid.hpp"
#include "Db/Db.hpp"
#include <math.h>
Functions | |
int | migrate (Db *dbin, Db *dbout, const String &name, int dist_type, const VectorDouble &dmax, bool flag_fill, bool flag_inter, bool flag_ball, const NamingConvention &namconv) |
int | migrateMulti (Db *dbin, Db *dbout, const VectorString &names, int dist_type, const VectorDouble &dmax, bool flag_fill, bool flag_inter, bool flag_ball, const NamingConvention &namconv) |
int | migrateByAttribute (Db *dbin, Db *dbout, const VectorInt &atts, int dist_type, const VectorDouble &dmax, bool flag_fill, bool flag_inter, bool flag_ball, const NamingConvention &namconv) |
int | migrateByLocator (Db *dbin, Db *dbout, const ELoc &locatorType, int dist_type, const VectorDouble &dmax, bool flag_fill, bool flag_inter, bool flag_ball, const NamingConvention &namconv) |
int migrate | ( | Db * | dbin, |
Db * | dbout, | ||
const String & | name, | ||
int | dist_type, | ||
const VectorDouble & | dmax, | ||
bool | flag_fill, | ||
bool | flag_inter, | ||
bool | flag_ball, | ||
const NamingConvention & | namconv | ||
) |
Migrates a variable from one Db to another one
[in] | dbin | Descriptor of the input Db |
[in] | dbout | Descriptor of the output Db |
[in] | name | Name of the attribute to be migrated |
[in] | dist_type | Type of distance for calculating maximum distance 1 for L1 and 2 for L2 distance |
[in] | dmax | Array of maximum distances (optional) |
[in] | flag_fill | Filling option |
[in] | flag_inter | Interpolation |
[in] | flag_ball | Use BallTree sorting algorithm when available |
[in] | namconv | Naming convention |
int migrateByAttribute | ( | Db * | dbin, |
Db * | dbout, | ||
const VectorInt & | atts, | ||
int | dist_type, | ||
const VectorDouble & | dmax, | ||
bool | flag_fill, | ||
bool | flag_inter, | ||
bool | flag_ball, | ||
const NamingConvention & | namconv | ||
) |
Migrates a variable from one Db to another one
[in] | dbin | Descriptor of the input Db |
[in] | dbout | Descriptor of the output Db |
[in] | atts | Array of attributes to be migrated |
[in] | dist_type | Type of distance for calculating maximum distance 1 for L1 and 2 for L2 distance |
[in] | dmax | Array of maximum distances (optional) |
[in] | flag_fill | Filling option |
[in] | flag_inter | Interpolation |
[in] | flag_ball | Use BallTree sorting algorithm when available |
[in] | namconv | Naming Convention |
int migrateByLocator | ( | Db * | dbin, |
Db * | dbout, | ||
const ELoc & | locatorType, | ||
int | dist_type, | ||
const VectorDouble & | dmax, | ||
bool | flag_fill, | ||
bool | flag_inter, | ||
bool | flag_ball, | ||
const NamingConvention & | namconv | ||
) |
Migrates all z-locator variables from one Db to another one
[in] | dbin | Descriptor of the input Db |
[in] | dbout | Descriptor of the output Db |
[in] | locatorType | Locator Type |
[in] | dist_type | Type of distance for calculating maximum distance 1 for L1 and 2 for L2 distance |
[in] | dmax | Array of maximum distances (optional) |
[in] | flag_fill | Filling option |
[in] | flag_inter | Interpolation |
[in] | flag_ball | Use BallTree sorting algorithm when available |
[in] | namconv | Naming convention |
int migrateMulti | ( | Db * | dbin, |
Db * | dbout, | ||
const VectorString & | names, | ||
int | dist_type, | ||
const VectorDouble & | dmax, | ||
bool | flag_fill, | ||
bool | flag_inter, | ||
bool | flag_ball, | ||
const NamingConvention & | namconv | ||
) |
Migrates a set of variables from one Db to another one
[in] | dbin | Descriptor of the input Db |
[in] | dbout | Descriptor of the output Db |
[in] | names | Name of the attribute to be migrated |
[in] | dist_type | Type of distance for calculating maximum distance 1 for L1 and 2 for L2 distance |
[in] | dmax | Array of maximum distances (optional) |
[in] | flag_fill | Filling option |
[in] | flag_inter | Interpolation |
[in] | flag_ball | Use BallTree sorting algorithm when available |
[in] | namconv | Naming convention |