applications
Class FIFOBBLoading3

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

public class FIFOBBLoading3
extends java.lang.Object


Constructor Summary
FIFOBBLoading3()
           
 
Method Summary
static void main(java.lang.String[] args)
          test program
static int maxLoading(int[] weight, int capacity, int[] theBestLoading)
          FIFO branch-and-bound search of solution space
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIFOBBLoading3

public FIFOBBLoading3()
Method Detail

maxLoading

public static int maxLoading(int[] weight,
                             int capacity,
                             int[] theBestLoading)
FIFO branch-and-bound search of solution space
Parameters:
weight - array of container weights
capacity - capacity of ship
theBestLoading - set to best loading
Returns:
weight of best loading

main

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