A B C E H I M O P R S T V 
All Classes All Packages

A

addPiece(Piece) - Method in class popinjay.Board
Effect: Add a piece to the board and return true.
AffineTransform - Class in popinjay
A mutable affine transformation on 2D points.
AffineTransform() - Constructor for class popinjay.AffineTransform
Create the identity transformation.
AffineTransform(int, int, int, int) - Constructor for class popinjay.AffineTransform
Create a linear transformation.
apply(Point) - Method in class popinjay.AffineTransform
Return a point that is the transformation of p.

B

Board - Class in popinjay
A mutable state of the puzzle board, with some set of pieces placed on it.

C

classInv() - Method in class popinjay.Board
Invariant: All pieces fit fully on valid board points and do not overlap.
compareTo(Point) - Method in class popinjay.Point
Compare two points (lexicographically)
compose(AffineTransform) - Method in class popinjay.AffineTransform
Effect: compose the current transformation with the transformation t.

E

equals(Object) - Method in class popinjay.Point
 

H

hashCode() - Method in class popinjay.Point
 

I

index - Variable in class popinjay.Piece
 
iterator() - Method in class popinjay.Piece
Return an Iterable for the points of the piece, which are the transformed points of its shape.
iterator() - Method in class popinjay.Shape
Iterator for the points of the shape.

M

main(String[]) - Static method in class popinjay.Main
Try to solve the puzzle, printing out progress reports and then the solution when it is found.
Main - Class in popinjay
A solver for the Popinjay puzzle, which has 11 J-shaped pieces.
Main() - Constructor for class popinjay.Main
 

O

open(int, int) - Method in class popinjay.Board
Whether this is an unoccupied, valid board point.

P

Piece - Class in popinjay
A Piece represents a puzzle piece, which is a Shape that has been rotated, flipped, and translated to some position on a Board by an affine transformation.
Point - Class in popinjay
An immutable 2D point (x,y).
popinjay - package popinjay
 

R

removePiece(Piece) - Method in class popinjay.Board
Effect: Remove a piece from the board.

S

shape - Variable in class popinjay.Piece
 
Shape - Class in popinjay
A Shape represents a puzzle piece as a collection of points.
Shape(String[]) - Constructor for class popinjay.Shape
Create a Shape from an array of strings.
sizeX() - Method in class popinjay.Board
The horizontal size of the board.
sizeY() - Method in class popinjay.Board
The vertical size of the board.

T

toString() - Method in class popinjay.Board
 
translate(int, int) - Method in class popinjay.AffineTransform
Effect: Compose the current transformation with a translation.

V

valid(int, int) - Method in class popinjay.Board
Whether this is a valid board point.
A B C E H I M O P R S T V 
All Classes All Packages