[GRASS5] A question about v.surf.idw

Hi;

In main.c of v.surf.idw module in GRASS 6.0.1;

/* Arbitrary point to switch between searching algorithms. Could do

  • with refinement PK /
    if( (window.rows
    window.cols)/npoints > 400 )

is written to select old ( brute force ) or new (clarke) algorithm.

How did you decide the number 400? What is your test data or test function?
Do you have an article about that?

As much as I read from the articles whichs aouthor is Marc P. Armstrog Clarke’s algortihm is always better for different data sets.

Or is this a better way to define this number as an option for the user?

Best regards
Muzaffer…


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com