you could use more like "constraint satisfaction", or "KNearestNeighbors" ...always remember, ML in this case would be less viable than simple search algorithms