I searching algorithm to solve problem like this:
I have few windows, each window can be moved and re sized but with specified ratio between width and height, eg. 2:1 (height:width).
Each window can't be on other window and all windows must be fully visible. Free area (desktop wallpaper visibility) must be minimal.
Can anyone tell me what algorithm i need for this type of problem?
Greetings,