Assigning XY positions to points based on a "weight" between them
Posted
by
sanity
on Stack Overflow
See other posts from Stack Overflow
or by sanity
Published on 2011-01-15T21:08:39Z
Indexed on
2011/01/15
21:53 UTC
Read the original article
Hit count: 113
I have a bunch of points in a graph, and for every pair of these points I have "weight" value indicating what their proximity should be, between -1 and 1.
I want to choose XY coordinates for these points such that those that have a proximity of 1 are in the same position, and those with a proximity of -1 are distant from each-other. All points must reside within a bounded area.
What algorithms should I investigate to achieve this?
© Stack Overflow or respective owner