.. _program_listing_file_include_gwmodelpp_SpatialMonoscaleAlgorithm.h: Program Listing for File SpatialMonoscaleAlgorithm.h ==================================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/gwmodelpp/SpatialMonoscaleAlgorithm.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef SPATIALMONOSCALEALGORITHM_H #define SPATIALMONOSCALEALGORITHM_H #include "SpatialAlgorithm.h" #include "spatialweight/SpatialWeight.h" namespace gwm { class SpatialMonoscaleAlgorithm : public SpatialAlgorithm { public: SpatialMonoscaleAlgorithm() {} SpatialMonoscaleAlgorithm(const SpatialWeight& spatialWeight, arma::mat coords) : SpatialAlgorithm(coords) { mSpatialWeight = spatialWeight; } virtual ~SpatialMonoscaleAlgorithm() {} public: const SpatialWeight& spatialWeight() const { return mSpatialWeight; } void setSpatialWeight(const SpatialWeight &spatialWeight) { mSpatialWeight = spatialWeight; } void createDistanceParameter(); protected: SpatialWeight mSpatialWeight; }; } #endif // SPATIALMONOSCALEALGORITHM_H