|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--applications.RecursiveBTLoading3
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 |
public RecursiveBTLoading3()
Method Detail |
public static int maxLoading(int[] theWeight, int theCapacity, int[] bestLoading)
theWeight
- array of container weightstheCapacity
- capacity of shipbestLoading
- solution arraypublic static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |