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

A

add(int, Move) - Method in class KillerTable
Inserts a move into the killer table ensuring distinctness within plies.
antiDiagonalNeg - Variable in enum Bitboard.Rays
 
antiDiagonalPos - Variable in enum Bitboard.Rays
 
areTableBasesAvailable(int) - Method in class EndGameTableBase
It returns whether there are at least some tablebase files loaded for positions with the given number of pieces on the board.
areTableBasesAvailable(int) - Method in class GaviotaTableBaseJNI
 
assume(ETEntry) - Method in class ETEntry
 
assume(T) - Method in interface Cache.Entry
It has the object assume the state of the parameter instance.
availability() - Method in class GaviotaTableBaseJNI
Returns an integer denoting for which numbers of pieces the library is initialized for.

B

BEST_MOVE_OP_CODE - Static variable in class SearchTestSuite
 
BISHOP - Static variable in class GaviotaTableBaseJNI
 
bishopOccupancyMask - Variable in enum MoveSetBase
 
Bitboard - Class in net.viktorc.detroid.framework.engine
A class that provides utility functions for bitboard based move set generation and groups together board entity enums such as squares, files, ranks, and diagonals.
bitboard - Variable in enum Bitboard.AntiDiagonal
 
bitboard - Variable in enum Bitboard.Diagonal
 
bitboard - Variable in enum Bitboard.File
 
bitboard - Variable in enum Bitboard.Rank
 
bitboard - Variable in enum Bitboard.Square
 
Bitboard.AntiDiagonal - Enum in net.viktorc.detroid.framework.engine
An enum type for the 15 anti-diagonals of a chess board.
Bitboard.Diagonal - Enum in net.viktorc.detroid.framework.engine
An enum type for the 15 diagonals of a chess board.
Bitboard.File - Enum in net.viktorc.detroid.framework.engine
An enum type for the 8 files/columns of a chess board.
Bitboard.Rank - Enum in net.viktorc.detroid.framework.engine
An enum type for the 8 ranks/rows of a chess board.
Bitboard.Rays - Enum in net.viktorc.detroid.framework.engine
An enum type for all the eight different rays on the chess board for each square.
Bitboard.Square - Enum in net.viktorc.detroid.framework.engine
An enum type for the 64 squares of the chess board.
bitboardToString(long) - Static method in class Bitboard
Returns a long in binary form aligned like a chess board with one byte per row, in a human-readable way.
BitOperations - Class in net.viktorc.detroid.framework.util
A utility class for bitwise operations.
BLACK_TO_MOVE - Static variable in class GaviotaTableBaseJNI
 
blackForfeit() - Method in class Detroid
 
blackForfeit() - Method in interface ControllerEngine
Sets the game state to unspecified white victory.
blackPawnAdvanceMoveMask - Variable in enum MoveSetBase
 
blackPawnCaptureMoveMask - Variable in enum MoveSetBase
 
BLONG - Static variable in class GaviotaTableBaseJNI
 
BMATE - Static variable in class GaviotaTableBaseJNI
 
bookStream - Variable in class OpeningBook
 
BSHORT - Static variable in class GaviotaTableBaseJNI
 
ButtonOption(String) - Constructor for class Option.ButtonOption
Constructs a button option.
BYTES_READ - Static variable in class GaviotaTableBaseJNI
 

C

Cache<T extends Cache.Entry<T>> - Class in net.viktorc.detroid.framework.util
A generic, pre-allocated hash table to satisfy massive hash storage requirements where losslessness and dynamic heap allocation are inefficient.
Cache(Cache.EntryFactory<T>, int, int) - Constructor for class Cache
Constructs a lossy hash table with at least the specified capacity.
Cache(Cache.EntryFactory<T>, int) - Constructor for class Cache
Constructs a lossy hash table with at least the specified capacity.
Cache.Entry<T extends Cache.Entry<T>> - Interface in net.viktorc.detroid.framework.util
An interface for hash table entries that extends the Comparable interface and defines methods required for the management of entries in the hash table.
Cache.EntryFactory<T extends Cache.Entry<T>> - Interface in net.viktorc.detroid.framework.util
A factory interface for creating table entries.
calculateDifference(int, int, int) - Static method in class Elo
Calculates the Elo rating difference between a player and its opponent based on the match record against this opponent.
calculateDifference(double) - Static method in class Elo
Calculates the Elo rating difference between a player and its opponent based on the win ratio against this opponent.
cancel(boolean) - Method in class Search
 
capacity() - Method in class Cache
Returns the total number of slots in the hash table.
capturedPiece - Variable in class Move
 
CastlingRights - Enum in net.viktorc.detroid.framework.engine
A simple enum type for the representation of a side's castling rights in a position.
CheckOption(String, Boolean) - Constructor for class Option.CheckOption
Constructs a check option instance.
ChessParseException - Exception in net.viktorc.detroid.framework.engine
An exception for when a piece of chess notation text such as FEN, PGN, or SAN can not be parsed due to violations of the notation standards.
ChessParseException(String) - Constructor for exception ChessParseException
 
ChessParseException(Exception) - Constructor for exception ChessParseException
 
clear() - Method in class Cache
Clears the hash table by emptying all entries.
clearCache() - Method in class EndGameTableBase
Flushes the probing cache.
clearCache() - Method in class GaviotaTableBaseJNI
 
close() - Method in class GaviotaTableBaseJNI
 
close() - Method in class OpeningBook
 
close() - Method in class MainController
 
close() - Method in class SelfPlayOptimizer
 
close() - Method in class TexelOptimizer
 
close() - Method in class UCI
 
close() - Method in interface UCIEngine
 
closeCache() - Method in class GaviotaTableBaseJNI
Closes the cache.
ComboOption(String, String, Set<String>) - Constructor for class Option.ComboOption
Constructs a combo option instance.
compareTo(ETEntry) - Method in class ETEntry
 
compareTo(Move) - Method in class Move
 
computeBishopMoveSets(long, long, long) - Static method in class Bitboard
Generates a move set bitboard for a set of bishops.
computeBishopMoveSetVariations(long, long[]) - Static method in class Bitboard
Generates an array of bishop move set variations given an array of occupancy variations.
computeBishopOccupancyMasks(long) - Static method in class Bitboard
Generates an occupancy mask bitboard for a set of bishops.
computeBlackPawnAdvanceSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic black pawn's advance set.
computeBlackPawnCaptureSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic black pawn's capture set.
computeCost(double[], List<Map.Entry<String, Float>>) - Method in class TexelOptimizer
 
computeCost(double[], List<Map.Entry<E, L>>) - Method in class NadamSGD
Calculates the costs associated with the given parameter set for the specified data sample.
computeFitness(String) - Method in class SelfPlayOptimizer
 
computeFitness(String) - Method in class PBIL
Measures the fitness of the genotype.
computeGradient(double[], List<Map.Entry<String, Float>>) - Method in class TexelOptimizer
 
computeGradient(double[], List<Map.Entry<E, L>>) - Method in class NadamSGD
Calculates the derivative of the cost function with respect to the parameters.
computeKingMoveSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic king's move set.
computeKnightMoveSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic knight's move set.
computeQueenMoveSets(long, long, long) - Static method in class Bitboard
Generates a move set bitboard for a set of queens.
computeRookMoveSets(long, long, long) - Static method in class Bitboard
Generates a move set bitboard for a set of rooks.
computeRookMoveSetVariations(long, long[]) - Static method in class Bitboard
Generates an array of rook move set variations given an array of occupancy variations.
computeRookOccupancyMasks(long) - Static method in class Bitboard
Generates an occupancy mask bitboard for a set of rooks.
computeWhitePawnAdvanceSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic white pawn's advance set.
computeWhitePawnCaptureSets(long, long) - Static method in class Bitboard
Generates a bitboard of the basic white pawn's capture set.
ConsoleAlert - Class in net.viktorc.detroid.framework.gui.dialogs
An alert for displaying a console to which the search engine's debug output is printed
ConsoleAlert(Stage, DebugInformation) - Constructor for class ConsoleAlert
Constructs an instance based on the specified parameters.
ControllerEngine - Interface in net.viktorc.detroid.framework.validation
An interface for an engine that provides the basic functionalities required for a user interface base engine.
convertPACNToSAN(String) - Method in class Detroid
 
convertPACNToSAN(String) - Method in interface ControllerEngine
Converts a move legal in the current position from Pure Algebraic Coordinate Notation to Standard Algebraic Notation.
convertSANToPACN(String) - Method in class Detroid
 
convertSANToPACN(String) - Method in interface ControllerEngine
Converts a move legal in the current position from Standard Algebraic Notation to Pure Algebraic Coordinate Notation.
costCalculationBatchSize - Variable in class NadamSGD
 

D

DataSetUtils - Class in net.viktorc.detroid.framework.tuning
A utility class for generating and filtering EPD files used for static evaluation tuning.
DebugInformation - Class in net.viktorc.detroid.framework.uci
A simple observable abstract class for keeping the observers up to date with debug information strings.
DebugInformation() - Constructor for class DebugInformation
 
decode(long) - Static method in class GrayCode
Converts a gray coded number to its natural value.
Detroid - Class in net.viktorc.detroid.framework.engine
A UCI compatible, tunable chess engine that utilizes magic bitboards and most search heuristics and supports Polyglot opening books and Gaviota endgame tablebases.
Detroid() - Constructor for class Detroid
Instantiates the chess engine object.
diagonalNeg - Variable in enum Bitboard.Rays
 
