| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,3 @@ | |||
| 1 | - [submodule "aimaPy/aima-data"] | ||
| 2 | - path = aimaPy/aima-data | ||
| 3 | - url = https://github.com/aimacode/aima-data | ||
| 1 | + [submodule "aima-data"] | ||
| 2 | + path = aima-data | ||
| 3 | + url = https://github.com/aimacode/aima-data.git | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,6 @@ before_install: | |||
| 10 | 10 | install: | |
| 11 | 11 | - pip install flake8 | |
| 12 | 12 | - pip install -r requirements.txt | |
| 13 | - - python setup.py install | ||
| 14 | 13 | ||
| 15 | 14 | script: | |
| 16 | 15 | - py.test | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,10 +35,7 @@ | |||
| 35 | 35 | # | |
| 36 | 36 | # Speed control in GUI does not have any effect -- fix it. | |
| 37 | 37 | ||
| 38 | - if __name__ == "aimaPy.agents": | ||
| 39 | - from . utils import * | ||
| 40 | - else: | ||
| 41 | - from utils import * | ||
| 38 | + from utils import * | ||
| 42 | 39 | ||
| 43 | 40 | import random | |
| 44 | 41 | import copy | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,7 @@ | |||
| 1 | 1 | """CSP (Constraint Satisfaction Problems) problems and solvers. (Chapter 6).""" | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | - if __name__ == "aimaPy.csp": | ||
| 5 | - from . utils import * | ||
| 6 | - from . import search | ||
| 7 | - else: | ||
| 8 | - from utils import * | ||
| 9 | - import search | ||
| 3 | + from utils import * | ||
| 4 | + import search | ||
| 10 | 5 | ||
| 11 | 6 | from collections import defaultdict | |
| 12 | 7 | from functools import reduce | |
| Back | FazBrowse Home | New Git URL |
0 commit comments