View source: R/search-geodesic.r
Starting from the current projection, pick tries
random location
and take a small step towards and away from each location. The most
promising direction has the highest value of the index
function.
1 | find_best_dir(old, index, dist = 0.01, tries = 5)
|
old |
current projection |
index |
interestingness index function |
dist |
step size in radians, should be small |
number |
of random steps to take |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.