Skip to content

An implementation of the Staircase algorithm for finding maximal rectangles in two-dimensional point sets.

Notifications You must be signed in to change notification settings

eferm/Maxrectangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

An implementation of the Staircase algorithm for finding maximal rectangles in two-dimensional point sets. Finds all maximal rectangles (http://en.wikipedia.org/wiki/Largest_empty_rectangle) in O(nm) time.

Relevant paper:
J. Edmonds et al., Mining for Empty Rectangles in Large Data Sets, Lecture Notes in Computer Science, 2001, Volume 1973/2001, p.174-188

To run the interfaces Point and Rectangle need to be implemented appropriately. Also, consider passing container width/height to the method.

About

An implementation of the Staircase algorithm for finding maximal rectangles in two-dimensional point sets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages