applications
Class RecursiveBTLoading3

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

public class RecursiveBTLoading3
extends java.lang.Object


Constructor Summary
RecursiveBTLoading3()
           
 
Method Summary
static void main(java.lang.String[] args)
          test program
static int maxLoading(int[] theWeight, int theCapacity, int[] bestLoading)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecursiveBTLoading3

public RecursiveBTLoading3()
Method Detail

maxLoading

public static int maxLoading(int[] theWeight,
                             int theCapacity,
                             int[] bestLoading)
Parameters:
theWeight - array of container weights
theCapacity - capacity of ship
bestLoading - solution array
Returns:
weight of max loading

main

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