Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/soon/.virtualenvs/google-hash-code-2016/bin/python /home/soon/Src/Python/GoogleHashCode2016/src/algorithm.py
- [Order <2, (5, 6), Counter({2: 1})>,
- Order <0, (1, 1), Counter({0: 1, 2: 1})>,
- Order <1, (3, 3), Counter({0: 3})>]
- --------------------------------------------------
- [Drone <0, [0, 0], 0>, Drone <1, [0, 0], 0>, Drone <2, [0, 0], 0>]
- Warehouse <1, [5, 5], Counter({1: 10, 2: 2, 0: 0})>
- Required products: Counter({2: 1})
- Products to be taken: Counter({2: 1})
- Products in drone Counter({2: 1})
- Required products: Counter()
- Warehouse <0, [0, 0], Counter({0: 5, 1: 1, 2: 0})>
- Required products: Counter()
- --------------------------------------------------
- [Drone <1, [0, 0], 0>, Drone <2, [0, 0], 0>, Drone <0, (5, 6), 11>]
- Warehouse <0, [0, 0], Counter({0: 5, 1: 1, 2: 0})>
- Required products: Counter({0: 1, 2: 1})
- Products to be taken: Counter({0: 1})
- Products in drone Counter({0: 1})
- Required products: Counter({2: 1})
- Warehouse <1, [5, 5], Counter({1: 10, 2: 1})>
- Required products: Counter({2: 1})
- Products to be taken: Counter({2: 1})
- Products in drone Counter({2: 1})
- Required products: Counter()
- --------------------------------------------------
- [Drone <0, (5, 6), 11>, Drone <1, (1, 1), 4>, Drone <2, (1, 1), 16>]
- Warehouse <1, [5, 5], Counter({1: 10})>
- Required products: Counter({0: 3})
- Products to be taken: Counter()
- Required products: Counter({0: 3})
- Warehouse <0, [0, 0], Counter({0: 4, 1: 1})>
- Required products: Counter({0: 3})
- Products to be taken: Counter({0: 3})
- Products in drone Counter({0: 3})
- Required products: Counter()
- [([Load drone 0 at WH 1 with product type 2 * 1 items,
- Deliver drone 0 to order 2 with product type 2 * 1 items],
- 11),
- ([Load drone 1 at WH 0 with product type 0 * 1 items,
- Deliver drone 1 to order 0 with product type 0 * 1 items,
- Load drone 2 at WH 1 with product type 2 * 1 items,
- Deliver drone 2 to order 0 with product type 2 * 1 items],
- 16),
- ([Load drone 1 at WH 0 with product type 0 * 3 items,
- Deliver drone 1 to order 1 with product type 0 * 3 items],
- 13)]
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement