Show / Hide Table of Contents

Struct UCIEngine.Info

Information, sent by the engine during analyzing

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PonzianiComponents.Chesslib
Assembly: PonzianiComponents.dll
Syntax
public struct Info

Properties

| Improve this Doc View Source

CurrentMove

Currently analyzed move (in UCI notation)

Declaration
public string CurrentMove { readonly get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CurrentMoveNumber

Currently searching move number x, for the first move x should be 1 not 0

Declaration
public int CurrentMoveNumber { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Depth

Current analysis depth

Declaration
public int Depth { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Evaluation

Engine score in Centipawns (from engine's point of view)

Declaration
public int Evaluation { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MateDistance

Mate distance (Mate in x moves)

Declaration
public int MateDistance { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxDepth

Current maximal analysis depth reached for selected search branches

Declaration
public int MaxDepth { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MoveIndex

If engine runs in MultiPV mode (analyzing more than one next move) the move's index

Declaration
public int MoveIndex { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Nodes

Number of Nodes searched

Declaration
public long Nodes { readonly get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

NodesPerSecond

Search speed in (nodes/second)

Declaration
public long NodesPerSecond { readonly get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

PrincipalVariation

Principal Variation

Declaration
public string PrincipalVariation { readonly get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TableBaseHits

Number of table base hits

Declaration
public long TableBaseHits { readonly get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

Time

Current Search Time (in milliseconds)

Declaration
public int Time { readonly get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Type

Evaluation Type

Declaration
public UCIEngine.Info.EvaluationType Type { readonly get; }
Property Value
Type Description
UCIEngine.Info.EvaluationType

Methods

| Improve this Doc View Source

Index(String)

Determines the MultiPV (resp. line) Index from an engine's info message

Declaration
public static int Index(string message)
Parameters
Type Name Description
System.String message

The info message issued by the engine

Returns
Type Description
System.Int32

the 0-based line index (multipv 1 will give 0)

| Improve this Doc View Source

ScoreText(Side)

Textual representation of Score (with representations for mate scores and upper-/lowerbound scores)

Declaration
public string ScoreText(Side side = Side.WHITE)
Parameters
Type Name Description
Side side

Side to Move (has to be provided, to get score from white's POV)

Returns
Type Description
System.String

Score as text

| Improve this Doc View Source

Update(String, Side)

Updates an existing Info objekt from a new info message

Declaration
public bool Update(string message, Side side = Side.WHITE)
Parameters
Type Name Description
System.String message

The info message issued by the engine

Side side

Side to Move

Returns
Type Description
System.Boolean

true, if new evaluation information was part of the info message

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX