Rev |
Age |
Author |
Path |
Log message |
Diff |
429 |
6792 d 13 h |
ira |
/school/cs420/p3/ |
Actions.py:
* Simplify actions a bit.
* Add a NPC part to Action, which is Negative Preconditions.
PROJ3.py:
* Make the monkey move (more or less) randomly throughout
it's possible moves, instead of fixing the problem. |
|
425 |
6797 d 7 h |
ira |
/school/cs420/p3/ |
p3.tex:
* Add source code printout.
Makefile:
* Add a generic Makefile to run this program. |
|
424 |
6797 d 7 h |
ira |
/school/cs420/p3/ |
PROJ3.py:
* Menu()ize the main loop.
* Break solving function out of main().
Meny.py:
* Add the Menu class, derived from CS420 Project 1 Menu. |
|
423 |
6797 d 8 h |
ira |
/school/cs420/p3/ |
Initial Import of CS420 Project #3. |
|
410 |
6809 d 9 h |
ira |
/school/cs420/p2/ |
SudokuPuzzle.py:
* Re-implement the __iter__() function so that it doesn't need a
generator. This was the quick and dirty way ;) |
|
409 |
6809 d 20 h |
ira |
/school/ |
Rename cs408/ to cs420/. I got the class wrong.
Add cs431/ and a directory for the first project. |
|
408 |
6809 d 20 h |
ira |
/school/cs408/p2/ |
p2.tex:
* Initial Commit of printout.
PROJ02.py:
* Main program for CS420 Project #2.
PyCompat.py:
* Compatibility for school computers.
SudokuPuzzle.py:
* Include PyCompat for school computers.
* Print the initial puzzle configuration in solve().
* Add timing support.
Menu.py:
* Automatic menu generation.
Makefile:
* Automation. |
|
407 |
6811 d 9 h |
ira |
/school/cs408/p2/ |
SudokuPuzzle.py:
* Add a return value so I can tell if a value was actually pruned.
* Add a way to enable and disable printing.
* Convert to the printsystem.
* Add some comments. |
|
406 |
6812 d 11 h |
ira |
/school/cs408/p2/ |
SudokuPuzzle.py:
* Fully working version, including 'evil' puzzles.
* Splitting works now. |
|
405 |
6812 d 12 h |
ira |
/school/cs408/p2/ |
SudokuPuzzle.py:
* Initial, mostly working version that solves Sudoku puzzles
using the Arc Consistency Algorithm. |
|
402 |
6820 d 9 h |
ira |
/school/cs408/p1/ |
p1.tex:
* Add class number.
Makefile:
* Be sure to render as letter paper, not a4. |
|
401 |
6820 d 13 h |
ira |
/school/cs408/p1/ |
p1.tex:
* LaTeX printout of this source.
Makefile:
* Easy way to run and clean this directory. |
|
400 |
6820 d 13 h |
ira |
/school/cs408/p1/ |
HW01.py:
* Add Author,Copyright and License information. |
|
399 |
6820 d 19 h |
ira |
/school/cs408/p1/ |
DrawGraph.py:
* Algorithmic improvement to render_stupid(). Makes it a LOT faster. |
|
398 |
6821 d 11 h |
ira |
/school/cs408/p1/ |
PuzzlePiece.py:
* Forgot to include PyCompat class. Works on school computers now.
HW01.py:
* Always render in stupid mode, but additionally render in
graphviz mode if possible.
* Make "Quit" command work in the first menu. |
|
397 |
6821 d 11 h |
ira |
/school/cs408/p1/ |
PyCompat.py:
* Add a compatibility class so the school computers work.
DrawGraph.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
* Add a check for yapgvb.
PuzzlePiece.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
PuzzleSearch.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
* Add a check for yapgvb.
* Only try to render with yapgvb if we have it.
HW01.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
* Add a check for yapgvb.
* Add "generated_by" to autogenerated root nodes.
* Make sure the start_node is labeled 'root'.
Graph.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
Menu.py:
* Revert earlier changes. School computer fixes are now in PyCompat class.
* Remove unnecessary function calls. |
|
396 |
6821 d 16 h |
ira |
/school/cs408/p1/ |
Get rid of references to yapgvb everywhere. This SUCKS ASS because its now
tied to the version. God, I HATE the school computers.
Remove unused ordering_func().
Due to the school NOT UPDATING THEIR COMPUTERS, I have to waste a SHITLOAD
of memory, by duplicating a list just to reverse it. Grrr...
Add a print statement in HW01.py for nicer output. |
|
395 |
6821 d 16 h |
ira |
/school/cs408/p1/ |
Lots of fixes for school computers (gotta hate them)!
Add render_stupid() to DrawGraph. |
|
394 |
6825 d 20 h |
ira |
/school/cs408/p1/ |
HW01.py:
* Add the main file that handles the CS420 HW01 requirements.
* Basically, a menu driven interface to PuzzleSearch.
Menu.py:
* Add helper class that generates menus and gets input.
* Must handle callback functions yourself, most of the time. |
|
393 |
6825 d 20 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. |
|