Top "Distance" questions

Distance is a numerical description of how far apart objects are.

Python: speeding up geographic comparison

I've written some code that includes a nested loop where the inner loop is executed about 1.5 million times. I have …

python optimization distance geography
Solve 8-puzzle game

I'm trying to code a 8-puzzle game solver in C++, but I'm having a lot of problems while doing it. …

c++ algorithm distance puzzle sliding-tile-puzzle
Computing sparse pairwise distance matrix in R

I have a NxM matrix and I want to compute the NxN matrix of Euclidean distances between the M points. …

r distance sparse-matrix knn