Package | Description |
---|---|
net.viktorc.detroid.framework.engine |
Modifier and Type | Field and Description |
---|---|
static Move |
Move.NULL_MOVE
A null move instance.
|
Modifier and Type | Method and Description |
---|---|
Move |
Position.getLastMove() |
abstract Move |
OpeningBook.getMove(Position pos,
OpeningBook.SelectionModel selection)
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.
|
Move |
PolyglotBook.getMove(Position pos,
OpeningBook.SelectionModel selection) |
static Move |
MoveStringUtils.parsePACN(Position pos,
String pacn)
Parses a move string in PACN format.
|
static Move |
MoveStringUtils.parseSAN(Position pos,
String san)
Parses a move string in SAN format.
|
static Move |
Move.toMove(int move)
Parses a move encoded in a 32 bitboard integer.
|
Move |
Position.unmakeMove()
Takes back the last move made and returns it.
|
Modifier and Type | Method and Description |
---|---|
ArrayDeque<Move> |
Position.getMoveHistory() |
List<Move> |
Position.getMoves()
Returns a list of all the legal moves in the current position.
|
List<Move> |
Position.getQuietMoves()
Returns a list of all the legal quiet moves in the current position.
|
List<Move> |
Position.getTacticalMoves()
Returns a list of all the legal tactical moves in the current position.
|
Modifier and Type | Method and Description |
---|---|
void |
KillerTable.add(int ply,
Move m)
Inserts a move into the killer table ensuring distinctness within plies.
|
int |
Move.compareTo(Move m) |
boolean |
Move.equals(Move m)
Returns whether this move is equal to the input parameter move.
|
boolean |
Position.givesCheck(Move move)
Checks whether the specified move puts the opponent in check.
|
boolean |
Position.isLegal(Move move)
Determines whether the move is legal in the current position.
|
void |
Position.makeMove(Move move)
Makes the specified move.
|
static short |
Evaluator.MVVLVA(Move move)
Returns the MVV/LVA score of the specified move.
|
void |
RelativeHistoryTable.recordSuccessfulMove(Move m)
If a move causes a cut-off, this method updates the relative history table accordingly.
|
void |
RelativeHistoryTable.recordUnsuccessfulMove(Move m)
If a move does not cause a cut-off, this method updates the relative history table accordingly.
|
short |
RelativeHistoryTable.score(Move m)
Returns the relative history heuristic score for the move parameter.
|
short |
Evaluator.SEE(Position pos,
Move move)
A static exchange evaluation algorithm for determining a close approximation of a capture's value.
|
static String |
MoveStringUtils.toSAN(Position pos,
Move move)
It creates a move string in SAN format.
|
Constructor and Description |
---|
Search(Position pos,
DetroidParameters params,
Evaluator eval,
EndGameTableBase egtb,
DetroidSearchInformation info,
int numOfSearchThreads,
Cache<TTEntry> transTable,
byte hashEntryGen,
boolean analysisMode,
boolean ponder,
int maxDepth,
long maxNodes,
Set<Move> moves)
Constructs a new instance using the specified parameters.
|
Copyright © 2020. All rights reserved.