diagonalPos - Variable in enum Bitboard.Rays
 
divide(int) - Method in interface ControllerEngine
Returns a set of entries with all legal moves in the current position as the key set and the perft results at depth - 1 for the positions the respective moves lead to as the value set.
DRAW - Static variable in class GaviotaTableBaseJNI
 
drawByAgreement() - Method in class Detroid
 
drawByAgreement() - Method in interface ControllerEngine
Sets the game state to draw by agreement from both parties.
DRIVE_HITS - Static variable in class GaviotaTableBaseJNI
 
DRIVE_MISSES - Static variable in class GaviotaTableBaseJNI
 
DTM(EndGameTableBase.WDL, int) - Constructor for class EndGameTableBase.DTM
Constructs an instance with the specified parameters.
DTM_CACHE_SIZE - Static variable in class GaviotaTableBaseJNI
 
DTM_EASY_HITS - Static variable in class GaviotaTableBaseJNI
 
DTM_HARD_PROB - Static variable in class GaviotaTableBaseJNI
 
DTM_OCCUPANCY - Static variable in class GaviotaTableBaseJNI
 
DTM_SOFT_PROB - Static variable in class GaviotaTableBaseJNI
 

E

EGTBStats(long, long, long, long) - Constructor for class EndGameTableBase.EGTBStats
 
Elo - Class in net.viktorc.detroid.framework.validation
A utility class for calculating Elo score differences based on match statistics such as the win ratio or the numbers of wins, losses, and draws.
empty() - Method in class ETEntry
 
empty() - Method in interface Cache.Entry
It renders the entry empty.
EMPTY_BOARD - Static variable in class Bitboard
A bitboard with none of the bits set.
encode(long) - Static method in class GrayCode
Converts a number to its gray coded value.
EndGameTableBase - Class in net.viktorc.detroid.framework.engine
An abstract class for chess endgame tablebases.
EndGameTableBase() - Constructor for class EndGameTableBase
 
EndGameTableBase.DTM - Class in net.viktorc.detroid.framework.engine
A class containing the outcome of a position in an endgame tablebase and potentially the distance to mate from the position.
EndGameTableBase.EGTBStats - Class in net.viktorc.detroid.framework.engine
A simple container class for basic endgame tablebase probing stats.
EndGameTableBase.WDL - Enum in net.viktorc.detroid.framework.engine
A simple enum for possible outcomes for positions in endgame tablebases.
EngineFactory - Interface in net.viktorc.detroid.framework
An interface for factory classes providing new engine instances.
EngineFramework - Class in net.viktorc.detroid.framework
The application that serves as a chess engine framework handling communication via the UCI protocol, providing a GUI, and offering flexible engine parameter tuning methods using machine learning.
EngineFramework(EngineFactory, String[]) - Constructor for class EngineFramework
Constructs an instance of the application framework that is available for running with the specified arguments using the engine instances built by the provided engine factory.
EngineParameters - Class in net.viktorc.detroid.framework.tuning
An abstract base class for engine parameter definitions that influence the performance of the chess engine and thus should be highly optimized.
EngineParameters() - Constructor for class EngineParameters
Constructs an instance and scans the fields of the (extending) class for ones annotated as Parameter.
EnPassantRights - Enum in net.viktorc.detroid.framework.engine
A simple enum type for the representation of a side's en passant rights in a position.
EPDRecord - Class in net.viktorc.detroid.framework.validation
A simplified implementation of the Extended Position Description standard.
EPDRecord(String, Map<String, String>) - Constructor for class EPDRecord
 
epochs - Variable in class NadamSGD
 
EPSILON - Static variable in class NadamSGD
The default constant used to avoid division by zero.
epsilon - Variable in class NadamSGD
 
EPSILON - Static variable in class PBIL
The default constant used to ensure numerical stability.
epsilon - Variable in class PBIL
 
equals(Move) - Method in class Move
Returns whether this move is equal to the input parameter move.
equals(int) - Method in class Move
Returns whether this move is equal to the move that is encoded into the integer parameter.
equals(Object) - Method in class Move
 
ErrorAlert - Class in net.viktorc.detroid.framework.gui.dialogs
An alert for notifying the user's in case an error occurs.
ErrorAlert(Stage, String, String) - Constructor for class ErrorAlert
Constructs an instance based on the specified parameters.
ETEntry - Class in net.viktorc.detroid.framework.engine
An evaluation hash table entry that stores information about the static evaluation scores of leaf nodes.
ETEntry() - Constructor for class ETEntry
 
eval(Map<String, Double>) - Method in class Detroid
 
eval(Map<String, Double>) - Method in interface TunableEngine
Statically evaluates the current position and records the gradient of the evaluation function w.r.t.
Evaluator - Class in net.viktorc.detroid.framework.engine
A class for evaluating chess positions.
Evaluator(DetroidParameters, Cache<ETEntry>) - Constructor for class Evaluator
Initializes a chess position evaluator.

F

fileNeg - Variable in enum Bitboard.Rays
 
filePos - Variable in enum Bitboard.Rays
 
FILES_OPENED - Static variable in class GaviotaTableBaseJNI
 
