类 SpatialMultiscaleAlgorithm

继承关系

基类

派生类

类文档

class SpatialMultiscaleAlgorithm : public gwm::SpatialAlgorithm

Interface for spatial algorithm with a single bandwidth. It defines some interface commonly used in spatial algorithms:

  • Getter and setter of spatial weight configuration.

Pointer of this type can be put to these classes:

Subclassed by gwm::GWRMultiscale

公有成员函数

inline SpatialMultiscaleAlgorithm()

Construct a new SpatialMultiscaleAlgorithm object.

inline SpatialMultiscaleAlgorithm(const arma::mat &coords, const std::vector<SpatialWeight> &spatialWeights)

Construct a new SpatialMultiscaleAlgorithm object

参数

spatialWeights

inline virtual ~SpatialMultiscaleAlgorithm()

Destroy the SpatialMultiscaleAlgorithm object.

inline const std::vector<SpatialWeight> &spatialWeights() const

Get the spatial weight configuration.

返回

Spatial weight configuration object.

inline virtual void setSpatialWeights(const std::vector<SpatialWeight> &spatialWeights)

Set the spatial weight configuration.

Use gwmodel_set_gwr_spatial_weight() to set this property to GWRBasic in shared build.

Use gwmodel_set_gwss_spatial_weight() to set this property to GWSS in shared build.

参数

spatialWeights – Reference of spatial weight configuration object.

void createDistanceParameter(size_t size)

保护属性

std::vector<SpatialWeight> mSpatialWeights

Spatial weight configuration.