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

bool Solver::is_last_at ( unsigned int  level  )  const [virtual]

Check if the element is set to the last sibling.

Implements BackTrack::Solution.

Definition at line 76 of file solver.cpp.

References Sudoku::Puzzle::next_number().

{
  assert(level < free_count);
  return puzzle.next_number(free_list[level]) == 0;
}


Generated by  Doxygen 1.6.0   Back to index