Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

Algorithm::Algorithm ( Solution solution,
unsigned int  max_iter = 0 


Constructs an backtracking algorithm to solve a problem. The problem is implemented in 'solution' which represents a path through the decision tree from the root to one leaf.

Definition at line 22 of file backtrack.cpp.

  solution(solution), max_iter(max_iter)
  first = true;
  valid = false;
  level = -1;
  iter = 0;

Generated by  Doxygen 1.6.0   Back to index