A B C D E F G H I K L M N O P R S T U V W 

A

abortComputation() - Method in interface com.joansala.engine.Engine
Aborts the current search.
abortComputation() - Method in class com.joansala.engine.Negamax
Aborts the current search
add(long) - Method in class com.joansala.tools.BGraph
Ensures this graph contains a node with the specified identifier.
addEdge(long, byte) - Method in class com.joansala.tools.BNode
Adds a new edge to this node.

B

Battle - Class in com.joansala.tools
Runs a Round-Robin tournament between oware engines.
Benchmark - Class in com.joansala.tools
Runs a simple benchmark from test suites provided on the standard input.
BGraph - Class in com.joansala.tools
Graph implementation that uses BerkeleyDB to store its nodes.
BGraph(String) - Constructor for class com.joansala.tools.BGraph
Instantiates a new directed graph object.
BNode - Class in com.joansala.tools
Represents a node of a game state space.
BNode() - Constructor for class com.joansala.tools.BNode
Use a BGraph object to instantiate a node.
Board - Interface in com.joansala.engine
A board represents an immutable game state and its representations.
Book - Class in com.joansala.engine
Abstract book implementation.
Book(File, String) - Constructor for class com.joansala.engine.Book
Initializes a new Book object wich will read entries from a file stored on disk.

C

Cache - Interface in com.joansala.engine
Stores information about a game state.
childs() - Method in class com.joansala.tools.BNode
Returns an array containing all the childs of this node.
clear() - Method in interface com.joansala.engine.Cache
Removes all the data stored on the cache.
clear() - Method in class com.joansala.oware.OwareCache
Clears all the information stored in this transposition table.
close() - Method in class com.joansala.tools.BGraph
Flushes all the modifications to the database and closes it
COEFFICIENTS - Static variable in class com.joansala.oware.OwareGame
Binomial coefficients used to compute hash codes
com.joansala.engine - package com.joansala.engine
Framework for the implementation of two-player zero-sum game engines.
com.joansala.oware - package com.joansala.oware
Implements an oware abapa game engine.
com.joansala.tools - package com.joansala.tools
Command line tools used to fine-tune the oware engine.
computeBestMove(Game) - Method in interface com.joansala.engine.Engine
Computes a best move for the current position of a game.
computeBestMove(Game) - Method in class com.joansala.engine.Negamax
Computes a best move for the current position of a game.
computeBestScore(Game) - Method in class com.joansala.engine.Negamax
Computes a best move for the current position of a game and returns its score.
contains(long) - Method in class com.joansala.tools.BGraph
Returns true if this graph contains a node with the specified identifier.
contains(int) - Method in class com.joansala.tools.DStack
Returns true if either the main stack or the backtracking stack contain the specified node.

D

DEFAULT_CONTEMPT - Static variable in class com.joansala.oware.OwareService
The default score to which draws are evaluated
DEFAULT_HASH - Static variable in class com.joansala.oware.OwareService
Default size of the hash table in megabytes
DEFAULT_LEAVES - Static variable in class com.joansala.oware.OwareService
Default number of seeds on board to probe for leaves
DEFAULT_TIME - Static variable in class com.joansala.engine.Negamax
The default time per move for a search
DEFAULT_TIME - Static variable in class com.joansala.engine.UCIService
The default time per move for a search
discharge() - Method in interface com.joansala.engine.Cache
Asks the cache to make room for new entries.
discharge() - Method in class com.joansala.oware.OwareCache
Asks the cache to make room for new entries.
DRAW - Static variable in interface com.joansala.engine.Game
Returned when the game ended in a draw
DRAW_SCORE - Static variable in interface com.joansala.engine.Game
The draw score for the utility function
DStack - Class in com.joansala.tools
Implements a double-stack of a fixed size.
DStack(int) - Constructor for class com.joansala.tools.DStack
Instantiates a new double-stack object

E

EMPTY - Static variable in interface com.joansala.engine.Cache
Flag of an unknown score
empty() - Method in class com.joansala.tools.DStack
Checks if the main stack contains any nodes.
emptyBack() - Method in class com.joansala.tools.DStack
Checks if the backtracking stack contains any nodes.
endMatch() - Method in interface com.joansala.engine.Game
Sets the internal board to the endgame position.
endMatch() - Method in class com.joansala.oware.OwareGame
Sets the internal board to its endgame position based on the current position
Engine - Interface in com.joansala.engine
An engine searches a game and returns a best move for its current state.
ensureCapacity(int) - Method in interface com.joansala.engine.Game
Increases the capacity of the game object if necessary.
ensureCapacity(int) - Method in class com.joansala.oware.OwareGame
Increases the capacity of the game object if necessary.
ENTRY_SIZE - Static variable in class com.joansala.oware.OwareRoots
Size in bytes of a database entry
equals(Object) - Method in class com.joansala.oware.OwareBoard
Compares this OwareBoard to the specified object.
EXACT - Static variable in interface com.joansala.engine.Cache
Flag of an exact score
exactCount(int) - Method in class com.joansala.tools.Solver
Returns the number of known positions with exactly the number of specified seeds.
exactCount() - Method in class com.joansala.tools.Solver
Returns the total number of known positions.
expand(byte) - Method in class com.joansala.tools.Solver
Expands all the positions with exactly numSeeds seeds with all their children and marks all the terminal nodes as known.
expandPaths(int, boolean) - Method in class com.joansala.tools.Trainer
Expands the given number of paths using the internal engine.
exportToBook(String, int) - Method in class com.joansala.tools.Solver
Exports the generated endgame database to a suitable book file.
exportToBook(String) - Method in class com.joansala.tools.Trainer
Exports all the positions found in the graph to a book file with a format suitable for a game engine.

F

fields() - Method in class com.joansala.engine.Book
Returns an iterator over the field names found in the book's header information.
finalize() - Method in class com.joansala.engine.Book
Destructor for this Book instance.
finalize() - Method in class com.joansala.engine.Negamax
Destructor for this Negamax instance.
find(Game) - Method in interface com.joansala.engine.Cache
Search the current game state provided by a Game object.
find(Game) - Method in interface com.joansala.engine.Leaves
Search a position provided by a Game object and sets it as the current position on the endgames book.
find(Game) - Method in class com.joansala.oware.OwareCache
Search a position provided by a Game object and sets it as the current position on the transposition table.
find(Game) - Method in class com.joansala.oware.OwareLeaves
Search a position provided by a OwareGame object and sets it as the current position on the endgames book.
findBestMoves(Game) - Method in class com.joansala.oware.OwareRoots
Returns a list of best moves found on the book for the provided position on the Game object.

G

Game - Interface in com.joansala.engine
Represents the logic of a game between two players.
gameState() - Method in class com.joansala.oware.OwareGame
Returns the current game state representation.
get(long) - Method in class com.joansala.tools.BGraph
Returns the node object to which the specified identifier is linked, or null if this graph does not contain a node with such identifier.
getAuthor() - Method in class com.joansala.engine.UCIClient
Returns the current engine author name.
getBestMove() - Method in class com.joansala.engine.UCIClient
Returns the last received best move.
getBoard() - Method in class com.joansala.engine.UCIClient
Returns a board representation of the current game state.
getBPriority() - Method in class com.joansala.tools.BNode
Returns the book player priority for this node
getChild(int) - Method in class com.joansala.tools.BNode
Returns the child node linked to an specified edge.
getContempt() - Method in interface com.joansala.engine.Engine
Returns the current the contempt factor of the engine.
getContempt() - Method in class com.joansala.engine.Negamax
Returns current the comptempt factor of the engine.
getDatabase() - Method in class com.joansala.engine.Book
Returns the random access file object associated with this book.
getDepth() - Method in interface com.joansala.engine.Cache
Returns the stored depth value for the last position found.
getDepth() - Method in interface com.joansala.engine.Engine
Returns the maximum depth allowed for the search
getDepth() - Method in class com.joansala.engine.Negamax
Returns the maximum depth allowed for the search
getDepth() - Method in class com.joansala.oware.OwareCache
Returns the stored depth value for the last position found.
getField(String) - Method in class com.joansala.engine.Book
Returns the value of the specified header field.
getFlag() - Method in interface com.joansala.engine.Cache
Returns the stored flag value for the last position found.
getFlag() - Method in class com.joansala.oware.OwareCache
Returns the stored flag value for the last position found.
getFlag() - Method in class com.joansala.tools.BNode
Returns this node flag value
getHash() - Method in class com.joansala.tools.BNode
Returns the unique identifier of this node
getInfinity() - Method in interface com.joansala.engine.Engine
Returns the current infinity score of the engine.
getInfinity() - Method in class com.joansala.engine.Negamax
Returns the current infinity score of the engine.
getMove() - Method in interface com.joansala.engine.Cache
Returns the stored move value for the last position found.
getMove() - Method in class com.joansala.oware.OwareCache
Returns the stored move value for the last position found.
getMove(int) - Method in class com.joansala.tools.BNode
Returns the move for an specified edge.
getMoveTime() - Method in interface com.joansala.engine.Engine
Returns the maximum time allowed for a move computation in milliseconds
getMoveTime() - Method in class com.joansala.engine.Negamax
Returns the maximum time allowed for a move computation in milliseconds
getName() - Method in class com.joansala.engine.UCIClient
Returns the current engine name.
getOPriority() - Method in class com.joansala.tools.BNode
Returns the opponent priority for this node
getPonderMove() - Method in class com.joansala.engine.UCIClient
Returns the last received ponder move.
getScore() - Method in interface com.joansala.engine.Cache
Returns the stored score value for the last position found.
getScore() - Method in interface com.joansala.engine.Leaves
Returns the exact score value for the last position found.
getScore() - Method in class com.joansala.oware.OwareCache
Returns the stored score value for the last position found.
getScore() - Method in class com.joansala.oware.OwareLeaves
Returns the exact score value for the last position found from south's perspective.
getScore() - Method in class com.joansala.tools.BNode
Returns the score for this node
getService() - Method in class com.joansala.engine.UCIClient
Returns the engine process associated with this client.
getState() - Method in class com.joansala.engine.UCIClient
Returns the current engine state.
getVersion() - Method in class com.joansala.engine.Book
Returns the value for the database book format version.

H

hasEnded() - Method in interface com.joansala.engine.Game
Checks if the game has ended on the current position
hasEnded() - Method in class com.joansala.oware.OwareGame
Checks if the game has ended on the current position.
hash() - Method in interface com.joansala.engine.Game
Returns an unique hash code for the current position.
hash() - Method in class com.joansala.oware.OwareBoard
Returns an unique hash identifier for the current board.
hash() - Method in class com.joansala.oware.OwareGame
Returns the unique hash code for the current position.
hashCode() - Method in class com.joansala.oware.OwareBoard
Returns a hash code for this board.
hasLegalMoves() - Method in class com.joansala.oware.OwareGame
Checks if at least one legal move can be performed for the current position and turn
hasTimeLimit() - Method in class com.joansala.engine.UCIClient
Returns if the current engine is not thinking in infinite mode.

I

invert() - Method in class com.joansala.tools.RoundRobin
Inverts the order of each individual pairing.
isCapture(int) - Method in class com.joansala.oware.OwareGame
Checks if the move is a capturing move for the current position.
isCapture(byte[], byte) - Method in class com.joansala.tools.Solver
Checks if the move is a capturing move for the given position
isDebugOn() - Method in class com.joansala.engine.UCIClient
Returns the current engine debug mode.
isLegal(int) - Method in interface com.joansala.engine.Game
Check if a move may be performed on the current position.
isLegal(int) - Method in class com.joansala.oware.OwareGame
Check if a move may be performed on the current position.
isPondering() - Method in class com.joansala.engine.UCIClient
Returns true if the engine is in a pondering state.
isReady() - Method in class com.joansala.engine.UCIClient
Returns true whenever the engine is ready to receive new commands.
isRepetition() - Method in class com.joansala.oware.OwareGame
Checks if the current position is a move repetition.
isRunning() - Method in class com.joansala.engine.UCIClient
Returns if the engine process is running.
isThinking() - Method in class com.joansala.engine.UCIClient
Returns true if the engine is in a thinking state.
isUCIReady() - Method in class com.joansala.engine.UCIClient
This method returns true whenever the engine is ready to receive commands in UCI mode.

K

keys() - Method in class com.joansala.tools.BGraph
Returns a sorted view of the keys in this graph.

L

Leaves - Interface in com.joansala.engine
An end games book that returns precomputed scores from a database.
legalMoves() - Method in interface com.joansala.engine.Game
Returns all the legal moves that can be performed on the current game position.
legalMoves() - Method in class com.joansala.oware.OwareGame
Returns all the legal moves that can be performed on the current game position.
length() - Method in interface com.joansala.engine.Game
Returns the number of moves performed on this game.
length() - Method in class com.joansala.oware.OwareGame
Returns the number of moves performed for this game from the initial position till the current move.
LOWER - Static variable in interface com.joansala.engine.Cache
Flag of a lower bound score

M

main(String[]) - Static method in class com.joansala.oware.OwareMatch
Runs a match between an human player and an engine.
main(String[]) - Static method in class com.joansala.oware.OwareService
Reads commands from the standard input and writes replies to the standard output.
main(String[]) - Static method in class com.joansala.oware.OwareShell
Command-line interface to the UCI protocol service.
main(String[]) - Static method in class com.joansala.tools.Battle
Runs a battle between two or more engines.
main(String[]) - Static method in class com.joansala.tools.Benchmark
Main method for the class.
main(String[]) - Static method in class com.joansala.tools.Solver
Builds an endgame tablebase in a progressive manner.
main(String[]) - Static method in class com.joansala.tools.Trainer
Main method for the class.
makeMove(int) - Method in interface com.joansala.engine.Game
Performs a move on the internal board.
makeMove(int) - Method in class com.joansala.oware.OwareGame
Performs a move on the internal board.
markComponents(int) - Method in class com.joansala.tools.Solver
Finds all the unknown nodes with N seeds that are part of a strongly-connected component and flags them appropiately.
MAX_CAPACITY - Static variable in class com.joansala.oware.OwareCache
Maximum possible capacity in number of slots
MAX_CAPACITY - Static variable in class com.joansala.oware.OwareGame
The maximum number of moves this object can store
MAX_DEPTH - Static variable in class com.joansala.engine.Negamax
The maximum depth allowed for a search
MAX_DEPTH - Static variable in class com.joansala.tools.Solver
Maximum search depth
MAX_PRIORITY - Static variable in class com.joansala.tools.Trainer
Maximum possible expansion priority
MAX_SCORE - Static variable in class com.joansala.oware.OwareGame
Maximum score to which positions are evaluated
MAX_SEEDS - Static variable in class com.joansala.oware.OwareLeaves
Maximum number of seeds that a position can contain
MAX_SEEDS - Static variable in class com.joansala.tools.Solver
Maximum number of seeds in a position
MIN_CAPACITY - Static variable in class com.joansala.oware.OwareCache
Minimum possible capacity in number of slots
MIN_DEPTH - Static variable in class com.joansala.engine.Negamax
The minimum depth allowed for a search
MIN_PRIORITY - Static variable in class com.joansala.tools.Trainer
Minimum possible expansion priority
moves() - Method in interface com.joansala.engine.Game
Returns all the performed moves till the current position.
moves() - Method in class com.joansala.oware.OwareGame
Returns an array with all the performed moves till the current position of the game.

N

Negamax - Class in com.joansala.engine
Implements a game engine using a negamax framework.
Negamax() - Constructor for class com.joansala.engine.Negamax
Initializes a new Negamax object.
newMatch() - Method in interface com.joansala.engine.Engine
Tells the engine that the next positions are going to be from a different match.
newMatch() - Method in class com.joansala.engine.Negamax
Tells the engine that the next positions are going to be from a different match.
newMatch() - Method in interface com.joansala.engine.Roots
Notifies the book intance that the next positions are going to be from a different match.
newMatch() - Method in class com.joansala.oware.OwareRoots
Notifies the book intance that the next positions are going to be from a different match.
nextMove() - Method in interface com.joansala.engine.Game
Returns the next legal move for the current position and turn.
nextMove() - Method in class com.joansala.oware.OwareGame
Returns the next legal move for the current position and turn.
NORTH - Static variable in interface com.joansala.engine.Game
North player identifier
northStore() - Method in class com.joansala.oware.OwareGame
Returns the number of seed captured by the north player till the current position.
NULL_MOVE - Static variable in interface com.joansala.engine.Game
Null move identifier
numEdges() - Method in class com.joansala.tools.BNode
Returns the number of childs of the node.
numPositions(int) - Method in class com.joansala.tools.Solver
Returns the number of positions that exist with exactly the number of specified seeds.
numPositions() - Method in class com.joansala.tools.Solver
Returns the total number of positions that exist.
numRounds() - Method in class com.joansala.tools.RoundRobin
Returns the number of rounds of the tournament
numTables() - Method in class com.joansala.tools.RoundRobin
Returns the number of tables for each round

O

outcome() - Method in interface com.joansala.engine.Game
Returns an utility evaluation of the current position.
outcome() - Method in class com.joansala.oware.OwareGame
Returns an utility evaluation of the current position.
outputBestLeaves(boolean) - Method in class com.joansala.tools.Trainer
Outputs all the values of the leaves that can be played by the book player in a comma-separated values format.
OwareBoard - Class in com.joansala.oware
Represents a valid mancala board for an oware game.
OwareBoard() - Constructor for class com.joansala.oware.OwareBoard
Instantiates a new OwareBoard object with the default position and turn for an oware game.
OwareBoard(long) - Constructor for class com.joansala.oware.OwareBoard
Instantiates a new OwareBoard object containing the specified position and turn identified by a hash code.
OwareBoard(byte[], int) - Constructor for class com.joansala.oware.OwareBoard
Instantiates a new OwareBoard object containing the specified position and turn.
OwareCache - Class in com.joansala.oware
Implements a transposition table for an oware game.
OwareCache(long) - Constructor for class com.joansala.oware.OwareCache
Creates a new empty transposition table with the specified capacity in bytes.
OwareGame - Class in com.joansala.oware
Reperesents an oware abapa game between two players.
OwareGame() - Constructor for class com.joansala.oware.OwareGame
Instantiates a new OwareGame object with the default start position and capacity.
OwareGame(int) - Constructor for class com.joansala.oware.OwareGame
Instantiates a new OwareGame object with the default start position and the specified capacity.
OwareLeaves - Class in com.joansala.oware
Implements an endgame database for oware.
OwareLeaves(File, int) - Constructor for class com.joansala.oware.OwareLeaves
Instantiates a new endgames book object.
OwareMatch - Class in com.joansala.oware
Command-line interface to play oware.
OwareRoots - Class in com.joansala.oware
Opening book implementation for oware.
OwareRoots(File) - Constructor for class com.joansala.oware.OwareRoots
Initializes a new Book object wich will read entries from a file stored on disk.
OwareService - Class in com.joansala.oware
Universal Chess Interface service for the game of Oware.
OwareShell - Class in com.joansala.oware
Provides an interactive shell interface to an oware engine.

P

pairing(int, int) - Method in class com.joansala.tools.RoundRobin
Returns the corresponding pairing for a round and table.
peek() - Method in class com.joansala.tools.DStack
Returns the unique identifier of the node currently on the top of the main stack.
peekBack() - Method in class com.joansala.tools.DStack
Returns the unique identifier of the node currently on the top of the backtracking stack.
pickBestMove(Game) - Method in interface com.joansala.engine.Roots
Chooses one move at random from the best moves found on the book.
pickBestMove(Game) - Method in class com.joansala.oware.OwareRoots
Chooses one move at random from the best moves found on the book for a given game state.
pop() - Method in class com.joansala.tools.DStack
Removes a node from the top of the main stack.
popBack() - Method in class com.joansala.tools.DStack
Removes a node from the top of the backtracking stack.
position() - Method in interface com.joansala.engine.Board
Returns a copy of the position on this the board.
position() - Method in interface com.joansala.engine.Game
Returns a representation of the current position.
position() - Method in class com.joansala.oware.OwareBoard
Returns a copy of the position array stored on the current object
position() - Method in class com.joansala.oware.OwareGame
Returns an array representation of the current position.
previousFlag() - Method in class com.joansala.tools.Solver
Returns the latest used cycle flag.
propagate(byte) - Method in class com.joansala.tools.Solver
Performs an iterative minimax propagation of the nodes until no more nodes can obtain it's value.
push(int) - Method in class com.joansala.tools.DStack
Adds a node to the top of the main stack.
pushBack(int) - Method in class com.joansala.tools.DStack
Adds a node to the top of the backtracking stack.

R

raise(int) - Method in class com.joansala.tools.DStack
Promotes an already stacked node to the top of the main stack.
rankPosition(byte[]) - Static method in class com.joansala.oware.OwareBoard
Given a valid position representation array returns an unique 43 bits identifier for the position.
readGraph(String) - Static method in class com.joansala.tools.Solver
Unserializes this object from a file.
receive() - Method in class com.joansala.engine.UCIClient
Receives and evaluates the next engine-to-client command.
refreshGraph() - Method in class com.joansala.tools.Trainer
Refreshes the graph scores and priorities starting from the leaves and propagating the values up to the root.
resize(long) - Method in interface com.joansala.engine.Cache
Resizes the cache and clears all the stored data.
resize(long) - Method in class com.joansala.oware.OwareCache
Resizes this transposition table clearing all the stored data.
Roots - Interface in com.joansala.engine
An opening book that returns precomputed moves from a database.
rootScore() - Method in class com.joansala.tools.Trainer
Returns the current root node's score.
RoundRobin - Class in com.joansala.tools
Provides methods for the obtainment of pairings on a Round-Robin tournament fashion.
RoundRobin(int) - Constructor for class com.joansala.tools.RoundRobin
Instantiates a new round robin tournament.

S

score() - Method in interface com.joansala.engine.Game
Returns an heuristic evaluation of the current position.
score() - Method in class com.joansala.oware.OwareGame
Returns the heuristic evaluation of the current position
send(String) - Method in class com.joansala.engine.UCIClient
Evaluates and sends a single client-to-engine command.
setBPriority(float) - Method in class com.joansala.tools.BNode
Sets the book player priority value of this node.
setCache(Cache) - Method in class com.joansala.engine.Negamax
Sets the transposition table to use.
setCache(Cache) - Method in class com.joansala.engine.UCIService
Sets the transposition table to use by the service.
setContempt(int) - Method in interface com.joansala.engine.Engine
Sets the contempt factor.
setContempt(int) - Method in class com.joansala.engine.Negamax
Sets the contempt factor.
setContempt(int) - Method in class com.joansala.engine.UCIService
Sets the contempt factor.
setDepth(int) - Method in interface com.joansala.engine.Engine
Sets the maximum search depth for subsequent computations
setDepth(int) - Method in class com.joansala.engine.Negamax
Sets the maximum depth for subsequent computations
setFlag(byte) - Method in class com.joansala.tools.BNode
Sets this node flag
setGraph(BGraph) - Method in class com.joansala.tools.BNode
Sets the graph object to which this node pertains.
setHash(long) - Method in class com.joansala.tools.BNode
Sets the unique identifier for this node.
setInfinity(int) - Method in interface com.joansala.engine.Engine
Sets the infinity score.
setInfinity(int) - Method in class com.joansala.engine.Negamax
Sets the infinity score.
setLeaves(Leaves) - Method in class com.joansala.engine.Negamax
Sets the endgames database to use.
setMoveTime(long) - Method in interface com.joansala.engine.Engine
Sets the maximum search time allowed for subsequent computations
setMoveTime(long) - Method in class com.joansala.engine.Negamax
Sets the maximum time allowed for subsequent computations
setOPriority(float) - Method in class com.joansala.tools.BNode
Sets the opponent priority value of this node.
setRoots(Roots) - Method in class com.joansala.engine.UCIService
Sets the openings book database to use.
setScore(int) - Method in class com.joansala.tools.BNode
Sets the score value of this node
setScoreMargin(int) - Method in class com.joansala.oware.OwareRoots
Sets the score margin for the book.
setStart(Object, int) - Method in interface com.joansala.engine.Game
Sets a new initial position and turn for the game.
setStart(Object, int) - Method in class com.joansala.oware.OwareGame
Sets a new position and turn as the initial board for the game.
setWeight(float) - Method in class com.joansala.tools.Trainer
Sets the weight of penalty for the priority function.
setWindow(int) - Method in class com.joansala.tools.Trainer
Sets the window value for the expanded nodes.
SIGNATURE - Static variable in class com.joansala.oware.OwareLeaves
Header signature for the book format
SIGNATURE - Static variable in class com.joansala.oware.OwareRoots
Header signature for the book format
size() - Method in interface com.joansala.engine.Cache
Returns the current capacity of this cache in bytes.
size() - Method in class com.joansala.oware.OwareCache
Returns the current capacity of this cache in bytes.
size() - Method in class com.joansala.tools.BGraph
Returns the number of nodes stored in this graph.
SIZE - Static variable in class com.joansala.tools.Solver
Number of possible endgame positions
SLOT_SIZE - Static variable in class com.joansala.oware.OwareCache
Size of a table slot in bytes
solveComponent(int, int) - Method in class com.joansala.tools.Solver
Individually solves each node pertaining to the flagged strongly connected component.
Solver - Class in com.joansala.tools
Experimental oware engames solver algorithm.
Solver() - Constructor for class com.joansala.tools.Solver
Instantiates a new endgame solver.
SOUTH - Static variable in interface com.joansala.engine.Game
South player identifier
southStore() - Method in class com.joansala.oware.OwareGame
Returns the number of seed captured by the south player till the current position.
start(int, int) - Method in class com.joansala.engine.UCIMatch
Runs a match against an engine process.
start() - Method in class com.joansala.engine.UCIService
Asks this service to start receiving commands.
start() - Method in class com.joansala.engine.UCIShell
Runs the UCI shell.
START_POSITION - Static variable in class com.joansala.oware.OwareGame
Default start position
store(Game, int, int, int, byte) - Method in interface com.joansala.engine.Cache
Stores information about a game state on the cache.
store(Game, int, int, int, byte) - Method in class com.joansala.oware.OwareCache
Stores information about the current position in the Game object on this transposition table.
sync() - Method in class com.joansala.tools.BGraph
Flushes all the modification performed to the graph to the physical storage.

T

