Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.46 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.46 KB

Adjusting partitions of the plane through Voronoi diagrams

About

The aim of my final year project is to study and design strategies for fitting a given partition of the square unit through Voronoi diagrams.

Since checking the whole search space is not doable, we will be using and comparing different heuristics, specifically the gradient method and the simulated annealing technique.

I am developing my project under the Processing IDE. For computing the Voronoi diagrams, I am using the mesh library.

If you have any question, suggestion or comment, please feel free to write me at guillermo.alonso.nunez@alumnos.upm.es

Quick tour

So, we are given a specific partition and we want to fit it the best we can...

Let's throw some "random" starting points at the given partition (in black) and calculate the corresponding Voronoi diagram (in green):

alt text

It doesn't look like a good approximation... We need to do something in order to improve it. After applying an iterative gradient method, this is the result:

alt text

As we can see, the solution is much better now.