public class Sudoku extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
Sudoku.ColumnName
This interface is a marker class for the columns created for the
Sudoku solver.
|
Constructor and Description |
---|
Sudoku(InputStream stream)
Set up a puzzle board to the given size.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Solves a set of sudoku puzzles.
|
void |
solve() |
public Sudoku(InputStream stream) throws IOException
stream
- The input stream to read the data fromIOException
public void solve()
public static void main(String[] args) throws IOException
args
- a list of puzzle filenames to solveIOException
Copyright © 2010 The Apache Software Foundation