NUCS 4.3.1__tar.gz → 4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. {nucs-4.3.1 → nucs-4.4/NUCS.egg-info}/PKG-INFO +1 -1
  2. {nucs-4.3.1 → nucs-4.4}/NUCS.egg-info/SOURCES.txt +1 -2
  3. {nucs-4.3.1 → nucs-4.4}/NUCS.egg-info/top_level.txt +0 -2
  4. {nucs-4.3.1/NUCS.egg-info → nucs-4.4}/PKG-INFO +1 -1
  5. {nucs-4.3.1 → nucs-4.4}/docs/source/conf.py +2 -2
  6. {nucs-4.3.1 → nucs-4.4}/pyproject.toml +1 -1
  7. nucs-4.3.1/venv/bin/activate_this.py +0 -32
  8. {nucs-4.3.1 → nucs-4.4}/LICENSE.md +0 -0
  9. {nucs-4.3.1 → nucs-4.4}/NUCS.egg-info/dependency_links.txt +0 -0
  10. {nucs-4.3.1 → nucs-4.4}/NUCS.egg-info/requires.txt +0 -0
  11. {nucs-4.3.1 → nucs-4.4}/README.md +0 -0
  12. {nucs-4.3.1 → nucs-4.4}/nucs/__init__.py +0 -0
  13. {nucs-4.3.1 → nucs-4.4}/nucs/constants.py +0 -0
  14. {nucs-4.3.1 → nucs-4.4}/nucs/examples/__init__.py +0 -0
  15. {nucs-4.3.1 → nucs-4.4}/nucs/examples/alpha/__init__.py +0 -0
  16. {nucs-4.3.1 → nucs-4.4}/nucs/examples/alpha/__main__.py +0 -0
  17. {nucs-4.3.1 → nucs-4.4}/nucs/examples/alpha/alpha_problem.py +0 -0
  18. {nucs-4.3.1 → nucs-4.4}/nucs/examples/bibd/__init__.py +0 -0
  19. {nucs-4.3.1 → nucs-4.4}/nucs/examples/bibd/__main__.py +0 -0
  20. {nucs-4.3.1 → nucs-4.4}/nucs/examples/bibd/bibd_problem.py +0 -0
  21. {nucs-4.3.1 → nucs-4.4}/nucs/examples/donald/__init__.py +0 -0
  22. {nucs-4.3.1 → nucs-4.4}/nucs/examples/donald/__main__.py +0 -0
  23. {nucs-4.3.1 → nucs-4.4}/nucs/examples/donald/donald_problem.py +0 -0
  24. {nucs-4.3.1 → nucs-4.4}/nucs/examples/golomb/__init__.py +0 -0
  25. {nucs-4.3.1 → nucs-4.4}/nucs/examples/golomb/__main__.py +0 -0
  26. {nucs-4.3.1 → nucs-4.4}/nucs/examples/golomb/golomb_problem.py +0 -0
  27. {nucs-4.3.1 → nucs-4.4}/nucs/examples/knapsack/__init__.py +0 -0
  28. {nucs-4.3.1 → nucs-4.4}/nucs/examples/knapsack/__main__.py +0 -0
  29. {nucs-4.3.1 → nucs-4.4}/nucs/examples/knapsack/knapsack_problem.py +0 -0
  30. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_sequence/__init__.py +0 -0
  31. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_sequence/__main__.py +0 -0
  32. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_sequence/magic_sequence_problem.py +0 -0
  33. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_square/__init__.py +0 -0
  34. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_square/__main__.py +0 -0
  35. {nucs-4.3.1 → nucs-4.4}/nucs/examples/magic_square/magic_square_problem.py +0 -0
  36. {nucs-4.3.1 → nucs-4.4}/nucs/examples/quasigroup/__init__.py +0 -0
  37. {nucs-4.3.1 → nucs-4.4}/nucs/examples/quasigroup/__main__.py +0 -0
  38. {nucs-4.3.1 → nucs-4.4}/nucs/examples/quasigroup/quasigroup_problem.py +0 -0
  39. {nucs-4.3.1 → nucs-4.4}/nucs/examples/queens/__init__.py +0 -0
  40. {nucs-4.3.1 → nucs-4.4}/nucs/examples/queens/__main__.py +0 -0
  41. {nucs-4.3.1 → nucs-4.4}/nucs/examples/queens/queens_problem.py +0 -0
  42. {nucs-4.3.1 → nucs-4.4}/nucs/examples/schur_lemma/__init__.py +0 -0
  43. {nucs-4.3.1 → nucs-4.4}/nucs/examples/schur_lemma/__main__.py +0 -0
  44. {nucs-4.3.1 → nucs-4.4}/nucs/examples/schur_lemma/schur_lemma_problem.py +0 -0
  45. {nucs-4.3.1 → nucs-4.4}/nucs/examples/sports_tournament_scheduling/__init__.py +0 -0
  46. {nucs-4.3.1 → nucs-4.4}/nucs/examples/sports_tournament_scheduling/__main__.py +0 -0
  47. {nucs-4.3.1 → nucs-4.4}/nucs/examples/sports_tournament_scheduling/sports_tournament_scheduling_problem.py +0 -0
  48. {nucs-4.3.1 → nucs-4.4}/nucs/examples/sudoku/__init__.py +0 -0
  49. {nucs-4.3.1 → nucs-4.4}/nucs/examples/sudoku/sudoku_problem.py +0 -0
  50. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/__init__.py +0 -0
  51. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/__main__.py +0 -0
  52. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/total_cost_propagator.py +0 -0
  53. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/tsp_instances.py +0 -0
  54. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/tsp_problem.py +0 -0
  55. {nucs-4.3.1 → nucs-4.4}/nucs/examples/tsp/tsp_var_heuristic.py +0 -0
  56. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/__init__.py +0 -0
  57. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/first_not_instantiated_var_heuristic.py +0 -0
  58. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/greatest_domain_var_heuristic.py +0 -0
  59. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/heuristics.py +0 -0
  60. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/max_regret_var_heuristic.py +0 -0
  61. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/max_value_dom_heuristic.py +0 -0
  62. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/mid_value_dom_heuristic.py +0 -0
  63. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/min_cost_dom_heuristic.py +0 -0
  64. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/min_value_dom_heuristic.py +0 -0
  65. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/smallest_domain_var_heuristic.py +0 -0
  66. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/split_high_dom_heuristic.py +0 -0
  67. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/split_low_dom_heuristic.py +0 -0
  68. {nucs-4.3.1 → nucs-4.4}/nucs/heuristics/value_dom_heuristic.py +0 -0
  69. {nucs-4.3.1 → nucs-4.4}/nucs/numba_helper.py +0 -0
  70. {nucs-4.3.1 → nucs-4.4}/nucs/numpy_helper.py +0 -0
  71. {nucs-4.3.1 → nucs-4.4}/nucs/problems/__init__.py +0 -0
  72. {nucs-4.3.1 → nucs-4.4}/nucs/problems/circuit_problem.py +0 -0
  73. {nucs-4.3.1 → nucs-4.4}/nucs/problems/latin_square_problem.py +0 -0
  74. {nucs-4.3.1 → nucs-4.4}/nucs/problems/permutation_problem.py +0 -0
  75. {nucs-4.3.1 → nucs-4.4}/nucs/problems/problem.py +0 -0
  76. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/__init__.py +0 -0
  77. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/affine_eq_propagator.py +0 -0
  78. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/affine_geq_propagator.py +0 -0
  79. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/affine_leq_propagator.py +0 -0
  80. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/alldifferent_propagator.py +0 -0
  81. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/and_propagator.py +0 -0
  82. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/count_eq_propagator.py +0 -0
  83. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/dummy_propagator.py +0 -0
  84. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/element_iv_propagator.py +0 -0
  85. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/element_lic_propagator.py +0 -0
  86. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/element_liv_propagator.py +0 -0
  87. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/exactly_eq_propagator.py +0 -0
  88. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/exactly_true_propagator.py +0 -0
  89. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/gcc_propagator.py +0 -0
  90. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/lexicographic_leq_propagator.py +0 -0
  91. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/max_eq_propagator.py +0 -0
  92. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/max_leq_propagator.py +0 -0
  93. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/min_eq_propagator.py +0 -0
  94. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/min_geq_propagator.py +0 -0
  95. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/no_sub_cycle_propagator.py +0 -0
  96. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/permutation_aux_propagator.py +0 -0
  97. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/propagators.py +0 -0
  98. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/relation_propagator.py +0 -0
  99. {nucs-4.3.1 → nucs-4.4}/nucs/propagators/scc_propagator.py +0 -0
  100. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/__init__.py +0 -0
  101. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/backtrack_solver.py +0 -0
  102. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/bound_consistency_algorithm.py +0 -0
  103. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/choice_points.py +0 -0
  104. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/consistency_algorithms.py +0 -0
  105. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/multiprocessing_solver.py +0 -0
  106. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/shaving_consistency_algorithm.py +0 -0
  107. {nucs-4.3.1 → nucs-4.4}/nucs/solvers/solver.py +0 -0
  108. {nucs-4.3.1 → nucs-4.4}/setup.cfg +0 -0
  109. {nucs-4.3.1 → nucs-4.4}/tests/__init__.py +0 -0
  110. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_alpha.py +0 -0
  111. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_bibd.py +0 -0
  112. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_donald.py +0 -0
  113. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_golomb.py +0 -0
  114. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_knapsack.py +0 -0
  115. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_latin_square.py +0 -0
  116. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_magic_sequence.py +0 -0
  117. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_magic_square.py +0 -0
  118. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_quasigroup.py +0 -0
  119. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_queens.py +0 -0
  120. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_schur_lemma.py +0 -0
  121. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_sports_tournament_scheduling.py +0 -0
  122. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_sudokus.py +0 -0
  123. {nucs-4.3.1 → nucs-4.4}/tests/examples/test_tsp.py +0 -0
  124. {nucs-4.3.1 → nucs-4.4}/tests/heuristics/__init__.py +0 -0
  125. {nucs-4.3.1 → nucs-4.4}/tests/heuristics/test_max_value_dom_heuristic.py +0 -0
  126. {nucs-4.3.1 → nucs-4.4}/tests/heuristics/test_mid_value_dom_heuristic.py +0 -0
  127. {nucs-4.3.1 → nucs-4.4}/tests/heuristics/test_min_value_dom_heuristic.py +0 -0
  128. {nucs-4.3.1 → nucs-4.4}/tests/problems/__init__.py +0 -0
  129. {nucs-4.3.1 → nucs-4.4}/tests/problems/test_circuit_problem.py +0 -0
  130. {nucs-4.3.1 → nucs-4.4}/tests/problems/test_permutation_problem.py +0 -0
  131. {nucs-4.3.1 → nucs-4.4}/tests/problems/test_problem.py +0 -0
  132. {nucs-4.3.1 → nucs-4.4}/tests/propagators/__init__.py +0 -0
  133. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_affine_eq.py +0 -0
  134. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_affine_geq.py +0 -0
  135. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_affine_leq.py +0 -0
  136. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_alldifferent.py +0 -0
  137. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_count_eq.py +0 -0
  138. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_element_iv.py +0 -0
  139. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_element_lic.py +0 -0
  140. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_element_liv.py +0 -0
  141. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_exactly_eq.py +0 -0
  142. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_gcc.py +0 -0
  143. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_lexicographic_leq.py +0 -0
  144. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_max_eq.py +0 -0
  145. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_max_leq.py +0 -0
  146. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_min_eq.py +0 -0
  147. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_min_geq.py +0 -0
  148. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_no_sub_cycle.py +0 -0
  149. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_relation.py +0 -0
  150. {nucs-4.3.1 → nucs-4.4}/tests/propagators/test_scc.py +0 -0
  151. {nucs-4.3.1 → nucs-4.4}/tests/solvers/__init__.py +0 -0
  152. {nucs-4.3.1 → nucs-4.4}/tests/solvers/test_backtrack_solver.py +0 -0
  153. {nucs-4.3.1 → nucs-4.4}/tests/solvers/test_multiprocessing_solver.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NUCS
