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

void Algorithm::reset (  )  [inherited]

Reset the decision tree, i.e. the next call to 'find_solution' finds the first valid solution.

Definition at line 50 of file backtrack.cpp.

References BackTrack::Solution::reset_at().

{
  while (level >= 0)
  {
    solution.reset_at(level);
    --level;
  }
  first = true;
}


Generated by  Doxygen 1.6.0   Back to index