valid_grid Function

public pure function valid_grid(grid)

Check if the whole grid is valid.

Returns true if a full grid is valid.

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(9, 9) :: grid

Sudoku grid.

Return Value logical


Calls

proc~~valid_grid~~CallsGraph proc~valid_grid valid_grid proc~valid_colum_or_row valid_colum_or_row proc~valid_grid->proc~valid_colum_or_row proc~valid_zone valid_zone proc~valid_grid->proc~valid_zone

Called by

proc~~valid_grid~~CalledByGraph proc~valid_grid valid_grid proc~cli_solver cli_solver proc~cli_solver->proc~valid_grid

Variables

Type Visibility Attributes Name Initial
integer, public :: col
integer, public :: row