find_best_dir: Find the most promising direction to travel in.

Description Usage Arguments Details

Description

Find the most promising direction to travel in.

Usage

1
find_best_dir(old, index, dist=0.01, tries=5)

Arguments

old

current projection

index

interestingness index function

dist

step size in radians, should be small

number

of random steps to take

Details

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.


tourr documentation built on May 2, 2019, 5:28 p.m.

Related to find_best_dir in tourr...