Černoch, Radomír and Kuželka, Ondřej and Železný, Filip

Černoch, R., Kuželka, O., & Železný, F. (2016). Polynomial and Extensible Solutions in Lock-Chart Solving. Applied Artificial Intelligence, 30(10), 923–941.


Lock-chart also known as master-key system solving is a process for designing mechanical keys and locks so that every key can open and be blocked in a user-defined set of locks. We present several algorithms as a result of our 3 years industrial collaboration project, chosen by their asymptotic time complexity and extensibility, which is the ability to add new keys and locks and satisfy the previously unforeseen blocking requirements. Our strongest result is a linear-time algorithm to find the largest diagonal lock-chart with a condition on mechanical properties of keys. Without these restrictions, but given a solution for master keys, the problem is translated into a maximum independent set problem and a greedy approximation is proposed. We evaluate the algorithms on a generated dataset using a non-backtracking procedure to simulate minimal extensions. Both approaches are suggested as heuristics or subroutines for a backtracking constraint satisfaction problem-based CSP solver.


  author = {Černoch, Radomír and Kuželka, Ondřej and Železný, Filip},
  title = {Polynomial and Extensible Solutions in Lock-Chart Solving},
  year = {2016},
  issue_date = {November 2016},
  publisher = {Taylor & Francis, Inc.},
  address = {USA},
  volume = {30},
  number = {10},
  issn = {0883-9514},
  journal = {Applied Artificial Intelligence},
  month = nov,
  pages = {923–941},
  numpages = {19},
  url = {https://dl.acm.org/doi/abs/10.5555/3141714.3141716}