1. Shlomi Fish
  2. lp-based-puzzle-solvers


Shlomi Fish  committed bc93ddf

Made a method "private".

  • Participants
  • Parent commits 8f0d987
  • Branches default

Comments (0)

Files changed (1)

File kakurasu-solver/kakurasu_solver.py

View file
                 self.num_known_vert_constraints += 1
-    def process_constraints(self, constraints, ret):
+    def _process_constraints(self, constraints, ret):
         Populate ret.b_vector and ret.e_vector with the constraints, that could
         be the vertical or the horizontal ones.
         for constraints in [horiz_constraints, vert_constraints]:
-            self.process_constraints(constraints, ret)
+            self._process_constraints(constraints, ret)
         return ret