Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
N
P
R
S
T
W
P
paintComponent(Graphics)
- Method in class
CubesPanel
Draws the puzzle.
Part1
- Class in
<Unnamed>
Part1()
- Constructor for class
Part1
Part2
- Class in
<Unnamed>
Yuriy Kozlov
Part2.java -- Final Project
This is the test file for Part 2 of the final project.
Part2()
- Constructor for class
Part2
Part2all
- Class in
<Unnamed>
Yuriy Kozlov
Part2.java -- Final Project
This is the test file for Part 2 of the final project.
Part2all()
- Constructor for class
Part2all
peek()
- Method in class
LinkedQueue
Returns the first item from the queue.
pop()
- Method in class
LinkedQueue
Removes the first item from the queue.
print3(List)
- Static method in class
Part2
Precondition: lst is not null and contains PuzzleStates.
Prints out the last 3 states in the list.
printall(List)
- Static method in class
Part2all
Precondition: lst is not null and contains PuzzleStates.
Prints out all the states in the list.
printMoves()
- Static method in class
Test1
printRandomMove()
- Static method in class
Part1
printRandomSolve()
- Static method in class
Part2
Prints out a solved state, then a random state, then solves the random state.
printRandomSolve()
- Static method in class
Part2all
Prints out a solved state, then a random state, then solves the random state.
printRandomState()
- Static method in class
Part1
printSolvedState()
- Static method in class
Part1
printState2d(PuzzleState)
- Static method in class
PuzzleModel
This prints out the state to the screen by printing the z coordinate of the visible cubes in the XY plane.
printState2d2(PuzzleState)
- Static method in class
PuzzleModel
This prints out the state to the screen by printing the z coordinate of the visible cubes in the XZ plane.
push(Object)
- Method in class
LinkedQueue
Adds the object to the end of the queue.
PuzzleGUI
- Class in
<Unnamed>
Yuriy Kozlov
PuzzleGUI.java -- Final Project
PuzzleGUI()
- Constructor for class
PuzzleGUI
PuzzleModel
- Class in
<Unnamed>
Yuriy Kozlov
PuzzleModel.java -- Final Project
There is a virtual environment where the chain of cubes is.
PuzzleModel()
- Constructor for class
PuzzleModel
Creates a new PuzzleModel, with an empty to-try queue, empty process, blank puzzle state, empty tried hashset, 0 size, and a blank result.
PuzzleModel(PuzzleState)
- Constructor for class
PuzzleModel
Creates a new PuzzleModel with the given PuzzleState, a to-try queue containing it, an empty process, an empty tried hashset, the size of the given state, and a blank result.
puzzleNotSolved()
- Method in class
PuzzleModel
Called when the puzzle cannot be solved.
puzzleSize()
- Method in class
PuzzleState
Returns the puzzle size.
puzzleSolved(PuzzleState)
- Method in class
PuzzleModel
Called when the puzzle has been solved.
PuzzleState
- Class in
<Unnamed>
Yuriy Kozlov
PuzzleState.java -- Final Project
This class represents one state of the puzzle.
PuzzleState()
- Constructor for class
PuzzleState
Default constructor.
PuzzleState(short)
- Constructor for class
PuzzleState
Constructor that takes a puzzle size.
PuzzleState(Collection, short)
- Constructor for class
PuzzleState
Constructor that takes a puzzle size and an existing set of elements.
PuzzleState(Collection, short, PuzzleState)
- Constructor for class
PuzzleState
Constructor that takes a puzzle size and an existing set of elements.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
N
P
R
S
T
W