Two algorithms for nearest-neighbor search in high dimensions | Synapse