Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Cost-Distance Operation #317

Merged
merged 2 commits into from
Jan 21, 2013

Conversation

ahinz
Copy link
Contributor

@ahinz ahinz commented Jan 18, 2013

This operation includes the benchmarking suite as well as a spec test. The algorithm implemented is a simple fan-out using a priority queue. I know that Dana Tomlin has done some awesome research and it would be great to integrate that at some point but I think this is a good start.

The benchmarks vary a bit since they use randomly generated data but usually a 2000x2000 raster can be processed in about 4.5 seconds.

rasterSize      ms linear runtime                                                                         
        64    6.21 =                                                                                      
       128   17.57 =                                                                                      
       256   69.92 =                                                                                      
       512  289.77 =                                                                                      
      1024 1214.21 ======                                                                                 
      2048 5338.41 ==============================

joshmarcus added a commit that referenced this pull request Jan 21, 2013
Add new Cost-Distance Operation
@joshmarcus joshmarcus merged commit c3a487d into locationtech:master Jan 21, 2013
@lossyrob lossyrob mentioned this pull request Feb 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants