Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
Q
R
S
T
U
V
W
A
Action
- Interface in
agent
Actions
- Class in
agent
Actions()
- Constructor for class agent.
Actions
Actions(int)
- Constructor for class agent.
Actions
addPlayer(Player)
- Method in class mixmeta4.
Game
agent
- package agent
Agent
- Interface in
agent
B
BACKGROUND_COLOUR
- Static variable in class mixmeta4.
SquareGUI
BLACK_COLOUR
- Static variable in class mixmeta4.
PieceGUI
BLACK_DEST
- Static variable in class mixmeta4.
Frogger
BLACK_DEST
- Static variable in class mixmeta4.
Galaxian
BLACK_DEST
- Static variable in class mixmeta4.
Queen
BLACK_DEST
- Static variable in class mixmeta4.
Winthrop
BLACK_DIRECTIONS
- Static variable in class mixmeta4.
Checker
BLACK_DIRECTIONS
- Static variable in class mixmeta4.
Egg
BLACK_DIRECTIONS
- Static variable in class mixmeta4.
King
BLACK_DIRECTIONS
- Static variable in class mixmeta4.
Knight
BLACK_DIRECTIONS
- Static variable in class mixmeta4.
Pod
blackFinished()
- Method in class mixmeta4.
Board
Assume black's pieces started in the first n rows.
blackKingTaken()
- Method in class mixmeta4.
Board
Determine whether black king has been taken.
blackPly()
- Method in class mixmeta4.
Game
blackWon()
- Method in class mixmeta4.
Game
Board
- Class in
mixmeta4
Board(Game, String, boolean)
- Constructor for class mixmeta4.
Board
Board()
- Constructor for class mixmeta4.
Board
Constructor used by clone().
BoardGUI
- Class in
mixmeta4
BoardGUI(Board)
- Constructor for class mixmeta4.
BoardGUI
C
Checker
- Class in
mixmeta4
A Checker (C,c) moves forward one square diagonally.
Checker(boolean, boolean)
- Constructor for class mixmeta4.
Checker
CheckerGUI
- Class in
mixmeta4
CheckerGUI(Checker)
- Constructor for class mixmeta4.
CheckerGUI
ClientPlayer
- Class in
mixmeta4
ClientPlayer(boolean, String, String)
- Constructor for class mixmeta4.
ClientPlayer
clone()
- Method in interface agent.
Environment
clone()
- Method in class mixmeta4.
Board
clone()
- Method in class mixmeta4.
Checker
clone()
- Method in class mixmeta4.
Egg
clone()
- Method in class mixmeta4.
Frogger
clone()
- Method in class mixmeta4.
Galaxian
clone()
- Method in class mixmeta4.
King
clone()
- Method in class mixmeta4.
Knight
clone()
- Method in class mixmeta4.
Move
currently implemented for single step moves
clone()
- Method in class mixmeta4.
Moves
clone()
- Method in class mixmeta4.
Piece
clone()
- Method in class mixmeta4.
Pod
clone()
- Method in class mixmeta4.
Queen
clone()
- Method in class mixmeta4.
Square
clone()
- Method in class mixmeta4.
Winthrop
clone()
- Method in class search.
Node
clone()
- Method in interface search.
State
COLOUR
- Static variable in class mixmeta4.
MoveGUI
COLOUR
- Static variable in class mixmeta4.
SquareGUI
column
- Variable in class mixmeta4.
Square
deprecated - use getColumn()
copy()
- Method in class mixmeta4.
Game
cost
- Variable in class search.
Node
count()
- Method in class mixmeta4.
PieceSet
Deprecated - not required for getter methods.
D
draw()
- Method in class mixmeta4.
Game
E
Egg
- Class in
mixmeta4
An Egg (E,e) moves forward one square diagonally, and promotes to a Frogger when it reaches the last row.
Egg(boolean, boolean)
- Constructor for class mixmeta4.
Egg
EggGUI
- Class in
mixmeta4
EggGUI(Egg)
- Constructor for class mixmeta4.
EggGUI
Creates new EggGUI
Environment
- Interface in
agent
equals(Object)
- Method in class mixmeta4.
Board
equals(Object)
- Method in class mixmeta4.
Square
execute(Move)
- Method in class mixmeta4.
Board
exists(Point)
- Method in class mixmeta4.
Board
existsNeighbour(Point)
- Method in class mixmeta4.
Square
F
Frogger
- Class in
mixmeta4
Frogger (F,f) moves up to 5 squares vertically or horizontally.
Frogger(boolean, boolean)
- Constructor for class mixmeta4.
Frogger
FroggerGUI
- Class in
mixmeta4
FroggerGUI(Frogger)
- Constructor for class mixmeta4.
FroggerGUI
G
Galaxian
- Class in
mixmeta4
Galaxian (G,g) moves up to 5 squares diagonally in any direction.
Galaxian(boolean, boolean)
- Constructor for class mixmeta4.
Galaxian
GalaxianGUI
- Class in
mixmeta4
GalaxianGUI(Galaxian)
- Constructor for class mixmeta4.
GalaxianGUI
game
- Variable in class mixmeta4.
Board
Game
- Class in
mixmeta4
Game(String, String, Player, Player)
- Constructor for class mixmeta4.
Game
Game(String, String, Player, Player, long, long)
- Constructor for class mixmeta4.
Game
Game(String, String, Player, Player, long, long, String)
- Constructor for class mixmeta4.
Game
Start a new game.
Game(String, String, Player, Player, long, long, String, ArrayList)
- Constructor for class mixmeta4.
Game
Game()
- Constructor for class mixmeta4.
Game
provided for copy
GameGUI
- Class in
mixmeta4
GameGUI(Game, String)
- Constructor for class mixmeta4.
GameGUI
gameIsOver()
- Method in class mixmeta4.
Game
getAction(Percept)
- Method in interface agent.
Agent
getAction(Percept, String)
- Method in interface agent.
ServerAgent
getAction(Percept)
- Method in class mixmeta4.
ClientPlayer
getAction(Percept)
- Method in class mixmeta4.
Player
getActions()
- Method in class mixmeta4.
Board
Get the legal Moves for the current board configuration.
getActions(Piece)
- Method in class mixmeta4.
Board
Get the Moves for a piece.
getActions()
- Method in interface search.
State
getBlackPieces()
- Method in class mixmeta4.
Board
getBlackTime()
- Method in class mixmeta4.
Game
getColumn()
- Method in class mixmeta4.
Square
Get the column number of this square.
getComment()
- Method in class mixmeta4.
Move
getCost()
- Method in interface agent.
Action
getCost()
- Method in class mixmeta4.
Move
getCost()
- Method in class search.
Node
getDepthLimit()
- Method in interface search.
NodeInfo
Get the depth/cost limit for depth limited and iterative deepening searches.
getDestination()
- Method in class mixmeta4.
Move
get the destination (last point) of the move
getDests()
- Method in class mixmeta4.
Piece
You shouldn't need to use this directly.
getDirections()
- Method in class mixmeta4.
Piece
You shouldn't need to use this directly.
getGame()
- Method in class mixmeta4.
Board
getGameName()
- Method in class mixmeta4.
Game
getIsRed()
- Method in class mixmeta4.
Piece
Return true if the piece is Red.
getLocation()
- Method in class mixmeta4.
Square
Return the location of this square as a Point(row,column), where row 1 is at the top, and column 1 is on the left.
getMovesSinceCapture()
- Method in class mixmeta4.
Board
Get the number of moves (ply) since a piece was captured.
getMovesSoFar()
- Method in class mixmeta4.
Board
getName(String)
- Method in interface agent.
ServerAgent
getName()
- Method in class mixmeta4.
Player
getNumColumns()
- Method in class mixmeta4.
Board
get the number of columns in the board
getNumRows()
- Method in class mixmeta4.
Board
get the number of rows in the board
getOrigin()
- Method in class mixmeta4.
Move
get the origin of the move
getPath()
- Method in class search.
Node
getPercept()
- Method in interface agent.
Environment
getPercept()
- Method in class mixmeta4.
Board
getPlayerName(boolean)
- Method in class mixmeta4.
Game
getRedPieces()
- Method in class mixmeta4.
Board
getRedTime()
- Method in class mixmeta4.
Game
getRow()
- Method in class mixmeta4.
Square
Get the row number of this square.
getSquare(Point)
- Method in class mixmeta4.
Board
getSquare()
- Method in class mixmeta4.
Piece
Return the square on which this piece is located.
getState()
- Method in class search.
Node
getTimeIncrement()
- Method in class mixmeta4.
Game
getUtility()
- Method in class search.
Node
gui
- Variable in class mixmeta4.
Board
gui
- Variable in class mixmeta4.
Piece
gui
- Variable in class mixmeta4.
Square
H
hashCode()
- Method in class mixmeta4.
Board
hashCode()
- Method in class mixmeta4.
Checker
hashCode()
- Method in class mixmeta4.
Egg
hashCode()
- Method in class mixmeta4.
Frogger
hashCode()
- Method in class mixmeta4.
Galaxian
hashCode()
- Method in class mixmeta4.
King
hashCode()
- Method in class mixmeta4.
Knight
hashCode()
- Method in class mixmeta4.
Pod
hashCode()
- Method in class mixmeta4.
Queen
hashCode()
- Method in class mixmeta4.
Square
hashCode()
- Method in class mixmeta4.
Winthrop
I
isEmpty()
- Method in class mixmeta4.
Square
isGoal(Node)
- Method in interface search.
NodeInfo
isOccupied()
- Method in class mixmeta4.
Square
isOccupiedByBlack()
- Method in class mixmeta4.
Square
isOccupiedByMe(boolean)
- Method in class mixmeta4.
Square
isOccupiedByOpponent(boolean)
- Method in class mixmeta4.
Square
isOccupiedByRed()
- Method in class mixmeta4.
Square
isRed
- Variable in class mixmeta4.
Piece
deprecated: use getIsRed() to get the colour
isRed
- Variable in class mixmeta4.
Player
isReverse(Move)
- Method in class mixmeta4.
Move
See if this move is the reverse of the argument.
isTerminal(Node)
- Method in interface search.
NodeInfo
K
King
- Class in
mixmeta4
King (K,k) moves one square in any direction.
King(boolean, boolean)
- Constructor for class mixmeta4.
King
KingGUI
- Class in
mixmeta4
KingGUI(King)
- Constructor for class mixmeta4.
KingGUI
Knight
- Class in
mixmeta4
Knight (N,n) moves in an "L" shape, two squares either vertically or horizontally, then one square horizontally or vertically, respectively.
Knight(boolean, boolean)
- Constructor for class mixmeta4.
Knight
KnightGUI
- Class in
mixmeta4
KnightGUI(Knight)
- Constructor for class mixmeta4.
KnightGUI
L
lastMove
- Variable in class mixmeta4.
Board
look()
- Method in class mixmeta4.
Square
Return the piece occupying this square.
M
main(String[])
- Static method in class mixmeta4.
PlayCheckers
main(String[])
- Static method in class mixmeta4.
Test
main(String[])
- Static method in class player.
Play
main(String[])
- Static method in class player.
PlayCF
main(String[])
- Static method in class player.
PlayClient
maxValue(Node, int)
- Method in class search.
Minimax
Minimax
- Class in
search
Minimax(NodeInfo)
- Constructor for class search.
Minimax
minValue(Node, int)
- Method in class search.
Minimax
mixmeta4
- package mixmeta4
Move
- Class in
mixmeta4
Move represents a players move.
Move(Point, Point)
- Constructor for class mixmeta4.
Move
Move()
- Constructor for class mixmeta4.
Move
MoveGUI
- Class in
mixmeta4
MoveGUI(Move, Board)
- Constructor for class mixmeta4.
MoveGUI
Moves
- Class in
mixmeta4
Moves()
- Constructor for class mixmeta4.
Moves
Moves(int)
- Constructor for class mixmeta4.
Moves
MOVES_TILL_DRAW
- Static variable in class mixmeta4.
Game
The number of ply without captures after which a draw is declared.
N
name
- Variable in class mixmeta4.
Player
neighbour(Point)
- Method in class mixmeta4.
Square
newGame()
- Method in class mixmeta4.
Game
newGame(String, String)
- Method in class mixmeta4.
Game
Node
- Class in
search
Note: direct access to instance variables is deprecated.
Node(State)
- Constructor for class search.
Node
Node(State, Actions)
- Constructor for class search.
Node
Node(State, Actions, double, double)
- Constructor for class search.
Node
NodeInfo
- Interface in
search
Searches will use NodeInfo objects to gain application-specific information about a node needed to carry out the search.
numberOfCheckers
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfCheckers()
- Method in class mixmeta4.
PieceSet
numberOfEggs
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfEggs()
- Method in class mixmeta4.
PieceSet
numberOfFroggers
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfFroggers()
- Method in class mixmeta4.
PieceSet
numberOfGalaxians
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfGalaxians()
- Method in class mixmeta4.
PieceSet
numberOfKings
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfKings()
- Method in class mixmeta4.
PieceSet
numberOfKnights
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfKnights()
- Method in class mixmeta4.
PieceSet
numberOfPods
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfPods()
- Method in class mixmeta4.
PieceSet
numberOfQueens
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfQueens()
- Method in class mixmeta4.
PieceSet
numberOfWinthrops
- Variable in class mixmeta4.
PieceSet
Deprecated - user getter
numberOfWinthrops()
- Method in class mixmeta4.
PieceSet
numColumns
- Variable in class mixmeta4.
Board
Deprecated, use getNumColumns().
numRows
- Variable in class mixmeta4.
Board
Deprecated, use getNumRows().
P
paint()
- Method in class mixmeta4.
BoardGUI
paint(Graphics)
- Method in class mixmeta4.
BoardGUI
paint(Graphics)
- Method in class mixmeta4.
CheckerGUI
paint(Graphics)
- Method in class mixmeta4.
EggGUI
paint(Graphics)
- Method in class mixmeta4.
FroggerGUI
paint(Graphics)
- Method in class mixmeta4.
GalaxianGUI
paint(Graphics)
- Method in class mixmeta4.
KingGUI
paint(Graphics)
- Method in class mixmeta4.
KnightGUI
paint(Graphics)
- Method in class mixmeta4.
MoveGUI
paint(Graphics, Color)
- Method in class mixmeta4.
MoveGUI
paint(Graphics)
- Method in class mixmeta4.
PieceGUI
paint(Graphics)
- Method in class mixmeta4.
PodGUI
paint(Graphics)
- Method in class mixmeta4.
QueenGUI
paint(Graphics)
- Method in class mixmeta4.
SquareGUI
paint(Graphics)
- Method in class mixmeta4.
WinthropGUI
path
- Variable in class search.
Node
Percept
- Interface in
agent
Piece
- Class in
mixmeta4
Piece(boolean, Point[], Point[])
- Constructor for class mixmeta4.
Piece
Piece(boolean, Point[][], Point[][])
- Constructor for class mixmeta4.
Piece
Piece()
- Constructor for class mixmeta4.
Piece
PieceGUI
- Class in
mixmeta4
PieceGUI(Piece)
- Constructor for class mixmeta4.
PieceGUI
PieceSet
- Class in
mixmeta4
Holds a player's pieces.
PieceSet()
- Constructor for class mixmeta4.
PieceSet
play()
- Method in class mixmeta4.
Game
Play
- Class in
player
This is the main class for initiating games between two players.
Play()
- Constructor for class player.
Play
PlayCF
- Class in
player
Play using config file.
PlayCF()
- Constructor for class player.
PlayCF
PlayCheckers
- Class in
mixmeta4
PlayCheckers()
- Constructor for class mixmeta4.
PlayCheckers
PlayClient
- Class in
player
PlayClient()
- Constructor for class player.
PlayClient
player
- package player
Player
- Class in
mixmeta4
Abstract class which is extended to create user's players.
Player(boolean, String)
- Constructor for class mixmeta4.
Player
players
- Variable in class mixmeta4.
Game
Pod
- Class in
mixmeta4
A Pod (P,p) moves forward one square diagonally, and promotes to a Galaxian when it reaches the last row.
Pod(boolean, boolean)
- Constructor for class mixmeta4.
Pod
PodGUI
- Class in
mixmeta4
PodGUI(Pod)
- Constructor for class mixmeta4.
PodGUI
put(Piece)
- Method in class mixmeta4.
Square
Q
Queen
- Class in
mixmeta4
Queen (Q,q) moves up to 3 squares in any direction.
Queen(boolean, boolean)
- Constructor for class mixmeta4.
Queen
QueenGUI
- Class in
mixmeta4
QueenGUI(Queen)
- Constructor for class mixmeta4.
QueenGUI
R
RADIUS
- Static variable in class mixmeta4.
PieceGUI
RED_COLOUR
- Static variable in class mixmeta4.
PieceGUI
RED_DEST
- Static variable in class mixmeta4.
Frogger
RED_DEST
- Static variable in class mixmeta4.
Galaxian
RED_DEST
- Static variable in class mixmeta4.
Queen
RED_DEST
- Static variable in class mixmeta4.
Winthrop
RED_DIRECTIONS
- Static variable in class mixmeta4.
Checker
RED_DIRECTIONS
- Static variable in class mixmeta4.
Egg
RED_DIRECTIONS
- Static variable in class mixmeta4.
King
RED_DIRECTIONS
- Static variable in class mixmeta4.
Knight
RED_DIRECTIONS
- Static variable in class mixmeta4.
Pod
redFinished()
- Method in class mixmeta4.
Board
Assume red's pieces started in the first n rows.
redKingTaken()
- Method in class mixmeta4.
Board
Determine whether red king has been taken.
redPly()
- Method in class mixmeta4.
Game
redToMove
- Variable in class mixmeta4.
Board
Deprecated, use getter redToMove().
redToMove()
- Method in class mixmeta4.
Board
Find out who's turn it is to move.
redWon()
- Method in class mixmeta4.
Game
resize()
- Method in class mixmeta4.
BoardGUI
resize()
- Method in class mixmeta4.
PieceGUI
resize()
- Method in class mixmeta4.
SquareGUI
row
- Variable in class mixmeta4.
Square
deprecated - user getRow()
S
search
- package search
secondLastMove
- Variable in class mixmeta4.
Board
ServerAgent
- Interface in
agent
setComment(String)
- Method in class mixmeta4.
Move
setCost(double)
- Method in class search.
Node
setDepthLimit(double)
- Method in interface search.
NodeInfo
Set the depth/cost limit for depth limited and iterative deepending searches.
setMovesTillDraw(int)
- Method in class mixmeta4.
Game
Set the number of ply without capture before a draw is called.
setName(String)
- Method in class mixmeta4.
Player
setPath(Actions)
- Method in class search.
Node
setPlayers(ArrayList)
- Method in class mixmeta4.
Game
setState(State)
- Method in class search.
Node
setUtility(double)
- Method in class search.
Node
SIZE
- Static variable in class mixmeta4.
MoveGUI
SIZE
- Static variable in class mixmeta4.
SquareGUI
square
- Variable in class mixmeta4.
Piece
deprecated: use getSquare() to get the square
Square
- Class in
mixmeta4
Square(Board, int, int, boolean)
- Constructor for class mixmeta4.
Square
Square(Board, int, int)
- Constructor for class mixmeta4.
Square
Deprecated.
Square()
- Constructor for class mixmeta4.
Square
SquareGUI
- Class in
mixmeta4
SquareGUI(Square)
- Constructor for class mixmeta4.
SquareGUI
squares
- Variable in class mixmeta4.
Board
state
- Variable in class search.
Node
State
- Interface in
search
step()
- Method in class mixmeta4.
Game
T
take()
- Method in class mixmeta4.
Square
Test
- Class in
mixmeta4
Test()
- Constructor for class mixmeta4.
Test
toString()
- Method in class mixmeta4.
Board
toString()
- Method in class mixmeta4.
Checker
toString()
- Method in class mixmeta4.
Egg
toString()
- Method in class mixmeta4.
Frogger
toString()
- Method in class mixmeta4.
Galaxian
toString()
- Method in class mixmeta4.
King
toString()
- Method in class mixmeta4.
Knight
toString()
- Method in class mixmeta4.
Move
toString()
- Method in class mixmeta4.
Piece
toString()
- Method in class mixmeta4.
PieceSet
toString()
- Method in class mixmeta4.
Pod
toString()
- Method in class mixmeta4.
Queen
toString()
- Method in class mixmeta4.
Square
toString()
- Method in class mixmeta4.
Winthrop
tty
- Variable in class mixmeta4.
Board
U
update(Action)
- Method in interface agent.
Environment
update(Action)
- Method in class mixmeta4.
Board
Updates the board by executing the move and toggling whose turn it is to move.
update(Action)
- Method in class search.
Node
update(Action)
- Method in interface search.
State
utility
- Variable in class search.
Node
utility(Node)
- Method in interface search.
NodeInfo
V
visible
- Variable in class mixmeta4.
Board
W
Winthrop
- Class in
mixmeta4
Winthrop (W,w) moves up to 4 squares horizontally or vertically.
Winthrop(boolean, boolean)
- Constructor for class mixmeta4.
Winthrop
WinthropGUI
- Class in
mixmeta4
WinthropGUI(Winthrop)
- Constructor for class mixmeta4.
WinthropGUI
A
B
C
D
E
F
G
H
I
K
L
M
N
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes