spatial_stats.hpp

Functions for calculating various spatial statistics.

This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2016-2019 Michigan State University MIT Software license; see doc/LICENSE.md

Note

Status: BETA

Defines

INCLUDE_EMP_MATH_SPATIAL_STATS_HPP_GUARD

Functions

template<typename ORG>
double GridPointDensity(World<ORG> &w, size_t xid, size_t yid, int neighborhood_size = 2)
template<typename ORG>
double GridPointShannonEntropy(World<ORG> &w, size_t xid, size_t yid, int neighborhood_size = 2)
template<typename ORG>
vector<vector<double>> GridDensity(World<ORG> &w, int neighborhood_size = 2)
template<typename ORG>
vector<vector<double>> GridShannonEntropy(World<ORG> &w, int neighborhood_size = 2)