Skip to content

NikitasMaragkos/Skyline-Queries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Skyline-Queries

Given a dominance relationship in a dataset, a skyline query returns the objects that cannot be dominated by any other objects. In the case of a dataset consisting of multidimensional objects, an object dominates another object if it is as good in all dimensions, and better in at least one dimension. The definition of skyline queries in multidimensional datasets is identical with the known maximum vector problem. (Source: "Skyline Queries: an Introduction")

In this Java implemantation, given a text file of multiple (x,y) coordinates we produce as output the (x,y) points that form the skyline. For instance, in the following image the skyline points are a, b, e, h and o.

Skyline

The algorithm runs in O(nlogn) time, since we use a sorting algorithm of O(nlogn) time complexity. After having all points sorted, the remaining process runs at O(n).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages