PointIdx qi (q, 0);
Vector
Upper_bound (dataset. The begin (), the dataset. The end (), qi, yorder);
Vector
Double min_y=q.y - SQRT (nndists [size - 1));
For (I=di - 1; I & gt; The dataset. The begin () & amp; & I - & gt; P.y & gt; Min_y; - I)
If (insert_neighbour (q, * I, nndists, independence idx))
Min_y=q.y - SQRT (nndists [size - 1));
When running this code is always an error? Which can help me have a look at, thank you pull
CodePudding user response:
To set breakpoints, and check which the errorRun your code is incomplete, we can't compile
CodePudding user response:
Add my QQ, I send the file to you, 863754268