The Solution of Einstein’S Riddle with Backtracking Algorithm

Xie Yugeng

Computer & Telecommunication ›› 2016, Vol. 1 ›› Issue (10) : 50-51.

Computer & Telecommunication ›› 2016, Vol. 1 ›› Issue (10) : 50-51.

The Solution of Einstein’S Riddle with Backtracking Algorithm

  • Xie Yugeng
Author information +
History +

Abstract

With the thought of artificial intelligence, this paper uses the backtracking algorithm in solving Einstein’s Riddle, which can reduce the number of permutations by seven orders of magnitude and greatly improve the problem solving speed. The program includes a clue input function and puts the puzzle clues in vector. The content, quantity and sequence of the clues can be modified at random, to resolve new puzzles without modification of pruning function code. Therefore, the program has good applicability.

Key words

Einstein’S Riddle / backtracking algorithm / jigsaw / A.I. / vector

Cite this article

Download Citations
Xie Yugeng. The Solution of Einstein’S Riddle with Backtracking Algorithm[J]. Computer & Telecommunication. 2016, 1(10): 50-51

Accesses

Citation

Detail

Sections
Recommended

/