- 21 sept., 2019 1 validation
-
-
Donato Meoli a écrit
* changed queue to set in AC3 Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562! * re-added test commented by mistake * added the mentioned AC4 algorithm for constraint propagation AC3 algorithm has non-optimal worst case time-complexity O(cd^3 ), while AC4 algorithm runs in O(cd^2) worst case time * added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference * removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py * added map coloring SAT problems * fixed typo errors and removed unnecessary brackets * reformulated the map coloring problem * Revert "reformulated the map coloring problem" This reverts commit 20ab0e5afa238a0556e68f173b07ad32d0779d3b. * Revert "fixed typo errors and removed unnecessary brackets" This reverts commit f743146c43b28e0525b0f0b332faebc78c15946f. * Revert "added map coloring SAT problems" This reverts commit 9e0fa550e85081cf5b92fb6a3418384ab5a9fdfd. * Revert "removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py" This reverts commit b3cd24c511a82275f5b43c9f176396e6ba05f67e. * Revert "added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference" This reverts commit 6986247481a05f1e558b93b2bf3cdae395f9c4ee. * Revert "added the mentioned AC4 algorithm for constraint propagation" This reverts commit 03551fbf2aa3980b915d4b6fefcbc70f24547b03. * added map coloring SAT problem * fixed build error * Revert "added map coloring SAT problem" This reverts commit 93af259e4811ddd775429f8a334111b9dd9e268c. * Revert "fixed build error" This reverts commit 6641c2c861728f3d43d3931ef201c6f7093cbc96. * added map coloring SAT problem * removed redundant parentheses * added Viterbi algorithm * added monkey & bananas planning problem * simplified condition in search.py * added tests for monkey & bananas planning problem * removed monkey & bananas planning problem * Revert "removed monkey & bananas planning problem" This reverts commit 9d37ae0def15b9e058862cb465da13d2eb926968. * Revert "added tests for monkey & bananas planning problem" This reverts commit 24041e9a1a0ab936f7a2608e3662c8efec559382. * Revert "simplified condition in search.py" This reverts commit 6d229ce9bde5033802aca29ad3047f37ee6d870d. * Revert "added monkey & bananas planning problem" This reverts commit c74933a8905de7bb569bcaed7230930780560874. * defined the PlanningProblem as a specialization of a search.Problem & fixed typo errors * fixed doctest in logic.py * fixed doctest for cascade_distribution * added ForwardPlanner and tests * added __lt__ implementation for Expr * added more tests * renamed forward planner * Revert "renamed forward planner" This reverts commit c4139e50e3a75a036607f4627717d70ad0919554. * renamed forward planner class & added doc * added backward planner and tests * fixed mdp4e.py doctests * removed ignore_delete_lists_heuristic flag * fixed heuristic for forward and backward planners * added SATPlan and tests * fixed ignore delete lists heuristic in forward and backward planners * fixed backward planner and added tests * updated doc * added nary csp definition and examples * added CSPlan and tests * fixed CSPlan * added book's cryptarithmetic puzzle example * fixed typo errors in test_csp * fixed #1111 * added sortedcontainers to yml and doc to CSPlan * added tests for n-ary csp * fixed utils.extend * updated test_probability.py * converted static methods to functions * added AC3b and AC4 with heuristic and tests * added conflict-driven clause learning sat solver * added tests for cdcl and heuristics * fixed probability.py * fixed import * fixed kakuro
-
- 16 sept., 2019 1 validation
-
-
Donato Meoli a écrit
fixed expanded_actions( ), added CSPlan with n-ary CSP definition, problems and tests, AC3b and AC4 with tests (#1113) * changed queue to set in AC3 Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562! * re-added test commented by mistake * added the mentioned AC4 algorithm for constraint propagation AC3 algorithm has non-optimal worst case time-complexity O(cd^3 ), while AC4 algorithm runs in O(cd^2) worst case time * added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference * removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py * added map coloring SAT problems * fixed typo errors and removed unnecessary brackets * reformulated the map coloring problem * Revert "reformulated the map coloring problem" This reverts commit 20ab0e5afa238a0556e68f173b07ad32d0779d3b. * Revert "fixed typo errors and removed unnecessary brackets" This reverts commit f743146c43b28e0525b0f0b332faebc78c15946f. * Revert "added map coloring SAT problems" This reverts commit 9e0fa550e85081cf5b92fb6a3418384ab5a9fdfd. * Revert "removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py" This reverts commit b3cd24c511a82275f5b43c9f176396e6ba05f67e. * Revert "added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference" This reverts commit 6986247481a05f1e558b93b2bf3cdae395f9c4ee. * Revert "added the mentioned AC4 algorithm for constraint propagation" This reverts commit 03551fbf2aa3980b915d4b6fefcbc70f24547b03. * added map coloring SAT problem * fixed build error * Revert "added map coloring SAT problem" This reverts commit 93af259e4811ddd775429f8a334111b9dd9e268c. * Revert "fixed build error" This reverts commit 6641c2c861728f3d43d3931ef201c6f7093cbc96. * added map coloring SAT problem * removed redundant parentheses * added Viterbi algorithm * added monkey & bananas planning problem * simplified condition in search.py * added tests for monkey & bananas planning problem * removed monkey & bananas planning problem * Revert "removed monkey & bananas planning problem" This reverts commit 9d37ae0def15b9e058862cb465da13d2eb926968. * Revert "added tests for monkey & bananas planning problem" This reverts commit 24041e9a1a0ab936f7a2608e3662c8efec559382. * Revert "simplified condition in search.py" This reverts commit 6d229ce9bde5033802aca29ad3047f37ee6d870d. * Revert "added monkey & bananas planning problem" This reverts commit c74933a8905de7bb569bcaed7230930780560874. * defined the PlanningProblem as a specialization of a search.Problem & fixed typo errors * fixed doctest in logic.py * fixed doctest for cascade_distribution * added ForwardPlanner and tests * added __lt__ implementation for Expr * added more tests * renamed forward planner * Revert "renamed forward planner" This reverts commit c4139e50e3a75a036607f4627717d70ad0919554. * renamed forward planner class & added doc * added backward planner and tests * fixed mdp4e.py doctests * removed ignore_delete_lists_heuristic flag * fixed heuristic for forward and backward planners * added SATPlan and tests * fixed ignore delete lists heuristic in forward and backward planners * fixed backward planner and added tests * updated doc * added nary csp definition and examples * added CSPlan and tests * fixed CSPlan * added book's cryptarithmetic puzzle example * fixed typo errors in test_csp * fixed #1111 * added sortedcontainers to yml and doc to CSPlan * added tests for n-ary csp * fixed utils.extend * updated test_probability.py * converted static methods to functions * added AC3b and AC4 with heuristic and tests
-
- 29 juil., 2019 1 validation
-
-
Donato Meoli a écrit
* changed queue to set in AC3 Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562! * re-added test commented by mistake * added the mentioned AC4 algorithm for constraint propagation AC3 algorithm has non-optimal worst case time-complexity O(cd^3 ), while AC4 algorithm runs in O(cd^2) worst case time * added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference * removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py * added map coloring SAT problems * fixed typo errors and removed unnecessary brackets * reformulated the map coloring problem * Revert "reformulated the map coloring problem" This reverts commit 20ab0e5afa238a0556e68f173b07ad32d0779d3b. * Revert "fixed typo errors and removed unnecessary brackets" This reverts commit f743146c43b28e0525b0f0b332faebc78c15946f. * Revert "added map coloring SAT problems" This reverts commit 9e0fa550e85081cf5b92fb6a3418384ab5a9fdfd. * Revert "removed useless doctest for AC4 in Sudoku because AC4's tests are already present in test_csp.py" This reverts commit b3cd24c511a82275f5b43c9f176396e6ba05f67e. * Revert "added doctest in Sudoku for AC4 and and the possibility of choosing the constant propagation algorithm in mac inference" This reverts commit 6986247481a05f1e558b93b2bf3cdae395f9c4ee. * Revert "added the mentioned AC4 algorithm for constraint propagation" This reverts commit 03551fbf2aa3980b915d4b6fefcbc70f24547b03. * added map coloring SAT problem * fixed build error * Revert "added map coloring SAT problem" This reverts commit 93af259e4811ddd775429f8a334111b9dd9e268c. * Revert "fixed build error" This reverts commit 6641c2c861728f3d43d3931ef201c6f7093cbc96. * added map coloring SAT problem * removed redundant parentheses
-
- 28 mar., 2019 1 validation
-
-
Donato Meoli a écrit
* changed queue to set in AC3 Changed queue to set in AC3 (as in the pseudocode of the original algorithm) to reduce the number of consistency-check due to the redundancy of the same arcs in queue. For example, on the harder1 configuration of the Sudoku CSP the number consistency-check has been reduced from 40464 to 12562! * re-added test commented by mistake
-
- 21 nov., 2018 1 validation
-
-
Kyle Jackson a écrit
`usa` in csp.py incorrectly has NM not being a neighbor with AZ.
-
- 21 oct., 2018 1 validation
-
-
Matthew Butterick a écrit
Otherwise `csp.curr_domains` may not be available for the loop that follows.
-
- 14 mar., 2018 1 validation
-
-
Rahul Goswami a écrit
* test commit * agents.ipynb * agents.ipynb * Fixed all the instances of issue #833 * minor fix and cleared change in agents.ipynb
-
- 12 fév., 2018 1 validation
-
-
Vinay Varma a écrit
* added submodule * fixed ac3 in csp.py * added a test to verify the modified ac3 algorithm in csp.py * Update .gitmodules
-
- 28 mai, 2017 2 validations
-
-
articuno12 a écrit
* removed flake8 errors * fixed remaining flake8 errors * fixed loop * added space
-
Antonis Maronikolakis a écrit
* Update csp.py * Add test
-
- 24 mai, 2017 1 validation
-
-
C.G.Vedant a écrit
* Fix flake8 warnings * Remove unnecessary #noqa * Fix doctest
-
- 25 mar., 2017 2 validations
-
-
lucasmoura a écrit
* Exclude test files from flake8 check * Fix flake8 for main files * Add flake8 check to build
-
Antonis Maronikolakis a écrit
* Implement Topological Sort - Implemented topological_sort - Added auxiliary function build_topological - Updated call to topological_sort * Use defaultdict to build visited * Added test * Update csp.py Skip first item of iteration
-
- 18 mar., 2017 1 validation
-
-
VladKha a écrit
* Update some comments * Cleanup and remove some duplicate initialization * Fix some comments quotation and little bugs: raising Exception instead of raising Failure, random.randrange(a,b) instead of random(a, b) * Fix some comments quotation and remove explicit inheritance from object * Fix 'r' in front of the ```parse_csv``` comments * Fix quotation in comments * Fix quotation in comments and fix bug in 'KB_AgentProgram'
-
- 04 mar., 2017 1 validation
-
-
Sampad Kumar Saha a écrit
* Modern string formatting in csp.py. * Modern string formatting in games.py. * Modern string formatting in learning.py. * Modern string formatting in nlp.py. * Modern string formatting in probability.py. * Modern string formatting in search.py. * Replaced {0\!r} by {} if %s. * Corrected a typo.
-
- 20 juin, 2016 2 validations
-
-
Tarun Kumar Vangani a écrit
-
Tarun Kumar Vangani a écrit
-
- 18 avr., 2016 1 validation
-
-
Tarun Kumar Vangani a écrit
-
- 17 avr., 2016 4 validations
-
-
Darius Bacon a écrit
-
Darius Bacon a écrit
-
Darius Bacon a écrit
-
Darius Bacon a écrit
-
- 16 avr., 2016 1 validation
-
-
Darius Bacon a écrit
Style: delete excess parentheses. In some of these cases you need to read ahead to see that the paren is not introducing a tuple, for example.
-
- 13 avr., 2016 2 validations
-
-
Tarun Kumar Vangani a écrit
* Replaced mean with standard lib function introduced in 3.4 * #TODO Replaced every with all * Proper names for variables introduced in 2to3 conversion.
-
Surya Teja Cheedella a écrit
* modifies Fig. to Figure all over the repository * fixed a small type in logic.py
-
- 09 avr., 2016 1 validation
-
-
Tarun Kumar Vangani a écrit
* Made Log Usage Consistent in text.py * Added Explicit Imports from utils
-
- 05 avr., 2016 1 validation
-
-
Peter Norvig a écrit
-
- 30 mar., 2016 1 validation
-
-
SnShine a écrit
-
- 22 mar., 2016 2 validations
- 16 mar., 2016 1 validation
-
-
Chipe1 a écrit
-
- 12 mar., 2016 1 validation
-
-
Stuart Russell a écrit
Remove count_if, find_if, every, some, Struct; replace them with modern Python equivalents.
-
- 11 mar., 2016 1 validation
-
-
Lucas Moura a écrit
-
- 10 mar., 2016 1 validation
-
-
MircoT a écrit
-
- 09 mar., 2016 2 validations
- 07 mar., 2016 1 validation
-
-
jeff3456 a écrit
-
- 06 mar., 2016 3 validations