Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/home/cc/cs61c/fa14/class/cs61c-ef/proj2/SlidingBfsSpark.py", line 93, in <module>
  3. main()
  4. File "/home/cc/cs61c/fa14/class/cs61c-ef/proj2/SlidingBfsSpark.py", line 86, in main
  5. solve_sliding_puzzle(args.master, writer, args.height, args.width)
  6. File "/home/cc/cs61c/fa14/class/cs61c-ef/proj2/SlidingBfsSpark.py", line 47, in solve_sliding_puzzle
  7. current_frontier = current_frontier.distinct(current_frontier.flatMap(lambda x: Sliding.children(WIDTH, HEIGHT, x[0]))).distinct().map(bfs_map)
  8. TypeError: distinct() takes exactly 1 argument (2 given)
  9. Command exited with non-zero status 1
  10. 5.70user 0.40system 0:04.53elapsed 134%CPU (0avgtext+0avgdata 840624maxresident)k
  11. 0inputs+120outputs (0major+90973minor)pagefaults 0swaps
  12. gmake: *** [run-small] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement