Click here to Skip to main content
15,888,610 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: merge k AVL trees complexity Pin
Hesham Yassin17-Jun-11 10:49
Hesham Yassin17-Jun-11 10:49 
QuestionEye-like Algorithm Pin
JustWorking14-Jun-11 2:46
JustWorking14-Jun-11 2:46 
AnswerRe: Eye-like Algorithm Pin
phil.o14-Jun-11 3:39
professionalphil.o14-Jun-11 3:39 
GeneralRe: Eye-like Algorithm Pin
JustWorking14-Jun-11 4:07
JustWorking14-Jun-11 4:07 
GeneralRe: Eye-like Algorithm Pin
Alan Balkany14-Jun-11 4:51
Alan Balkany14-Jun-11 4:51 
GeneralRe: Eye-like Algorithm Pin
JustWorking14-Jun-11 20:27
JustWorking14-Jun-11 20:27 
QuestionPolygons from Points Pin
Kyudos31-May-11 15:28
Kyudos31-May-11 15:28 
AnswerRe: Polygons from Points Pin
YDaoust31-May-11 21:22
YDaoust31-May-11 21:22 
Kyudos,

your problem statement is not totally clear to me. A figure would be helpful.

You can form polygons around your point clouds by means of the convex hull construction (tightest convex polygon that includes all points); if you mention unconnected islands, this means that convexity is a too strong requirement. You could resort to Alpha-shapes, a generalization of the convex hull (see http://cgm.cs.mcgill.ca/~godfried/teaching/projects97/belair/alpha.html).

This suggestion only allows you to process each class independently, it will not guarantee that the polygons are nested. This requires a more general approach.

Another answer is provided by the Voronoi diagram, a tiling of the plane where every point is associated to all points that are closer to it than to another point. (http://en.wikipedia.org/wiki/Voronoi_diagram). Coloring the diagram will give you the desired polygon set (in reality some discrete form of iso-lines).

Maybe the specific arrangement of your data points can provide shortcuts to the solution...
GeneralRe: Polygons from Points Pin
Kyudos1-Jun-11 13:32
Kyudos1-Jun-11 13:32 
AnswerRe: Polygons from Points Pin
Luc Pattyn1-Jun-11 15:23
sitebuilderLuc Pattyn1-Jun-11 15:23 
GeneralRe: Polygons from Points Pin
YDaoust1-Jun-11 21:16
YDaoust1-Jun-11 21:16 
GeneralRe: Polygons from Points Pin
YDaoust1-Jun-11 22:37
YDaoust1-Jun-11 22:37 
GeneralRe: Polygons from Points Pin
BobJanova1-Jun-11 22:58
BobJanova1-Jun-11 22:58 
QuestionDatabase of Data Types Pin
Richard Andrew x6429-May-11 20:45
professionalRichard Andrew x6429-May-11 20:45 
AnswerRe: Database of Data Types Pin
Luc Pattyn29-May-11 21:22
sitebuilderLuc Pattyn29-May-11 21:22 
QuestionFast path finding algorithm Pin
alikalik27-May-11 7:08
alikalik27-May-11 7:08 
AnswerRe: Fast path finding algorithm Pin
AspDotNetDev27-May-11 7:31
protectorAspDotNetDev27-May-11 7:31 
AnswerRe: Fast path finding algorithm Pin
Luc Pattyn27-May-11 7:42
sitebuilderLuc Pattyn27-May-11 7:42 
GeneralRe: Fast path finding algorithm Pin
alikalik27-May-11 8:24
alikalik27-May-11 8:24 
AnswerRe: Fast path finding algorithm Pin
Luc Pattyn27-May-11 14:16
sitebuilderLuc Pattyn27-May-11 14:16 
QuestionRe: Fast path finding algorithm Pin
AspDotNetDev27-May-11 9:08
protectorAspDotNetDev27-May-11 9:08 
AnswerRe: Fast path finding algorithm Pin
David I Carter31-May-11 22:29
David I Carter31-May-11 22:29 
AnswerRe: Fast path finding algorithm Pin
Member 41945939-Aug-11 19:42
Member 41945939-Aug-11 19:42 
GeneralRe: Fast path finding algorithm Pin
Member 419459310-Aug-11 3:53
Member 419459310-Aug-11 3:53 
AnswerRe: Fast path finding algorithm Pin
BobJanova1-Jun-11 2:01
BobJanova1-Jun-11 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.