Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## applications
Class BestFit

    java.lang.Object
      |
      +--applications.BestFit

public class BestFit
extends java.lang.Object

Inner Class Summary
`static class` | `BestFit.BinNode`

Constructor Summary
`BestFit()`

Method Summary
`static void` | `bestFitPack(int[] objectSize, int binCapacity)` output best fit packing into bins of size binCapacity
`static void` | `main(java.lang.String[] args)` test program

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BestFit

    public BestFit()

Method Detail

### bestFitPack

    public static void bestFitPack(int[] objectSize,
                                   int binCapacity)

  output best fit packing into bins of size binCapacity
  Parameters:
    `objectSize[1:objectSize.length-1]` - are the object sizes

### main

    public static void main(java.lang.String[] args)

  test program

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD