Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
X
Y
S
setupGame(String)
- Method in class cs4099.
Interpreter
A large method to go through the entire process of reading the properties of the XML file (game, piles, fixed cards and tactics) and storing them in a State ready for use by the program.
shufflepack(LinkedList, int)
- Method in class cs4099.
Interpreter
Shuffles a given array of cards, by repeatedly swapping two positions chosen at random.
Solver
- Class in
cs4099
The Solver class takes in a root state and expands a tree of possible future states.
Solver(State, int)
- Constructor for class cs4099.
Solver
Initializes a new Solver.
State
- Class in
cs4099
This class represents a collection of Piles - it holds a specific state in a Solitaire game.
State(State)
- Constructor for class cs4099.
State
Creates a new State
StateStack
- Class in
cs4099
This class stores a LinkedList of states with references to their parents.
StateStack()
- Constructor for class cs4099.
StateStack
Creates a new StateStack
StateWriter
- Class in
cs4099
The StateWriter outputs a representation of a state to an XML file so that it can be read at a later time.
StateWriter()
- Constructor for class cs4099.
StateWriter
Constructor (empty).
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
X
Y