Answer the question
In order to leave comments, you need to log in
How to randomly generate points on the plane, so that the closest to them correspond to the connections to the nodes of the graph?
The task is a Graph, where it is conditionally shown which point should be the closest. It is necessary to generate randomly and scatter the points on the plane so that the connections between the nearest points do not intersect. .
Here is an example input.
Answer the question
In order to leave comments, you need to log in
the solution will walk around exactly how the condition is worded:
where it is conditionally shown which point should be the nearest
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question