3
- Version: 4.3.1
3
+ Version: 4.4
4
4
  Summary: A Numpy and Numba based Python library for solving Constraint Satisfaction Problems over finite domains
5
5
  Author-email: Yan Georget <yan.georget@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/yangeorget/nucs
@@ -147,5 +147,4 @@ tests/propagators/test_relation.py
147
147
  tests/propagators/test_scc.py
148
148
  tests/solvers/__init__.py
149
149
  tests/solvers/test_backtrack_solver.py
150
- tests/solvers/test_multiprocessing_solver.py
151
- venv/bin/activate_this.py
150
+ tests/solvers/test_multiprocessing_solver.py
@@ -1,8 +1,6 @@
1
1
  assets
2
2
  dist
3
3
  docs
4
- htmlcov
5
4
  nucs
6
5
  scripts
7
6
  tests
8
- venv
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: NUCS
3
- Version: 4.3.1
3
+ Version: 4.4
4
4
  Summary: A Numpy and Numba based Python library for solving Constraint Satisfaction Problems over finite domains
5
5
  Author-email: Yan Georget <yan.georget@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/yangeorget/nucs
@@ -6,8 +6,8 @@ project = 'NUCS'
6
6
  copyright = '2024, Yan Georget'
7
7
  author = 'Yan Georget'
