Commits

Shlomi Fish  committed bc93ddf

Made a method "private".

  • Participants
  • Parent commits 8f0d987

Comments (0)

Files changed (1)

File kakurasu-solver/kakurasu_solver.py

                 self.vert_constraints.append(int(v))
                 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.
                 ret.xint_vector.append(len(ret.f_vector))
 
         for constraints in [horiz_constraints, vert_constraints]:
-            self.process_constraints(constraints, ret)
+            self._process_constraints(constraints, ret)
 
         return ret