geodesic: Functions for geodesic search
Description
These functions are for a geodesic search.Usage
search_geodesic(current, alpha = 1, index, max.tries = 5, n = 5)
caller(start,index,n,bases)
Arguments
current, start
The starting projection.
alpha
Maximum distance to travel (currently ignored).
index
The projection index.
max.tries
Maximum number of failed attempts before giving up.
n
Number of random steps to take to find best direction. Can be a vector for caller.
bases
Total number of bases to find.
Value
search_geodesic returns the basis found.
caller returns a list of bases. The list may be shorter than specified if no better bases can be found.
Details
The function search_geodesic finds only one basis at a time. The caller is a wrapper function that calls search_geodesic bases number of times.