Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## applications
Class GreedyLoading

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

public class GreedyLoading
extends java.lang.Object

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

### GreedyLoading

    public GreedyLoading()

Method Detail

### containerLoading

    public 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

### main

    public static void main(java.lang.String[] argrs)

  test method

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD