Learn R Programming

rectpacker (version 1.0.0)

Rectangle Packing

Description

Rectangle packing is a packing problem where rectangles are placed into a larger rectangular region (without overlapping) in order to maximise the use space. Rectangles are packed using the skyline heuristic as discussed in Lijun et al (2011) 'A Skyline-Based Heuristic for the 2D Rectangular Strip Packing Problem' . A function is also included for determining a good small-sized box for containing a given set of rectangles.

Copy Link

Version

Install

install.packages('rectpacker')

Monthly Downloads

125

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mike Cheng

Last Published

December 5th, 2024

Functions in rectpacker (1.0.0)

calc_small_box

Find the dimensions of a small box to store all the given rectangles
pack_rects

Pack rectangles into a box using the skyline algorithm