gstlearn
0.2.1
Geostatistics & Machine Learning toolbox
|
#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 *db1, Db *db2, const String &name, int ldmax, const VectorDouble &dmax, int flag_fill, int flag_inter, const NamingConvention &namconv) |
int | migrateVariables (Db *db1, Db *db2, const VectorString &names, int ldmax, const VectorDouble &dmax, int flag_fill, int flag_inter, const NamingConvention &namconv) |
int | migrateByAttribute (Db *db1, Db *db2, const VectorInt &atts, int ldmax, const VectorDouble &dmax, int flag_fill, int flag_inter, const NamingConvention &namconv) |
int | migrateByLocator (Db *db1, Db *db2, const ELoc &locatorType, int ldmax, const VectorDouble &dmax, int flag_fill, int flag_inter, const NamingConvention &namconv) |
int migrate | ( | Db * | db1, |
Db * | db2, | ||
const String & | name, | ||
int | ldmax, | ||
const VectorDouble & | dmax, | ||
int | flag_fill, | ||
int | flag_inter, | ||
const NamingConvention & | namconv | ||
) |
Migrates a variable from one Db to another one
[in] | db1 | Descriptor of the input Db |
[in] | db2 | Descriptor of the output Db |
[in] | name | Name of the attribute to be migrated |
[in] | ldmax | 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] | namconv | Naming convention |
int migrateByAttribute | ( | Db * | db1, |
Db * | db2, | ||
const VectorInt & | atts, | ||
int | ldmax, | ||
const VectorDouble & | dmax, | ||
int | flag_fill, | ||
int | flag_inter, | ||
const NamingConvention & | namconv | ||
) |
Migrates a variable from one Db to another one
[in] | db1 | Descriptor of the input Db |
[in] | db2 | Descriptor of the output Db |
[in] | atts | Array of attributes to be migrated |
[in] | ldmax | 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] | namconv | Naming Convention |
int migrateByLocator | ( | Db * | db1, |
Db * | db2, | ||
const ELoc & | locatorType, | ||
int | ldmax, | ||
const VectorDouble & | dmax, | ||
int | flag_fill, | ||
int | flag_inter, | ||
const NamingConvention & | namconv | ||
) |
Migrates all z-locator variables from one Db to another one
[in] | db1 | Descriptor of the input Db |
[in] | db2 | Descriptor of the output Db |
[in] | locatorType | Locator Type |
[in] | ldmax | 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] | namconv | Naming convention |
int migrateVariables | ( | Db * | db1, |
Db * | db2, | ||
const VectorString & | names, | ||
int | ldmax, | ||
const VectorDouble & | dmax, | ||
int | flag_fill, | ||
int | flag_inter, | ||
const NamingConvention & | namconv | ||
) |
Migrates a set of variables from one Db to another one
[in] | db1 | Descriptor of the input Db |
[in] | db2 | Descriptor of the output Db |
[in] | names | Name of the attribute to be migrated |
[in] | ldmax | 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] | namconv | Naming convention |