com.babaroga.test.packing
Class SquareBoundsGenerator

java.lang.Object
  extended by com.babaroga.test.packing.BoundsGenerator
      extended by com.babaroga.test.packing.SquareBoundsGenerator
Direct Known Subclasses:
SquarePowOf2BoundsGenerator

public class SquareBoundsGenerator
extends BoundsGenerator

Generates the smallest bounds with equal width and height.


Constructor Summary
SquareBoundsGenerator()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class com.babaroga.test.packing.BoundsGenerator
getBounds, getNumBoundsTested, getPackedRectangles, pack
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SquareBoundsGenerator

public SquareBoundsGenerator()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object