reduced dimensionality matrix with cells in rows and dims in columns
tm
Transition matrix
curInd
Current state on tm
mom
Current momentum vector
momAdj
Weighting to adjust momentum. From 0-1. Lower numbers make smaller
adjustment to momentum vector.
w1
Parameter - Base used for modifying of tm probs.
w2
Parameter - Multiplifaction factor used for modifying tm probs.
varEst
Number of alternatives to sample for estimating variance.
Value
Returns index of new cell and new momentum vector
Details
Find next cell function. Transitioin probabilities are modifed by calulating the cosine
of the angle between the current momentum vector and the vector on the rdmap required for
each transtion. The tranisiton probability is adjusted by multiplying by w1^(w2 * (cosine_angle)) and then normalising.