toAlgebraic(int) - Method in interface com.joansala.engine.Board
Converts an integer representation of one move to its algebraic representation.
toAlgebraic(int[]) - Method in interface com.joansala.engine.Board
Converts an integer representation of one or more moves to their algebraic representation.
toAlgebraic(int[]) - Method in class com.joansala.oware.OwareBoard
Converts a byte representation of one or more moves to their algebraic representation.
toAlgebraic(int) - Method in class com.joansala.oware.OwareBoard
Converts a byte representation of a move to its algebraic representation.
toBoard(Game) - Method in interface com.joansala.engine.Board
Converts the current state of a game object to its board object representation.
toBoard(String) - Method in interface com.joansala.engine.Board
Converts a board notation to a board object.
toBoard(Game) - Method in class com.joansala.oware.OwareBoard
Converts the current state of an oware game object to a board representation.
toBoard(String) - Method in class com.joansala.oware.OwareBoard
Converts a board notation to a board object.
toMove(String) - Method in interface com.joansala.engine.Board
Converts an algebraic move notation to an integer representation.
toMove(String) - Method in class com.joansala.oware.OwareBoard
Converts a move form its algebraic notation to a numeric representation.
toMoves(String) - Method in interface com.joansala.engine.Board
Converts an algebraic moves notation to an integer move array representation.
toMoves(String) - Method in class com.joansala.oware.OwareBoard
Converts an alphabetic move notation to its byte array moves representation.
toNotation() - Method in interface com.joansala.engine.Board
Converts this board object to its equivalent board notation.
toNotation() - Method in class com.joansala.oware.OwareBoard
Converts this board object to its equivalent notation.
toString() - Method in interface com.joansala.engine.Board
Returns an human readable string representation of this object.
toString() - Method in class com.joansala.oware.OwareBoard
Returns an human readable string representation of this object.
Trainer - Class in com.joansala.tools
Experimental algorithm for the construction of opening books for oware.
Trainer(BGraph, Negamax) - Constructor for class com.joansala.tools.Trainer
Instantiates a new openings book trainer.
turn() - Method in interface com.joansala.engine.Board
Returns which player is to move for the board position
turn() - Method in interface com.joansala.engine.Game
Returns the playing turn for the current game position
turn() - Method in class com.joansala.oware.OwareBoard
Returns which player is to move for the board position
turn() - Method in class com.joansala.oware.OwareGame
Returns the playing turn for the current game position.

U

UCIClient - Class in com.joansala.engine
Provides a client communication interface to an UCI service.
UCIClient(Process, Board, Game) - Constructor for class com.joansala.engine.UCIClient
Instantiates a new client object.
UCIClient.State - Enum in com.joansala.engine
Possible engine states
UCIMatch - Class in com.joansala.engine
Command-line interface to run a match between an human player and an UCI engine.
UCIMatch(UCIClient, Board, Game) - Constructor for class com.joansala.engine.UCIMatch
Instantiates a new match object
UCIService - Class in com.joansala.engine
Implements a communication protocol service for game engines.
UCIService(Board, Game, Engine) - Constructor for class com.joansala.engine.UCIService
Instantiates a new UCI service for the given game.
UCIShell - Class in com.joansala.engine
Provides an interactive shell interface to an engine that supports the UCI protocol.
UCIShell(UCIClient) - Constructor for class com.joansala.engine.UCIShell
This class cannot be instantiated
unmakeMove() - Method in interface com.joansala.engine.Game
Undoes the last performed move on the internal board.
unmakeMove() - Method in class com.joansala.oware.OwareGame
Undoes the last performed move on the internal board.
unrankPosition(long) - Static method in class com.joansala.oware.OwareBoard
Returns a position array parsed from the unique binomial rank number of the position.
update(BNode) - Method in class com.joansala.tools.BGraph
Updates a node with a new value.
UPPER - Static variable in interface com.joansala.engine.Cache
Flag of an upper bound score

V

valueOf(String) - Static method in enum com.joansala.engine.UCIClient.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.joansala.engine.UCIClient.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

wasCapture() - Method in class com.joansala.oware.OwareGame
Returns whether the last performed move was a capture or not.
winner() - Method in interface com.joansala.engine.Game
Returns an identifier for the player that won the game on the current position.
winner() - Method in class com.joansala.oware.OwareGame
Returns the winner of the game for the current position.
writeGraph(String) - Method in class com.joansala.tools.Solver
Serializes this object to a file.
A B C D E F G H I K L M N O P R S T U V W