|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Solution
The Solution interface represents a solution to a Grid. It
consists of a list of paths, which should correspond to words
in the grid that appear in a given dictionary.
| Method Summary | |
|---|---|
void |
addPath(Path p)
Adds a path to this solution |
java.util.List<Path> |
getPaths()
Returns the list of paths that comprise this solution. |
| Method Detail |
|---|
java.util.List<Path> getPaths()
void addPath(Path p)
p - - the path to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||