|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--applications.GreedyLoading
| Constructor Summary | |
GreedyLoading()
|
|
| Method Summary | |
static void |
containerLoading(Container[] c,
int capacity,
int[] x)
greedy algorithm for container loading set x[i] = 1 iff container i, i >= 1 is loaded |
static void |
main(java.lang.String[] argrs)
test method |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public GreedyLoading()
| Method Detail |
public static void containerLoading(Container[] c,
int capacity,
int[] x)
public static void main(java.lang.String[] argrs)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||