public abstract class SearchInformation extends Observable
Constructor and Description |
---|
SearchInformation() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getCurrentLine()
Returns the number of the line the engine is currently calculating.
|
abstract String |
getCurrentMove()
Returns the currently searched root move in Pure Algebraic Coordinate Notation.
|
abstract int |
getCurrentMoveNumber()
Returns the number of the currently searched move in the move list of the root position.
|
abstract short |
getDepth()
Returns the nominal depth of the search.
|
abstract long |
getEndgameTablebaseHits()
Returns the number of endgame tablebase hits while searching.
|
abstract long |
getNodes()
Returns the number of nodes searched to reach this result.
|
abstract String[] |
getPv()
Returns an array of the principal variation with the moves in Pure Algebraic Coordinate Notation.
|
abstract int |
getPvNumber()
Returns the index of the PV line.
|
abstract short |
getScore()
Returns the result score of the search for the side to move.
|
abstract ScoreType |
getScoreType()
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.
|
abstract short |
getSelectiveDepth()
Returns the greatest depth of the search.
|
abstract String |
getString()
Returns any additional information the engine wants to send.
|
abstract long |
getTime()
Returns the time spent on the search to reach this result in milliseconds.
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public abstract int getPvNumber()
0
. If it is supported, the
numbering should start from 1
with the best line.public abstract String[] getPv()
public abstract String getCurrentMove()
null
, it is ignored.public abstract int getCurrentMoveNumber()
0
, it is ignored.public abstract short getDepth()
public abstract short getSelectiveDepth()
public abstract short getScore()
public abstract ScoreType getScoreType()
public abstract long getNodes()
public abstract long getTime()
public abstract long getEndgameTablebaseHits()
public abstract int getCurrentLine()
1
. If it is 0
or less, it is ignored.public abstract String getString()
null
, it is ignored.Copyright © 2020. All rights reserved.