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