|
Drools examples 6.2.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SudokuGridModel
An interface representing a 9x9 Sudoku Grid of Cells.
| Field Summary | |
|---|---|
static int |
INNER_GRID_HEIGHT
The number of rows that make up a zone within the Grid |
static int |
INNER_GRID_WIDTH
The number of colums that make up a zone within the Grid |
static int |
NUM_COLS
The number of columns in the Grid, i.e. the width |
static int |
NUM_ROWS
The number of rows in the Grid, i.e. the height |
| Method Summary | |
|---|---|
void |
addSudokuGridListener(SudokuGridListener l)
|
String |
getCellValue(int iRow,
int iCol)
|
void |
removeSudokuGridListener(SudokuGridListener l)
|
void |
setCellValues(Integer[][] cellValues)
|
void |
solve()
|
void |
step()
|
| Field Detail |
|---|
static final int NUM_ROWS
static final int NUM_COLS
static final int INNER_GRID_WIDTH
static final int INNER_GRID_HEIGHT
| Method Detail |
|---|
void setCellValues(Integer[][] cellValues)
String getCellValue(int iRow,
int iCol)
void solve()
void step()
void addSudokuGridListener(SudokuGridListener l)
void removeSudokuGridListener(SudokuGridListener l)
|
Drools examples 6.2.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||