Skip to content

Using the concept of Well Separated Pair Decomposition, we can efficiently compute various geometry algorithm, from closest-pairs to force-directed graph layout.

Notifications You must be signed in to change notification settings

LeoGrin/Approximation-algorithms-for-geometric-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Approximation-algorithms-for-geometric-problems

Submission for the CS421 project "Approximation algorithms for geometric problems".

We first compute a Well-Separated-Pair-Decomposition from an octree, and then apply this representation to efficiently compute various algorithms from Closest Pair to Force directed graph layout. You can find more information in our project report in the /report dir, giving the theoretical framework and the empirical performance of our implementation and optimisations.

You can compile and run classes in the src directory, by giving as an input to PointCloudViewer a set of point in .off format (like in /data/pointClouds) for closest and farthest pairs computation, and by giving as an input to NetworkLayout a graph in .mtx format (like in /data/networks) for Fruchterman-Reingold computation.

You can also directly run the .jar in the bin directory by giving the same format of input as for the src.

About

Using the concept of Well Separated Pair Decomposition, we can efficiently compute various geometry algorithm, from closest-pairs to force-directed graph layout.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages