Created
November 12, 2014 06:04
-
-
Save bcho/87de29a77ff4bd402a34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 581c581 | |
| < moduleNames = [f for f in os.listdir(moduleDir) if f.endswith('gents.py') or f.endswith('search.py')] | |
| --- | |
| > moduleNames = [f for f in os.listdir(moduleDir) if f.endswith('gents.py')] | |
| 667c667 | |
| < pass | |
| --- | |
| > pass | |
| \ No newline at end of file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 186d185 | |
| < current_module = globals() | |
| 188c187 | |
| < if fn not in current_module: | |
| --- | |
| > if fn not in dir(self): | |
| 190c189 | |
| < func = current_module[fn] | |
| --- | |
| > func = fn | |
| 204c203 | |
| < if prob not in current_module or not prob.endswith('Problem'): | |
| --- | |
| > if prob not in dir(self) or not prob.endswith('Problem'): | |
| 206c205 | |
| < self.searchType = current_module[prob] | |
| --- | |
| > self.searchType = prob | |
| 655c654 | |
| < return len(bfs(prob)) | |
| --- | |
| > return len(bfs(prob)) | |
| \ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment