AWF-GAUG / fisim

Forest Inventory Simulator (fisim) is a package for simulating response and samplign designs common in forest inventories
0 stars 2 forks source link

Improve speed of simulation #2

Closed sebschnell closed 6 years ago

sebschnell commented 6 years ago

Issue: Currently a loop and all steps (sample locations, tree selection, edge correction, extraction from population, aggregation, estimation) are executed at each iteration.

Possible solution: Select set of sample locations m times at once and perform kNN search of trees at all sets simultaneously. Should be possible by adding an optional parameter to the single functions that perform the single steps for simulating the inventory.