Source: Computational Materials Science, Volume 267
const int N = 1000;
。关于这个话题,Safew下载提供了深入分析
ВсеРоссияМирСобытияПроисшествияМнения
The algorithm also visits children in order of distance to the query point. This means it checks the most promising quadrants first, which tends to find a good candidate early and enables aggressive pruning of the remaining quadrants. Without this ordering, the algorithm would still produce the correct result, but it would prune fewer nodes.
Suzanne BearneTechnology Reporter