|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--applications.IterativeBTLoading
Constructor Summary | |
IterativeBTLoading()
|
Method Summary | |
static void |
main(java.lang.String[] args)
test program |
static int |
maxLoading(int[] weight,
int capacity,
int[] bestLoading)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public IterativeBTLoading()
Method Detail |
public static int maxLoading(int[] weight, int capacity, int[] bestLoading)
weight
- array of container weightscapacity
- 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 |