Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def encode(actions):
- for (d,w,o) in actions:
- prods = decision_result((d,w,o))
- dispatch(d,w,o,prods)
- for (key, value) in prods.items():
- print str(d.idd) + " L " + str(w.idd) + " " + str(key) + " " + str(value)
- for (key, value) in products.items():
- print str(d.idd) + " D " + str(o.idd) + " " + str(key) + " " + str(value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement