Subversion Repositories programming

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
395 6823 d 18 h ira /school/cs408/p1/ Lots of fixes for school computers (gotta hate them)!
Add render_stupid() to DrawGraph.
 
393 6827 d 21 h ira /school/cs408/p1/ PuzzlePiece.py:
* Keep track of current depth.
* Keep track of goal node.
* Remove find_empty_pos(), add generic find_position().
* get_children() auto-increments depth.
* Add num_out_of_place() for heuristics in search.
* Add total_distance_from_correct() for heuristics in search.
* Add tests when module is run directly.

PuzzleSearch.py:
* Add SearchResult class to hold search results.
* Always return SearchResult when searching.
* Add many pluggable search algorithms.
* Updated tests to run with the new API.
 
385 6830 d 19 h ira /school/cs408/p1/ PuzzlePiece.py:
* This generates 8-Puzzle pieces and it's children.