applications
Class FIFOBBLoading1

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

public class FIFOBBLoading1
extends java.lang.Object


Constructor Summary
FIFOBBLoading1()
           
 
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

FIFOBBLoading1

public FIFOBBLoading1()
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