find_best_dir {tourr} | R Documentation |
Find the most promising direction to travel in.
Description
Starting from the current projection, pick counter
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.
Usage
find_best_dir(old, index, dist = 0.01, counter = 5, ...)
Arguments
old |
current projection |
index |
interestingness index function |
dist |
step size in radians, should be small |
counter |
of random steps to take |
[Package tourr version 1.2.4 Index]