applications
Class FIFOBBLoading2

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

public class FIFOBBLoading2
extends java.lang.Object


Constructor Summary
FIFOBBLoading2()
           
 
Method Summary
static void main(java.lang.String[] args)
          test program
static int maxLoading(int[] weight, int capacity)
          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

FIFOBBLoading2

public FIFOBBLoading2()
Method Detail

maxLoading

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

main

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