fillEast(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction east of multiple sliding pieces at the same time.
fillNorth(long) - Static method in class Bitboard
It propagates north all set bits of the bitboard all the way.
fillNorth(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction north of multiple sliding pieces at the same time.
fillNorthEast(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction north-east of multiple sliding pieces at the same time.
fillNorthWest(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction north-west of multiple sliding pieces at the same time.
fillSouth(long) - Static method in class Bitboard
It propagates south all set bits of the bitboard all the way.
fillSouth(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction south of multiple sliding pieces at the same time.
fillSouthEast(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction south-east of multiple sliding pieces at the same time.
fillSouthWest(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction south-west of multiple sliding pieces at the same time.
fillWest(long, long) - Static method in class Bitboard
A parallel prefix occluded fill algorithm that returns the move (non-attack) sets in direction west of multiple sliding pieces at the same time.
filterDraws(String, String, String) - Static method in class DataSetUtils
Copies all the lines from the source EPD file to the destination file except for the ones representing positions from drawn games.
filterTacticalPositions(String, String, ControllerEngine) - Static method in class DataSetUtils
Copies all the lines from the source EPD file to the destination file except the positions that allow for legal tactical moves.
filterUnbalancedPositions(String, String, short, TunableEngine) - Static method in class DataSetUtils
Copies all the lines from the source EPD file to the destination file except for the ones representing either too unbalanced or too balanced positions based on the engine to tune's evaluation function.
FIRST_MOMENT_DECAY_RATE - Static variable in class NadamSGD
The default decay constant of the accumulated Nesterov momentum.
firstMomentDecayRate - Variable in class NadamSGD
 
FORBID - Static variable in class GaviotaTableBaseJNI
 
from - Variable in class Move
 
FULL_BOARD - Static variable in class Bitboard
A bitboard with all the 64 bits set.

G

Game - Class in net.viktorc.detroid.framework.engine
A class representing a chess game.
Game(Position, String, String, String, String, int) - Constructor for class Game
 
GameOverAlert - Class in net.viktorc.detroid.framework.gui.dialogs
An alert to display the end result of a chess game to the user.
GameOverAlert(Stage, GameState, boolean) - Constructor for class GameOverAlert
Constructs an instance based on the specified parameters.
GameState - Enum in net.viktorc.detroid.framework.validation
All the different states a chess game can have.
GaviotaTableBaseJNI - Class in net.viktorc.detroid.framework.engine
A Gaviota tablebase probing implementation using JNI.
GaviotaTableBaseJNI.CompressionScheme - Enum in net.viktorc.detroid.framework.engine
Gaviota endgame tablebase file compression schemes.
generateAllMagics(boolean, int...) - Static method in class Bitboard
Generates magic numbers for each square either for a rook or a bishop.
generateEPDFile(ControllerEngine, String, String, String, long, Integer, Integer) - Static method in class DataSetUtils
Generates an EPD file of positions labelled by the results of the games the positions occurred.
generateHashKey(Position) - Method in class ZobristKeyGenerator
Generates a main Zobrist hash key for the position based on the side to move, the board state, and the castling and en passant rights.
generateMagics(int, boolean, boolean) - Static method in class Bitboard
Generates a magic number for the square specified either for a rook or for a bishop depending on the parameters.
generatePawnKingHashKey(Position) - Method in class ZobristKeyGenerator
Generates a Zobrist hash key for the pawn-king structure on the board.
generatePGNFile(List<SelfPlayEngines<UCIEngine>>, int, long, long, String) - Static method in class DataSetUtils
Generates a PGN file of self-play games.
generatePolyglotHashKey(Position) - Method in class ZobristKeyGenerator
Generates a 64 bitboard hash key used for positions in PolyGlot opening books.
generations - Variable in class PBIL
 
genotypeLength - Variable in class PBIL
 
get() - Method in class Search
 
get(long, TimeUnit) - Method in class Search
 
get(long) - Method in class Cache
Return the entry identified by the input parameter key or null if it is not in the table.
getAllBlackOccupied() - Method in class Position
 
getAllEmpty() - Method in class Position
 
getAllNonBlackOccupied() - Method in class Position
 
getAllNonWhiteOccupied() - Method in class Position
 
getAllOccupied() - Method in class Position
 
getAllowedValues() - Method in class Option
Returns an optional set of values a Option.ComboOption can possibly take on.
getAllSubsets(long) - Static method in class BitOperations
Returns an array of all the bitwise subsets of the parameter number.
getAllWhiteOccupied() - Method in class Position
 
getAuthor() - Method in class Detroid
 
getAuthor() - Method in interface UCIEngine
Returns the name of the author of the engine.
getBestMove() - Method in class SearchResults
Returns a Pure Algebraic Coordinate Notation representation of the best move.
getBishopMagics(int) - Method in class MagicsConfig
 
getBishopMoveMask() - Method in enum MoveSetBase
 
getBishopMoveSet(long, long) - Method in enum MoveSetBase
 
getBlackBishops() - Method in class Position
 
getBlackCastlingRights() - Method in class Position
 
getBlackCastlingRights() - Method in class PositionStateRecord
 
getBlackInc() - Method in class TimeControl
Returns black's time increment per move in milliseconds.
getBlackKing() - Method in class Position
 
getBlackKnights() - Method in class Position
 
getBlackPawnAdvanceSet(long) - Method in enum MoveSetBase
 
getBlackPawnCaptureSet(long) - Method in enum MoveSetBase
 
getBlackPawnMoveSet(long, long) - Method in enum MoveSetBase
 
getBlackPawns() - Method in class Position
 
getBlackPlayerName() - Method in class Game
 
getBlackQueens() - Method in class Position
 
getBlackRooks() - Method in class Position
 
getBlackTime() - Method in class TimeControl
Returns black's initial time in milliseconds.
getByFENNote(char) - Static method in enum Piece
Returns the piece whose FEN sign matches the parameter.
getByIndex(int) - Static method in enum MoveSetBase
 
getBySquareIndex(int) - Static method in enum Bitboard.AntiDiagonal
Returns the anti-diagonal of the chess board on which the input parameter square lies.
getBySquareIndex(int) - Static method in enum Bitboard.Diagonal
Returns the diagonal of the chess board on which the input parameter square lies.
getBySquareIndex(int) - Static method in enum Bitboard.File
Returns the file of the chess board on which the input parameter square lies.
getBySquareIndex(int) - Static method in enum Bitboard.Rank
Returns the rank of the chess board on which the input parameter square lies.
getByUnicode(char) - Static method in enum Piece
Returns the piece whose Unicode code matches the parameter.
getCheckers() - Method in class Position
 
getCheckers() - Method in class PositionStateRecord
 
getCode() - Method in enum Piece
Returns the Unicode code of the given piece.
getContent() - Method in class DebugInformation
It returns the content of the instance, i.e.
getController() - Method in class SelfPlayEngines
Returns the controller engine.
getCurrentGeneration() - Method in class PBIL
Returns the index of the current generation in the evolution.
getCurrentHighestFitness() - Method in class PBIL
Returns the highest fitness score of the current generation so far.
getCurrentLine() - Method in class SearchInformation
Returns the number of the line the engine is currently calculating.
getCurrentMove() - Method in class SearchInformation
Returns the currently searched root move in Pure Algebraic Coordinate Notation.
getCurrentMoveNumber() - Method in class SearchInformation
Returns the number of the currently searched move in the move list of the root position.
getDate() - Method in class Game
 
getDebugInfo() - Method in class Detroid
 
getDebugInfo() - Method in interface UCIEngine
Returns an observable object containing information that is not related to the game but can help detecting bugs in debug mode.
getDefaultValue() - Method in class Option
Returns the optional default value of the setting.
getDepth() - Method in class SearchData
See the corresponding SearchInformation method.
getDepth() - Method in class SearchInformation
Returns the nominal depth of the search.
getDistance() - Method in class EndGameTableBase.DTM
Returns the distance to mate from the position.
getDoubleOperand(String) - Method in class EPDRecord
 
getEndgameTablebaseHits() - Method in class SearchInformation
Returns the number of endgame tablebase hits while searching.
getEngine() - Method in class SelfPlayEngines
Returns the first engine.
getEnPassantRights() - Method in class Position
 
getEnPassantRights() - Method in class PositionStateRecord
 
getEntropy() - Method in class PBIL
Returns the Shannon entropy of the current generation of genotypes.
getEvent() - Method in class Game
 
getFENNote() - Method in enum Piece
Returns the FEN sign of the given piece.
getFiftyMoveRuleClock() - Method in class Position
 
getFiftyMoveRuleClock() - Method in class PositionStateRecord
 
getGameState() - Method in class Detroid
 
getGameState() - Method in interface ControllerEngine
Returns the current game state as labelled by GameState.
getGeneration() - Method in class ETEntry
 
getHalfMoveIndex() - Method in class Position
 
getHash() - Method in class SearchData
Returns the load factor of the hash tables the engine uses.
getHashLoadPermill() - Method in class Detroid
 
getHashLoadPermill() - Method in interface UCIEngine
Returns the load factor of the hash tables in permills.
getInstance() - Static method in class GaviotaTableBaseJNI
Returns the only instance of the class.
getInstance() - Static method in class MagicsConfig
 
getInstance() - Static method in class ZobristKeyGenerator
 
getInstance() - Static method in class SizeEstimator
Returns the single existing SizeEstimator instance.
getIntegerOperand(String) - Method in class EPDRecord
 
getKey() - Method in class ETEntry
 
getKey() - Method in class Position
 
getKingMoveSet(long) - Method in enum MoveSetBase
 
getKnightMoveSet(long) - Method in enum MoveSetBase
 
getLastMove() - Method in class Position
 
getLastState() - Method in class Position
 
getLegalMoves() - Method in class Detroid
 
getLegalMoves() - Method in interface ControllerEngine
Returns a list of all legal moves in the current position in Pure Algebraic Coordinate Notation.
getLineSegment(int, int) - Static method in class Bitboard
 
getListOperand(String) - Method in class EPDRecord
 
getLongOperand(String) - Method in class EPDRecord
 
getLSBit(long) - Static method in class BitOperations
Returns the least significant (rightmost) bit in a long.
getMax() - Method in class Option
Returns the optional maximum value for the setting.
getMin() - Method in class Option
Returns the optional minimum value for the setting.
getMove(Position, OpeningBook.SelectionModel) - Method in class OpeningBook
Picks and returns an opening move for the Position0 from all the relevant entries found in the PolyGlot book based on the specified mathematical model for selection.
getMove(Position, OpeningBook.SelectionModel) - Method in class PolyglotBook
 
getMove1() - Method in class KillerTable.KTEntry
Returns a 4 byte integer representation of the first killer move.
getMove2() - Method in class KillerTable.KTEntry
Returns a 4 byte integer representation of the second killer move.
getMoveHistory() - Method in class Detroid
 
getMoveHistory() - Method in class Position
 
getMoveHistory() - Method in interface ControllerEngine
Returns a list of all past moves made on the board in Pure Algebraic Coordinate Notation in chronological order.
getMoveNo() - Method in class SearchData
See the corresponding SearchInformation method.
getMoves() - Method in class Position
Returns a list of all the legal moves in the current position.
getMSBit(long) - Static method in class BitOperations
Returns the most significant (leftmost) bit in a long.
getName() - Method in class Detroid
 
getName() - Method in class Option
Returns the name ID of the setting.
getName() - Method in interface UCIEngine
Returns the name of the engine.
getName() - Method in class SearchTestSuite
Returns the name of the test suite.
getNodes() - Method in class SearchData
See the corresponding SearchInformation method.
getNodes() - Method in class SearchInformation
Returns the number of nodes searched to reach this result.
getNonStaticFields(Class<?>) - Method in class SizeEstimator
Returns an array list of all the non-static fields of a class including the non-static fields of all of its ancestors.
getNps() - Method in class SearchData
Returns the average number of nodes the engine searched in a second; a unit of search speed.
getNumOfBytes() - Method in enum SizeOf
 
getOperand(String) - Method in class EPDRecord
 
getOpponentEngine() - Method in class SelfPlayEngines
Returns the opponent engine
getOptions() - Method in class Detroid
 
getOptions() - Method in interface UCIEngine
Returns the options the engine offers and their values.
getParameters() - Method in class Detroid
 
getParameters() - Method in interface TunableEngine
Returns the parameters which are used by the engine to control search, evaluation, and other aspects of game play.
getPGNCode() - Method in enum GameState
 
getPhaseScore() - Method in class Position
 
getPiece(int) - Method in class Position
 
getPinnedPieces(byte, long, long, long, long) - Static method in class Bitboard
Returns a bitboard of all pinned pieces.
getPinningPieces(byte, long, long, long, long) - Static method in class Bitboard
Returns a bitboard of all pinning pieces.
getPosition() - Method in class Game
 
getPosition() - Method in class EPDRecord
 
getPrimaryFilePath() - Method in class OpeningBook
Returns the path to the main book file this object has been instantiated on.
getPrincipalVar() - Method in class SearchData
See the corresponding SearchInformation method.
getProbabilityVector() - Method in class PBIL
Returns the probability vector representing the current set.
getPv() - Method in class SearchInformation
Returns an array of the principal variation with the moves in Pure Algebraic Coordinate Notation.
getPvNumber() - Method in class SearchInformation
Returns the index of the PV line.
getQueenMoveMask() - Method in enum MoveSetBase
 
getQueenMoveSet(long, long) - Method in enum MoveSetBase
 
getQuietMoves() - Method in class Position
Returns a list of all the legal quiet moves in the current position.
getRecords() - Method in class PerftSuite
 
getRecords() - Method in class SearchTestSuite
Returns the EPDRecord records held in the test suite.
getRecords() - Method in class TTDSuite
Returns a list of the TTD records.
getRookMagics(int) - Method in class MagicsConfig
 
getRookMoveMask() - Method in enum MoveSetBase
 
getRookMoveSet(long, long) - Method in enum MoveSetBase
 
getRound() - Method in class Game
 
getScore() - Method in class ETEntry
 
getScore() - Method in class SearchData
See the corresponding SearchInformation method.
getScore() - Method in class SearchInformation
Returns the result score of the search for the side to move.
getScore() - Method in class SearchResults
Returns an optional 16-bit integer that may hold the score of the search results in centipawns, or if it is a mate score, the mate distance.
getScoreType() - Method in class SearchInformation
Returns whether it is an exact score, a lower bound, an upper bound, or a mate score, in which case the score denotes the mate distance in half moves.
getScoreType() - Method in class SearchResults
Returns the type of the score if there is a score present.
getSearchInfo() - Method in class Detroid
 
getSearchInfo() - Method in interface UCIEngine
Returns an observable object containing information about the results and statistics of the ongoing/last search.
getSecondaryFilePath() - Method in class OpeningBook
Returns the path to the secondary book file.
getSelectiveDepth() - Method in class SearchInformation
Returns the greatest depth of the search.
getSite() - Method in class Game
 
getStartPos() - Method in class Game
 
getStartPosition() - Method in class Detroid
 
getStartPosition() - Method in interface ControllerEngine
Returns the starting position of the current game in Forsyth-Edwards Notation.
getState() - Method in class Game
 
getStateHistory() - Method in class Position
 
getStats() - Method in class EndGameTableBase
Returns some basic usage stats about the endgame tablebase.
getStats(long[], double[]) - Method in class GaviotaTableBaseJNI
Sets the values of the two array parameters according to the statistics of the probing library.
getStats() - Method in class GaviotaTableBaseJNI
 
getString() - Method in class SearchInformation
Returns any additional information the engine wants to send.
getSuggestedPonderMove() - Method in class SearchResults
Returns an optional Pure Algebraic Coordinate Notation representation of the suggested ponder move.
getTacticalMoves() - Method in class Position
Returns a list of all the legal tactical moves in the current position.
getTestData(long) - Method in class TexelOptimizer
 
getTestData(long) - Method in class NadamSGD
Extracts a sample from the test data set and loads it into a list of key-value pairs where the key is the data and the value is the ground truth.
getTime() - Method in class SearchData
See the corresponding SearchInformation method.
getTime() - Method in class SearchInformation
Returns the time spent on the search to reach this result in milliseconds.
getTotalCacheHits() - Method in class EndGameTableBase.EGTBStats
Return the total number of cache hits.
getTotalDriveHits() - Method in class EndGameTableBase.EGTBStats
Returns the total number of drive hits.
getTotalHardProbes() - Method in class EndGameTableBase.EGTBStats
Returns the total number of hard probes.
getTotalSoftProbes() - Method in class EndGameTableBase.EGTBStats
Returns the total number of soft probes.
getTrainingData(long) - Method in class TexelOptimizer
 
getTrainingData(long) - Method in class NadamSGD
Extracts a sample from the training data set and loads it into a list of key-value pairs where the key is the data and the value is the ground truth.
getUpdatedBoardHashKeyAfterBlackBishopPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a bishop promotion by black.
getUpdatedBoardHashKeyAfterBlackEnPassantMove(long, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after an en passant by black.
getUpdatedBoardHashKeyAfterBlackKnightPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a knight promotion by black.
getUpdatedBoardHashKeyAfterBlackLongCastlinglMove(long) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a long castling by black.
getUpdatedBoardHashKeyAfterBlackQueenPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a queen promotion by black.
getUpdatedBoardHashKeyAfterBlackRookPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a rook promotion by black.
getUpdatedBoardHashKeyAfterBlackShortCastlinglMove(long) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a short castling by black.
getUpdatedBoardHashKeyAfterNormalMove(long, byte, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a normal move.
getUpdatedBoardHashKeyAfterWhiteBishopPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a bishop promotion by white.
getUpdatedBoardHashKeyAfterWhiteEnPassantMove(long, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after an en passant by white.
getUpdatedBoardHashKeyAfterWhiteKnightPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a knight promotion by white.
getUpdatedBoardHashKeyAfterWhiteLongCastlinglMove(long) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a long castling by white.
getUpdatedBoardHashKeyAfterWhiteQueenPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a queen promotion by white.
getUpdatedBoardHashKeyAfterWhiteRookPromotionMove(long, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a rook promotion by white.
getUpdatedBoardHashKeyAfterWhiteShortCastlinglMove(long) - Method in class ZobristKeyGenerator
It updates a position's hash key with board state information after a short castling by white.
getUpdatedOffBoardHashKey(long, PositionStateRecord, byte, byte, byte) - Method in class ZobristKeyGenerator
It updates a position's hash key with off-board state information such as the side to move, castling rights, and en passant rights.
getValue() - Method in class Move
 
getWdl() - Method in class EndGameTableBase.DTM
Returns the outcome of the position.
getWhiteBishops() - Method in class Position
 
getWhiteCastlingRights() - Method in class Position
 
getWhiteCastlingRights() - Method in class PositionStateRecord
 
getWhiteInc() - Method in class TimeControl
Returns white's time increment per move in milliseconds.
getWhiteKing() - Method in class Position
 
getWhiteKnights() - Method in class Position
 
getWhitePawnAdvanceSet(long) - Method in enum MoveSetBase
 
getWhitePawnCaptureSet(long) - Method in enum MoveSetBase
 
getWhitePawnMoveSet(long, long) - Method in enum MoveSetBase
 
getWhitePawns() - Method in class Position
 
getWhitePlayerName() - Method in class Game
 
getWhiteQueens() - Method in class Position
 
getWhiteRooks() - Method in class Position
 
getWhiteTime() - Method in class TimeControl
Returns white's initial time in milliseconds.
givesCheck(Move) - Method in class Position
Checks whether the specified move puts the opponent in check.
GrayCode - Class in net.viktorc.detroid.framework.util
A utility class for gray coding integers and for converting gray coded numbers into their natural values.
greatestLEPrime(long, int) - Static method in class MillerRabin
Finds and returns the greatest prime number that is lesser than or equal to n.
greatestLEPrime(long) - Static method in class MillerRabin
Finds and returns the greatest prime number that is lesser than or equal to n.
GUI - Class in net.viktorc.detroid.framework.gui
A simple GUI application controlled by a controller chess engine for playing chess games against another UCI compliant chess engine instance.
GUI() - Constructor for class GUI
Constructs a default instance.

H

H - Static variable in class NadamSGD
The default constant employed in the numerical differentiation formulas used to derive the derivatives of the cost function.
h - Variable in class NadamSGD
 
hammingWeight(long) - Static method in class BitOperations
Returns the number of set bits in a long.
HASH_OPTION_NAME - Static variable in interface UCIEngine
A standard spin type UCI option that determines the size of the hash tables used by the chess engine.
hashCode() - Method in class Move
 
hashKey() - Method in class ETEntry
 
hashKey() - Method in interface Cache.Entry
Returns a long integer hash code.
hasRepeated(int) - Method in class Position
 

I

ind - Variable in enum Bitboard.AntiDiagonal
 
ind - Variable in enum Bitboard.Diagonal
 
ind - Variable in enum Bitboard.File
 
ind - Variable in enum Bitboard.Rank
 
ind - Variable in enum Bitboard.Rays
 
ind - Variable in enum Bitboard.Square
 
ind - Variable in enum CastlingRights
 
ind - Variable in enum EnPassantRights
 
ind - Variable in enum MoveType
 
ind - Variable in enum NodeType
 
ind - Variable in enum Piece
 
ind - Variable in enum ScoreType
 
indexMemory() - Method in class GaviotaTableBaseJNI
Returns the amount of memory allocated for indices in bytes.
indexOfBit(long) - Static method in class BitOperations
Returns the index of the single bit set in the input variable.
indexOfLSBit(long) - Static method in class BitOperations
Returns the index of the least significant (rightmost) bit in a long.
indexOfMSBit(long) - Static method in class BitOperations
Returns the index of the most significant (leftmost) bit in a long.
indicesToIgnore - Variable in class NadamSGD
 
InfoAlert - Class in net.viktorc.detroid.framework.gui.dialogs
An alert for notifying the user of some information.
InfoAlert(Stage, String, String) - Constructor for class InfoAlert
Constructs an instance based on the specified parameters.
init() - Method in class Detroid
 
init(String, long, Object...) - Method in class EndGameTableBase
Initializes the probing code, potentially including the setting up of the cache.
init(boolean, int, String) - Method in class GaviotaTableBaseJNI
Initializes the Gaviota probing library using the specified parameters.
init(String, long, Object...) - Method in class GaviotaTableBaseJNI
 
init() - Method in class GUI
 
init() - Method in interface UCIEngine
Initialises the engine; e.g.
initCache(long, int) - Method in class GaviotaTableBaseJNI
Initializes the cache using the specified parameters.
initialize() - Method in class MainController
 
isCacheOn() - Method in class GaviotaTableBaseJNI
Returns whether the cache is on.
isCancelled() - Method in class Search
 
isDone() - Method in class Search
 
isEmpty() - Method in class ETEntry
 
isEmpty() - Method in interface Cache.Entry
Determines whether the entry is to be considered void.
isGradientDefined() - Method in interface TunableEngine
Specifies whether the gradient of the evaluation function is mathematically defined.
isInCheck() - Method in class Position
 
isInit() - Method in class Detroid
 
isInit() - Method in class EndGameTableBase
Returns whether the probing code has been initialized.
isInit() - Method in class GaviotaTableBaseJNI
 
isInit() - Method in interface UCIEngine
Returns whether the method init has already been called on the instance.
isInstanceSizeConstant(Class<?>) - Method in class SizeEstimator
Returns whether all instances of the specified class must have the same memory requirements.
isLegal(Move) - Method in class Position
Determines whether the move is legal in the current position.
isMaterialInsufficient(Position) - Static method in class Evaluator
Returns whether the position is a case of insufficient material.
isPrime(long, int) - Static method in class MillerRabin
Tests whether a number is probably prime or not using the Miller-Rabin algorithm.
isPrime(long) - Static method in class MillerRabin
Tests whether a number is probably prime or not using the Miller-Rabin algorithm.
isProbingLibLoaded() - Method in class EndGameTableBase
Whether the last call to EndGameTableBase.loadProbingLibrary(String) resulted in the successful loading of the library.
isQuiet() - Method in class Detroid
 
isQuiet() - Method in interface ControllerEngine
Determines whether the current position is quiet, i.e.
isTactical() - Method in class Move
Returns whether the move is a tactical move or not.
isWhitesTurn() - Method in class Detroid
 
isWhitesTurn() - Method in class Game
 
isWhitesTurn() - Method in class Position
 
isWhitesTurn() - Method in interface ControllerEngine
Returns whether it's white's turn.
iterator() - Method in class Cache
 

K

KillerTable - Class in net.viktorc.detroid.framework.engine
A table implementation for the killer heuristic.
KillerTable(int) - Constructor for class KillerTable
Creates a killer table of the given size.
KillerTable.KTEntry - Class in net.viktorc.detroid.framework.engine
A killer heuristic table entry for storing two killer moves compressed into two integers.
KING - Static variable in class GaviotaTableBaseJNI
 
kingMoveMask - Variable in enum MoveSetBase
 
KNIGHT - Static variable in class GaviotaTableBaseJNI
 
knightMoveMask - Variable in enum MoveSetBase
 
KTEntry(int, int) - Constructor for class KillerTable.KTEntry
 

L

L1_REGULARIZATION_COEFF - Static variable in class NadamSGD
The default L1 regularization coefficient.
l1RegularizationCoeff - Variable in class NadamSGD
 
L2_REGULARIZATION_COEFF - Static variable in class NadamSGD
The default L2 regularization coefficient.
l2RegularizationCoeff - Variable in class NadamSGD
 
LEARNING_ANNEALING_RATE - Static variable in class NadamSGD
The default factor by which the learning rate is multiplied after every epoch.
LEARNING_RATE - Static variable in class NadamSGD
The default base learning rate.
LEARNING_RATE - Static variable in class PBIL
The default learning rate.
learningAnnealingRate - Variable in class NadamSGD
 
learningRate - Variable in class NadamSGD
 
learningRate - Variable in class PBIL
 
leastGEPrime(long, int) - Static method in class MillerRabin
Finds and returns the smallest prime number that is greater than or equal to n.
leastGEPrime(long) - Static method in class MillerRabin
Finds and returns the smallest prime number that is greater than or equal to n.
letter - Variable in enum Piece
 
load() - Method in class MagicsConfig
It loads the key-values from the properties file if they are not yet loaded.
loadFrom(String) - Method in class EngineParameters
Reads the parameter values from an XML file and sets the instance's fields accordingly.
loadProbingLibrary(String) - Method in class EndGameTableBase
Loads the probing library at the given path.
logger - Variable in class NadamSGD
 

M

MagicsConfig - Class in net.viktorc.detroid.framework.engine
A singleton class for reading and writing magic numbers and magic shifts for sliding pieces on specific squares.
main(String[]) - Static method in class MagicsConfig
 
MainController - Class in net.viktorc.detroid.framework.gui.controllers
The controller class for the main view of the chess application.
MainController(Stage, ControllerEngine, UCIEngine) - Constructor for class MainController
Constructs an instance using the specified engines for game control and searching.
makeMove(Move) - Method in class Position
Makes the specified move.
makeNullMove() - Method in class Position
Makes a null move.
MAX_DIVERGENCE - Static variable in class PBIL
The maximum difference from 0 or 1 each element of the probability vector can have for the set to be still possibly considered optimized.
MAX_NUMBER_OF_PIECES - Static variable in class EndGameTableBase
The maximum number of pieces on the board for which there are endgame tablebases.
maxValues() - Method in class EngineParameters
Returns an array of doubles holding the maximum allowed values for all the fields declared as parameters by the Parameter annotation.
maxValues(Set<ParameterType>) - Method in class EngineParameters
Returns an array of doubles holding the maximum allowed values for all the fields declared as parameters of the specified type by the Parameter annotation.
maxValues - Variable in class NadamSGD
 
MEMORY_EFFICIENCY - Static variable in class GaviotaTableBaseJNI
 
MEMORY_HITS - Static variable in class GaviotaTableBaseJNI
 
memorySize() - Method in class Cache
Returns the size of the hash table in bytes.
MillerRabin - Class in net.viktorc.detroid.framework.util
Provides primality testing related functions based on the Miller-Rabin algorithm.
minValues - Variable in class NadamSGD
 
Move - Class in net.viktorc.detroid.framework.engine
A simple class representing a chess move.
Move() - Constructor for class Move
Default constructor.
Move(byte, byte, byte, byte, byte) - Constructor for class Move
 
movedPiece - Variable in class Move
 
MoveSetBase - Enum in net.viktorc.detroid.framework.engine
An enum of pre-calculated move set databases for each square of a chess board for saving the time costs of calculating move sets on the fly at the price of about 850KB.
MoveStringUtils - Class in net.viktorc.detroid.framework.engine
A utility class for parsing move strings and converting move objects into move strings.
MoveType - Enum in net.viktorc.detroid.framework.engine
An enum type defining the seven move types the engine handles differently.
MUTATION_PROBABILITY - Static variable in class PBIL
The default probability of mutation applied to the probability vector.
MUTATION_SHIFT - Static variable in class PBIL
The default amount of mutation applied to the probability vector.
mutationProbability - Variable in class PBIL
 
mutationShift - Variable in class PBIL
 
MVVLVA(Move) - Static method in class Evaluator
Returns the MVV/LVA score of the specified move.

N

NadamSGD<E,L> - Class in net.viktorc.detroid.framework.util
An adaptive stochastic gradient descent implementation for supervised learning.
NadamSGD(double[], double[], double[], long, long, int, Double, Double, Double, Double, Double, Double, Double, Double, Logger) - Constructor for class NadamSGD
Constructs an instance according to the specified parameters.
NEGATIVE_LEARNING_RATE - Static variable in class PBIL
The default additional learning rate from 'negative' experience.
negLearningRate - Variable in class PBIL
 
net.viktorc.detroid - package net.viktorc.detroid
 
net.viktorc.detroid.framework - package net.viktorc.detroid.framework
 
net.viktorc.detroid.framework.engine - package net.viktorc.detroid.framework.engine
 
net.viktorc.detroid.framework.gui - package net.viktorc.detroid.framework.gui
 
net.viktorc.detroid.framework.gui.controllers - package net.viktorc.detroid.framework.gui.controllers
 
net.viktorc.detroid.framework.gui.dialogs - package net.viktorc.detroid.framework.gui.dialogs
 
net.viktorc.detroid.framework.gui.models - package net.viktorc.detroid.framework.gui.models
 
net.viktorc.detroid.framework.tuning - package net.viktorc.detroid.framework.tuning
 
net.viktorc.detroid.framework.uci - package net.viktorc.detroid.framework.uci
 
net.viktorc.detroid.framework.util - package net.viktorc.detroid.framework.util
 
net.viktorc.detroid.framework.validation - package net.viktorc.detroid.framework.validation
 
newControllerEngineInstance() - Method in interface EngineFactory
Returns a new ControllerEngine instance.
newEngineInstance() - Method in interface EngineFactory
Returns a new UCIEngine instance.
newGame() - Method in class Detroid
 
newGame() - Method in interface UCIEngine
Resets the game.
newInstance() - Method in interface Cache.EntryFactory
Constructs and returns a new entry instance.
newTunableEngineInstance() - Method in interface EngineFactory
Returns a new TunableEngine instance.
NO_CASTLE - Static variable in class GaviotaTableBaseJNI
 
NO_PIECE - Static variable in class GaviotaTableBaseJNI
 
NO_SQUARE - Static variable in class GaviotaTableBaseJNI
 
NodeType - Enum in net.viktorc.detroid.framework.engine
A simple enum for game tree node and hash table entry types based on the relation of their values to alpha and beta.
notifyParametersChanged() - Method in class Detroid
 
notifyParametersChanged() - Method in interface TunableEngine
Notifies the engine that the parameters have changed and that if it uses cached values, it should reload them.
NULL_MOVE - Static variable in class Move
A null move instance.

O

OpeningBook - Class in net.viktorc.detroid.framework.engine
A base class for reading and selecting moves from a chess opening book.
OpeningBook(String) - Constructor for class OpeningBook
It instantiates a Book object on the opening book file specified by filePath; if the file cannot be accessed, an IOException is thrown.
OpeningBook.SelectionModel - Enum in net.viktorc.detroid.framework.engine
An enumeration type for mathematical models used in the process of selecting one from all the available opening moves for a position.
optimize() - Method in class NadamSGD
Optimizes the parameters and returns the set that is associated with the minimum of the cost function (whether it's a local or global one depends on the convexity of the function).
optimize() - Method in class PBIL
An implementation of the Population-based Incremental Learning algorithm which optimizes a string of binary digits representing the parameters of a fitness function.
Option<T> - Class in net.viktorc.detroid.framework.uci
A parameterized type for storing a name, and possibly a default value, minimum and maximum values and a set of allowed values for different setting types.
Option.ButtonOption - Class in net.viktorc.detroid.framework.uci
A button option which only has a name and serves as a parameterless command.
Option.CheckOption - Class in net.viktorc.detroid.framework.uci
A check option subclassing Setting with a Boolean type parameter.
Option.ComboOption - Class in net.viktorc.detroid.framework.uci
A combo option with a set of allowed values subclassing Setting with a String type parameter.
Option.SpinOption - Class in net.viktorc.detroid.framework.uci
A spin option with minimum and maximum values subclassing Setting with an Integer type parameter.
Option.StringOption - Class in net.viktorc.detroid.framework.uci
A simple string option subclassing Setting with a String type parameter.
OptionsAlert - Class in net.viktorc.detroid.framework.gui.dialogs
An alert for displaying the UCI options the search engine provides to the user in the form of GUI controls the user can interact with.
OptionsAlert(Stage, UCIEngine) - Constructor for class OptionsAlert
Constructs an instance based on the UCI option offered by the chess engine.
OWN_BOOK_OPTION_NAME - Static variable in interface UCIEngine
A standard check type UCI option that determines whether the engine should use its own book.

P

Parameter - Annotation Type in net.viktorc.detroid.framework.tuning
An annotation for denoting fields to be considered as engine parameters possibly eligible for tuning.
ParameterException - Exception in net.viktorc.detroid.framework.tuning
An exception for when a field declared as an engine parameter by the Parameter annotation is a static or non-primitive field.
ParameterException(String) - Constructor for exception ParameterException
Constructs an exception instance with the specified error message.
parameters - Variable in class NadamSGD
 
ParameterType - Enum in net.viktorc.detroid.framework.tuning
An enumeration for engine parameter type definitions.
parse(String) - Static method in class Game
Parses a game in PGN notation and returns a game instance.
parse(String) - Static method in class Position
It parses a FEN string and initializes a position instance based on it.
parse(String) - Static method in class EPDRecord
Constructs an instance based on the specified EPD record.
parsePACN(Position, String) - Static method in class MoveStringUtils
Parses a move string in PACN format.
parseSAN(Position, String) - Static method in class MoveStringUtils
Parses a move string in SAN format.
path - Variable in class OpeningBook
 
PAWN - Static variable in class GaviotaTableBaseJNI
 
PBIL - Class in net.viktorc.detroid.framework.util
An abstract Population-based Incremental Learning algorithm implementation for optimizing parameters represented by strings of binary digits.
PBIL(int, Integer, Double, Double, Double, Double, Integer, Double, double[], Logger) - Constructor for class PBIL
Constructs an instance with the specified optimization parameters.
perft(int) - Method in class Detroid
 
perft(int) - Method in interface ControllerEngine
Runs a perft to the specified depth in the current position and returns the number of leaf nodes counted while traversing the tree.
perft(ControllerEngine, EPDRecord) - Static method in class PerftSuite
Runs a perft test on the position specified in the record to the depth noted using the provided engine and returns whether the engine counted the same number of positions as stated in the record.
PERFT_DEPTH_OP_CODE - Static variable in class PerftSuite
 
PERFT_NODE_COUNT_OP_CODE - Static variable in class PerftSuite
 
PerftSuite - Class in net.viktorc.detroid.framework.validation
A class for holding perft records.
PerftSuite(String) - Constructor for class PerftSuite
Parses the perft records in the specified file and holds them in a list.
Piece - Enum in net.viktorc.detroid.framework.engine
An enum type for the different chess pieces.
Piece - Enum in net.viktorc.detroid.framework.gui.models
An enumeration of chess piece types and the corresponding Unicode values.
play(String) - Method in class Detroid
 
play(String) - Method in class Game
Plays a move defined either in PACN or SAN format if legal.
play(String) - Method in interface UCIEngine
Prompts the engine to make the move defined in Pure Algebraic Coordinate Notation.
PolyglotBook - Class in net.viktorc.detroid.framework.engine
An implementation of the Book interface for PolyGlot opening books.
PolyglotBook(String) - Constructor for class PolyglotBook
It instantiates a Book object on the opening book file specified by filePath; if the file cannot be accessed, an IOException is thrown.
PolyglotBook(String, String) - Constructor for class PolyglotBook
It instantiates a PolyglotBook object on the opening book files specified by filePath and secondaryBookFilePath (as an alternative book for when out of the main book); if the main opening book file cannot be accessed, an IOException is thrown, if the secondary opening book file cannot be accessed, it is not set.
ponderHit() - Method in class Detroid
 
ponderHit() - Method in interface UCIEngine
Signals to the engine that the move it was pondering on was actually played and it should keep searching in normal mode.
POPULATION_SIZE - Static variable in class PBIL
The default number of genotypes generated per generation.
populationSize - Variable in class PBIL
 
Position - Class in net.viktorc.detroid.framework.engine
A bitboard based chess position class that stores information about the side to move, en passant and castling rights, the board position, all the moves made, and all the previous position states.
Position(Position) - Constructor for class Position
Clones the specified position instance.
PositionStateRecord - Class in net.viktorc.detroid.framework.engine
A class for storing position state information.
PositionStateRecord(byte, byte, byte, byte, long) - Constructor for class PositionStateRecord
 
probe(int, int, int, int[], int[], char[], char[]) - Method in class GaviotaTableBaseJNI
Probes the cache for both WDL and DTM information for the given position.
probeDTM(Position, boolean) - Method in class EndGameTableBase
It probes for the given position and if found, it returns whether it is a win, loss, or draw; and in case it is a win or loss, it also returns the distance to mate.
probeDTM(Position, boolean) - Method in class GaviotaTableBaseJNI
 
probeSoft(int, int, int, int[], int[], char[], char[]) - Method in class GaviotaTableBaseJNI
Probes the cache for both WDL and DTM information for the given position.
probeSoftWDL(int, int, int, int[], int[], char[], char[]) - Method in class GaviotaTableBaseJNI
Probes the cache for WDL information for the given position.
probeWDL(Position, boolean) - Method in class EndGameTableBase
It probes for the given position and if found, it returns whether it is a winning position, a losing position, or a draw; else it returns null.
probeWDL(int, int, int, int[], int[], char[], char[]) - Method in class GaviotaTableBaseJNI
Probes the cache for WDL information for the given position.
probeWDL(Position, boolean) - Method in class GaviotaTableBaseJNI
 
PromotionDialog - Class in net.viktorc.detroid.framework.gui.dialogs
A dialog for handling chess promotions by presenting a set of selectable pieces to promote to.
PromotionDialog(Stage, boolean) - Constructor for class PromotionDialog
Constructs an instance based on the specified parameters.
put(T) - Method in class Cache
Inserts an entry into the hash table.

Q

QUEEN - Static variable in class GaviotaTableBaseJNI
 
QuickSort - Class in net.viktorc.detroid.framework.util
An implementation of the quickSort algorithm to sort arrays of generic objects.
quit() - Method in class Detroid
 
quit() - Method in interface UCIEngine
Signals the engine that it should clean up and free the resources it has been using.

R

rankNeg - Variable in enum Bitboard.Rays
 
rankPos - Variable in enum Bitboard.Rays
 
recordSuccessfulMove(Move) - Method in class RelativeHistoryTable
If a move causes a cut-off, this method updates the relative history table accordingly.
recordUnsuccessfulMove(Move) - Method in class RelativeHistoryTable
If a move does not cause a cut-off, this method updates the relative history table accordingly.
RelativeHistoryTable - Class in net.viktorc.detroid.framework.engine
A thread-safe table-pair for relative history heuristic implementation.
RelativeHistoryTable() - Constructor for class RelativeHistoryTable
Default constructor.
reload() - Method in class MagicsConfig
It reloads the key-values from the properties file whether they have been loaded before or not.
remove(long) - Method in class Cache
Removes the entry identified by the input parameter long integer 'key' from the hash table and returns true if it is in the hash table; returns false otherwise.
remove(Predicate<T>) - Method in class Cache
Removes all the entries that match the condition specified in the argument.
resetLSBit(long) - Static method in class BitOperations
Returns a long with the least significant (rightmost) bit in the input parameter reset.
resetMSBit(long) - Static method in class BitOperations
Returns a long with the most significant (leftmost) bit in the input parameter reset.
resetStats() - Method in class EndGameTableBase
Resets the endgame tablebase stats.
resetStats() - Method in class GaviotaTableBaseJNI
Resets the stored statistics of the probing library.
resetTestDataReader() - Method in class TexelOptimizer
 
resetTestDataReader() - Method in class NadamSGD
Resets the test data reader enanbling the resampling of already sampled data points.
resetTrainingDataReader() - Method in class TexelOptimizer
 
resetTrainingDataReader() - Method in class NadamSGD
Resets the training data reader enanbling the resampling of already sampled data points.
restart(boolean, int, String) - Method in class GaviotaTableBaseJNI
Restarts the Gaviota probing library using the specified parameters.
restartCache(long, int) - Method in class GaviotaTableBaseJNI
Restarts the cache using the specified parameters.
retrieve(int) - Method in class KillerTable
Retrieves an entry containing the two (or less) killer moves from the killer table entry for the given ply.
reverse(long) - Static method in class BitOperations
Returns a long with the bits of the input parameter reversed.
reverseBytes(long) - Static method in class BitOperations
Returns a long with the bytes of the input parameter reversed/flipped.
ROOK - Static variable in class GaviotaTableBaseJNI
 
rookOccupancyMask - Variable in enum MoveSetBase
 
run() - Method in class Search
 
run() - Method in class EngineFramework
 
run() - Method in class UCI
 

S

save() - Method in class MagicsConfig
It saves the key-values of the instance to the properties file.
score(Position, byte, ETEntry, Map<String, Double>) - Method in class Evaluator
A static evaluation of the chess position from the color to move's point of view.
score(Position, byte, ETEntry) - Method in class Evaluator
A static evaluation of the chess position from the color to move's point of view.
score(Move) - Method in class RelativeHistoryTable
Returns the relative history heuristic score for the move parameter.
Score - Enum in net.viktorc.detroid.framework.engine
An enumeration type for different game state scores such as check mate, stale mate, and draw due to different reasons.
ScoreType - Enum in net.viktorc.detroid.framework.uci
An enum for different score types that a search can return.
search(Set<String>, Boolean, Long, Long, Long, Long, Integer, Integer, Long, Integer, Long, Boolean) - Method in class Detroid
 
Search - Class in net.viktorc.detroid.framework.engine
A chess game tree search based on the PVS algorithm supported by a transposition table within an iterative deepening framework with aspiration windows utilizing heuristics such as null move pruning, late move reductions, futility pruning, extended futility pruning, razoring, IID, quiescence search, and fractional depth extensions.
Search(Position, DetroidParameters, Evaluator, EndGameTableBase, DetroidSearchInformation, int, Cache<TTEntry>, byte, boolean, boolean, int, long, Set<Move>) - Constructor for class Search
Constructs a new instance using the specified parameters.
search(Set<String>, Boolean, Long, Long, Long, Long, Integer, Integer, Long, Integer, Long, Boolean) - Method in interface UCIEngine
Prompts the engine to start searching the current position according to the specified parameters.
SearchData - Class in net.viktorc.detroid.framework.gui.models
A view model bean for SearchInformation.
SearchData() - Constructor for class SearchData
Constructs a default instance.
SearchData(String, String, String, String, String, String, String, String) - Constructor for class SearchData
Constructs the view model using the specified parameter values.
SearchInformation - Class in net.viktorc.detroid.framework.uci
An observable abstract class for containing search information and notifying the observers on changes.
SearchInformation() - Constructor for class SearchInformation
 
SearchResults - Class in net.viktorc.detroid.framework.uci
A simple immutable container class for the best move found in a search and the suggested ponder move for the next search both in pure algebraic coordinate notation.
SearchResults(String, String, Short, ScoreType) - Constructor for class SearchResults
Constructs an instance according to the specified parameters.
searchTest(UCIEngine, ControllerEngine, EPDRecord, long) - Static method in class SearchTestSuite
Searches the position defined in the EPDRecord record for the specified amount of time using the provided engine and returns if the engine found any one of the best moves noted in the record.
searchTest(UCIEngine, EPDRecord, int) - Static method in class TTDSuite
It has the parameter engine search the position specified in the TTD record to the (potentially adjusted) depth specified in the record.
SearchTestSuite - Class in net.viktorc.detroid.framework.validation
An implementation for an EPD test suite for sanity checks and the rough estimation of the tactical strength of a chess engine.
SearchTestSuite(String, String) - Constructor for class SearchTestSuite
Parses the EPD records in the specified file and holds them in a list.
SECOND_MOMENT_DECAY_RATE - Static variable in class NadamSGD
The default decay constant of the accumulated gradient squares.
secondaryBook - Variable in class OpeningBook
 
secondMomentDecayRate - Variable in class NadamSGD
 
SEE(Position, Move) - Method in class Evaluator
A static exchange evaluation algorithm for determining a close approximation of a capture's value.
SelfPlayEngines<T extends UCIEngine> - Class in net.viktorc.detroid.framework.tuning
A class for storing references to engines required to perform self-play.
SelfPlayEngines(T, T, ControllerEngine) - Constructor for class SelfPlayEngines
Constructs an instance holding references to the three engines necessary for self-play.
SelfPlayOptimizer - Class in net.viktorc.detroid.framework.tuning
A class for optimizing chess engine parameters using a PBIL algorithm with a possibly parallel, game play based fitness function.
SelfPlayOptimizer(List<SelfPlayEngines<TunableEngine>>, Set<ParameterType>, int, long, long, double, double[], int, Double, Double, Double, Double, Integer, Logger) - Constructor for class SelfPlayOptimizer
Constructs a new instance according to the specified parameters.
serialize(long) - Static method in class BitOperations
Returns an array of the indexes of all set bits in the input parameter.
set(long, short, byte) - Method in class ETEntry
 
set(double[]) - Method in class EngineParameters
Sets the values of the parameter fields of the instance.
set(double[], Set<ParameterType>) - Method in class EngineParameters
Sets the values of the parameter fields of the specified type.
set(String) - Method in class EngineParameters
Sets the values of the parameter fields based on the binaryString in which each character represents a bit in the string of the individual gray code strings of the values of the parameter fields of the specified type in the order of declaration.
set(String, Set<ParameterType>) - Method in class EngineParameters
Sets the values of the parameter fields of the specified type based on the binaryString in which each character represents a bit in the string of the individual gray code strings of the values of the parameter fields of the specified type in the order of declaration.
setBishopMagics(int, Map.Entry<Long, Byte>) - Method in class MagicsConfig
 
setBlackPlayerName(String) - Method in class Game
 
setControllerMode(boolean) - Method in class Detroid
 
setControllerMode(boolean) - Method in interface ControllerEngine
Sets whether the engine should run in controller mode.
setDebugMode(boolean) - Method in class Detroid
 
setDebugMode(boolean) - Method in interface UCIEngine
Notifies the engine whether it should keep updating the DebugInformation instance exposed by the getDebugInfo method with debug information strings.
setDeterministicEvaluationMode(boolean) - Method in class Detroid
 
setDeterministicEvaluationMode(boolean) - Method in interface TunableEngine
Sets whether the engine should support deterministic static evaluation without the use of hash tables or any other mechanisms that introduce non-determinism.
setEngines(ControllerEngine, UCIEngine) - Static method in class GUI
Sets the chess engines powering the GUI application.
setEvent(String) - Method in class Detroid
 
setEvent(String) - Method in class Game
 
setEvent(String) - Method in interface ControllerEngine
Sets the event at which the game is taking place.
setGame(String) - Method in class Detroid
 
setGame(String) - Method in interface ControllerEngine
Parses the Portable Game Notation string and sets its internal data structure tracking the state of the game accordingly.
setGeneration(byte) - Method in class ETEntry
 
setHashSizeOption(int) - Method in interface UCIEngine
It attempts to set the hash size the engine should use if the option is provided by the engine.
setOption(Option<T>, T) - Method in class Detroid
 
setOption(Option<T>, T) - Method in interface UCIEngine
Sets an option defined by the engine to the specified value.
setOption(Class<U>, String, T) - Method in interface UCIEngine
It looks for an option of the specified type and name among the options provided by the engine, and if it is found, it attempts to set it to the specified value.
setOwnBookOption(boolean) - Method in interface UCIEngine
It attempts to set whether the engine should use its own opening book if the option is provided by the engine.
setPlayers(String, String) - Method in class Detroid
 
setPlayers(String, String) - Method in interface ControllerEngine
Sets the names of the players.
setPosition(String) - Method in class Detroid
 
setPosition(String) - Method in interface UCIEngine
Sends the current position to the engine.
setPosition() - Method in interface UCIEngine
Sets the current position of the engine to the starting position.
setRookMagics(int, Map.Entry<Long, Byte>) - Method in class MagicsConfig
 
setSite(String) - Method in class Detroid
 
setSite(String) - Method in class Game
 
setSite(String) - Method in interface ControllerEngine
Sets the site where the game is taking place.
setState(GameState) - Method in class Game
Sets the state of the game in case of draw by agreement, resignation, or time out.
setThreadsOption(int) - Method in interface UCIEngine
It attempts to set the number of threads the engine should use if the option is provided by the engine.
setupKey() - Method in class ETEntry
XORs the data fields into the key.
setValue(short) - Method in class Move
 
setWhitePlayerName(String) - Method in class Game
 
size() - Method in class Cache
Returns the number of non-empty entries in the hash table.
SizeEstimator - Class in net.viktorc.detroid.framework.util
A singleton utility class for estimating the memory footprints of objects on the (HotSpot) JVM heap.
sizeOf(Object) - Method in class SizeEstimator
Estimates the size of an object including the sizes of all objects referenced in the object graph.
sizeOf(Class<?>) - Method in class SizeEstimator
Statically estimates the size of an instance of the class.
SizeOf - Enum in net.viktorc.detroid.framework.util
A simple enumeration type to help estimate the memory overhead of objects on the JVM heap.
sort(T[]) - Static method in class QuickSort
Sorts and returns the array.
SpinOption(String, Integer, Integer, Integer) - Constructor for class Option.SpinOption
Constructs a spin option instance.
start(Stage) - Method in class GUI
 
START_POSITION - Static variable in interface UCIEngine
A special UCI position command for the start position.
START_POSITION_FEN - Static variable in class Position
A FEN string for the starting chess position.
stop() - Method in class Detroid
 
stop() - Method in class GUI
 
stop() - Method in interface UCIEngine
Prompts the engine to stop searching and return the best move found up until that point.
StringOption(String, String) - Constructor for class Option.StringOption
Constructs a string option instance.
swap(ETEntry) - Method in class ETEntry
 
swap(T) - Method in interface Cache.Entry
It swaps the states of the object and the parameter instance.

T

TexelOptimizer - Class in net.viktorc.detroid.framework.tuning
A class for optimizing chess engine evaluation parameters using a stochastic gradient descent algorithm with a possibly parallel cost function.
TexelOptimizer(TunableEngine[], long, int, Double, Double, Double, Double, Double, String, String, Long, Double, Double, Logger) - Constructor for class TexelOptimizer
Constructs and returns a new instance according to the specified parameters.
THREADS_OPTION_NAME - Static variable in interface UCIEngine
A standard spin type UCI option that determines the number of search threads to use.
TimeControl - Class in net.viktorc.detroid.framework.gui.models
A simple, immutable class for time control definition.
TimeControl(long, long, long, long) - Constructor for class TimeControl
Constructs an instance using the specified parameters.
TimeSettingsDialog - Class in net.viktorc.detroid.framework.gui.dialogs
A dialog that allows the time controls of a chess game to be set by displaying modifiable text input fields representing the time controls.
TimeSettingsDialog(Stage, TimeControl) - Constructor for class TimeSettingsDialog
Constructs an instance based on the specified parameters.
to - Variable in class Move
 
TO_B_DEST_SQR_IND - Static variable in enum EnPassantRights
The difference between the EP right index and the square index of the destination of EP for black.
TO_B_VICT_SQR_IND - Static variable in enum EnPassantRights
The difference between the EP right index and the square index of the possible victim of EP for black.
TO_W_DEST_SQR_IND - Static variable in enum EnPassantRights
The difference between the EP right index and the square index of the destination of EP for white.
TO_W_VICT_SQR_IND - Static variable in enum EnPassantRights
The difference between the EP right index and the square index of the possible victim of EP for white.
toBinaryLiteral(long) - Static method in class BitOperations
Returns the binary literal of the input long as a string.
toBinaryString(long) - Static method in class BitOperations
Returns a string representation of a long in binary form with all the 64 bits displayed whether set or not.
toBit(int) - Static method in class BitOperations
Returns a long integer with only the bit at the specified index set.
toFEN() - Method in class Detroid
 
toFEN() - Method in interface ControllerEngine
Returns a Forsyth-Edwards Notation string representing the current position.
toGrayCodeString() - Method in class EngineParameters
Returns a binary string of all the bits of all the fields annotated as a Parameter concatenated field by field.
toGrayCodeString(Set<ParameterType>) - Method in class EngineParameters
Returns a binary string of all the bits of the fields annotated as a Parameter of the specified type concatenated field by field.
toHexLiteral(long) - Static method in class BitOperations
Returns the hexadecimal literal of the input long as a string.
toInt() - Method in class Move
Encodes the state of the instance (except the score) into a 4 byte integer.
toMove(int) - Static method in class Move
Parses a move encoded in a 32 bitboard integer.
toPGN() - Method in class Detroid
 
toPGN() - Method in interface ControllerEngine
Returns a Portable Game Notation string representing the state of the game.
toSAN(Position, Move) - Static method in class MoveStringUtils
It creates a move string in SAN format.
toString() - Method in enum Bitboard.Square
Returns a String representation of the square.
toString() - Method in class EndGameTableBase.DTM
 
toString() - Method in class ETEntry
 
toString() - Method in class Game
 
toString() - Method in class Move
 
toString() - Method in class Position
 
toString() - Method in class EngineParameters
 
toString() - Method in class Cache
 
toString() - Method in class EPDRecord
 
TOTAL_HITS - Static variable in class GaviotaTableBaseJNI
 
trainingBatchSize - Variable in class NadamSGD
 
TTD_DEPTH_OP_CODE - Static variable in class TTDSuite
 
TTDSuite - Class in net.viktorc.detroid.framework.validation
A class for a suite of time-to-depth test entries.
TTDSuite(String) - Constructor for class TTDSuite
Parses the time-to-depth entries.
TunableEngine - Interface in net.viktorc.detroid.framework.tuning
An interface for a tunable chess engine whose parameters can be retrieved.
type - Variable in class Move
 

U

UCI - Class in net.viktorc.detroid.framework.uci
An implementation of the Universal Chess Interface protocol which serves as a controller for a UCI compatible chess engine when communicating with a UCI compatible GUI.
UCI(UCIEngine, InputStream, OutputStream) - Constructor for class UCI
Constructs an instance to handle the UCI protocol.
UCIEngine - Interface in net.viktorc.detroid.framework.uci
The interface needed to be implemented by an engine to ensure it is UCI compliant.
UNKNOWN - Static variable in class GaviotaTableBaseJNI
 
unmakeMove() - Method in class Position
Takes back the last move made and returns it.
unplay() - Method in class Game
Unmakes the last move and returns it in Pure Algebraic Coordinate Notation.
unplayLastMove() - Method in class Detroid
 
unplayLastMove() - Method in interface ControllerEngine
Takes back the last move and returns it in Pure Algebraic Coordinate Notation.
update(Observable, Object) - Method in class MainController
 
update(Observable, Object) - Method in class ConsoleAlert
 
update(Observable, Object) - Method in class UCI
 

V

value - Variable in enum Score
 
valueOf(String) - Static method in enum Bitboard.AntiDiagonal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Bitboard.Diagonal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Bitboard.File
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Bitboard.Rank
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Bitboard.Rays
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Bitboard.Square
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum CastlingRights
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum EndGameTableBase.WDL
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum EnPassantRights
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum GaviotaTableBaseJNI.CompressionScheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum MoveSetBase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum MoveType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum NodeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum OpeningBook.SelectionModel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Piece
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Score
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Piece
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ParameterType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ScoreType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum SizeOf
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum GameState
Returns the enum constant of this type with the specified name.
values() - Static method in enum Bitboard.AntiDiagonal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Bitboard.Diagonal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Bitboard.File
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Bitboard.Rank
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Bitboard.Rays
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Bitboard.Square
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum CastlingRights
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum EndGameTableBase.WDL
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum EnPassantRights
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum GaviotaTableBaseJNI.CompressionScheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum MoveSetBase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum MoveType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum NodeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum OpeningBook.SelectionModel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Piece
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Score
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Piece
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class EngineParameters
Returns an array of doubles holding the values of all the fields declared as parameters by the Parameter annotation.
values(Set<ParameterType>) - Method in class EngineParameters
Returns an array of doubles holding the values of all the fields declared as parameters of the specified type by the Parameter annotation.
values() - Static method in enum ParameterType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ScoreType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum SizeOf
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum GameState
Returns an array containing the constants of this enum type, in the order they are declared.
valuesFromMap(Map<String, Double>, Set<ParameterType>) - Method in class EngineParameters
Builds an array of values based on the entries of the provided map.
verifyGradient(List<Map.Entry<E, L>>, double, double) - Method in class NadamSGD
Verifies the correctness of the symbolic gradient.

W

WDL_CACHE_SIZE - Static variable in class GaviotaTableBaseJNI
 
WDL_EASY_HITS - Static variable in class GaviotaTableBaseJNI
 
WDL_HARD_PROB - Static variable in class GaviotaTableBaseJNI
 
WDL_OCCUPANCY - Static variable in class GaviotaTableBaseJNI
 
WDL_SOFT_PROB - Static variable in class GaviotaTableBaseJNI
 
WHITE_TO_MOVE - Static variable in class GaviotaTableBaseJNI
 
whiteForfeit() - Method in class Detroid
 
whiteForfeit() - Method in interface ControllerEngine
Sets the game state to unspecified black victory.
whitePawnAdvanceMoveMask - Variable in enum MoveSetBase
 
whitePawnCaptureMoveMask - Variable in enum MoveSetBase
 
WLONG - Static variable in class GaviotaTableBaseJNI
 
WMATE - Static variable in class GaviotaTableBaseJNI
 
writeToFile(String) - Method in class EngineParameters
Writes the parameters to the specified file.
WSHORT - Static variable in class GaviotaTableBaseJNI
 

Z

ZobristKeyGenerator - Class in net.viktorc.detroid.framework.engine
A class for hashing chess positions.
A B C D E F G H I K L M N O P Q R S T U V W Z 
Skip navigation links

Copyright © 2020. All rights reserved.