Class: Sudoku::S4_15
Overview
Sudokus de base 4 à 15 rapide
Instance Method Summary collapse
-
#size ⇒ Fixnum
Renvoie le coté du Sudoku.
Methods included from Solver
#missing_col, #missing_row, #missing_square, #remove_impossible!, #solve_backtrack!, #solve_backtrack_timeout, #solve_col!, #solve_naive!, #solve_row!, #solve_square!, #solve_uniq_possibilities!
Methods included from Generator
#make_diagonal, #make_valid, #make_valid_incomplete
Methods included from Logic
#base, #col, #completable?, #complete?, #count, #import, #inspect, #length, #load, #possibilities, #row, #square, #to_s, #to_sutxt, #valid?, #valid_cell?, #valid_grid?
Instance Method Details
#size ⇒ Fixnum
Renvoie le coté du Sudoku
40 41 42 43 44 45 46 |
# File 'lib/sudoku.rb', line 40 def size if @size @size else @size = size_internal end end |