Package: cppSim 0.2
cppSim: Fast and Memory Efficient Spatial Interaction Models
Building on top of the 'RcppArmadillo' linear algebra functionalities to do fast spatial interaction models in the context of urban analytics, geography, transport modelling. It uses the Newton root search algorithm to determine the optimal cost exponent and can run country level models with thousands of origins and destinations. It aims at implementing an easy approach based on matrices, that can originate from various routing and processing steps earlier in an workflow. Currently, the simplest form of production, destination and doubly constrained models are implemented. Schlosser et al. (2023) <doi:10.48550/arXiv.2309.02112>.
Authors:
cppSim_0.2.tar.gz
cppSim_0.2.zip(r-4.6)cppSim_0.2.zip(r-4.5)cppSim_0.2.zip(r-4.4)
cppSim_0.2.tgz(r-4.5-x86_64)cppSim_0.2.tgz(r-4.5-arm64)
cppSim_0.2.tar.gz(r-4.6-arm64)cppSim_0.2.tar.gz(r-4.6-x86_64)cppSim_0.2.tar.gz(r-4.5-arm64)cppSim_0.2.tar.gz(r-4.5-x86_64)
cppSim_0.2.tgz(r-4.5-emscripten)
cppSim.pdf |cppSim.html✨
cppSim/json (API)
NEWS
| # Install 'cppSim' in R: |
| install.packages('cppSim', repos = c('https://ischlo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ischlo/cppsim/issues
Pkgdown/docs site:https://ischlo.github.io
- distance_test - Distance_test
- flows_london - Flows_london
- flows_test - Flows_test
- london_msoa - London_msoa
geographic-data-sciencegeographical-information-systemspatial-analysisspatial-interaction-modelsurban-data-scienceopenblascppopenmp
Last updated from:856decef34. Checks:13 OK. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-arm64 | OK | 995 | |
| linux-devel-x86_64 | OK | 169 | |
| source / vignettes | OK | 440 | |
| linux-release-arm64 | OK | 976 | |
| linux-release-x86_64 | OK | 1125 | |
| macos-release-arm64 | OK | 180 | |
| macos-release-x86_64 | OK | 353 | |
| macos-oldrel-arm64 | OK | 224 | |
| macos-oldrel-x86_64 | OK | 285 | |
| windows-devel | OK | 128 | |
| windows-release | OK | 133 | |
| windows-oldrel | OK | 127 | |
| wasm-release | OK | 490 |
Exports:run_modelrun_model_singlesimulation
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calibrating the balancing factors | calibration_cpp |
| Function to check availability of OPENMP to run in parallel. If openmp is found, this function returns TRUE | cpp_found_openmp |
| distance_test | distance_test |
| flows_london | flows_london |
| flows_test | flows_test |
| london_msoa | london_msoa |
| Running doubly constrained model | run_model |
| Run model | run_model_cpp |
| Running a singly constrained model | run_model_single |
| Running a whole simulation of a doubly constrained gravity model | simulation |