8
8
 
9
- release = '4.3.1'
10
- version = '4.3.1'
9
+ release = '4.4'
10
+ version = '4.4'
11
11
 
12
12
  # -- General configuration
13
13
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name="NUCS"
3
- version="4.3.1"
3
+ version="4.4"
4
4
  authors = [
5
5
  { name="Yan Georget", email="yan.georget@gmail.com" },
6
6
  ]
@@ -1,32 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- """Activate virtualenv for current interpreter:
3
-
4
- Use exec(open(this_file).read(), {'__file__': this_file}).
5
-
6
- This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
7
- """
8
- import os
9
- import site
10
- import sys
11
-
12
- try:
13
- abs_file = os.path.abspath(__file__)
14
- except NameError:
15
- raise AssertionError("You must use exec(open(this_file).read(), {'__file__': this_file}))")
16
-
17
- bin_dir = os.path.dirname(abs_file)
18
- base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
19
-
20
- # prepend bin to PATH (this file is inside the bin directory)
21
- os.environ["PATH"] = os.pathsep.join([bin_dir] + os.environ.get("PATH", "").split(os.pathsep))
22
- os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
23
-
24
- # add the virtual environments libraries to the host python import mechanism
25
- prev_length = len(sys.path)
26
- for lib in "../lib/python3.12/site-packages".split(os.pathsep):
27
- path = os.path.realpath(os.path.join(bin_dir, lib))
28
- site.addsitedir(path.decode("utf-8") if "" else path)
29
- sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
30
-
31
- sys.real_prefix = sys.prefix
32
- sys.prefix = base
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes