程序包 | 说明 |
---|---|
org.apache.hadoop.examples.dancing |
This package is a distributed implementation of Knuth's dancing links
algorithm that can run under Hadoop.
|
限定符和类型 | 类和说明 |
---|---|
protected static class |
Pentomino.Piece
Maintain information about a puzzle piece.
|
限定符和类型 | 方法和说明 |
---|---|
Pentomino.SolutionCategory |
Pentomino.getCategory(List<List<Pentomino.ColumnName>> names)
Find whether the solution has the x in the upper left quadrant, the
x-midline, the y-midline or in the center.
|
void |
Pentomino.setPrinter(DancingLinks.SolutionAcceptor<Pentomino.ColumnName> printer)
Set the printer for the puzzle.
|
static String |
Pentomino.stringifySolution(int width,
int height,
List<List<Pentomino.ColumnName>> solution)
Convert a solution to the puzzle returned by the model into a string
that represents the placement of the pieces onto the board.
|
Copyright © 2009 The Apache Software Foundation