public override string ToString()
        {
            var principalVariation = PrincipalVariation.ToPositionsString();

            return($"Depth: {Depth}, SelectiveDepth: {SelectiveDepth}, Score: {Score}, MateIn: {MateIn}, NodesSearched: {NodesSearched}, Time: {Time}, PrincipalVariation: {principalVariation}");
        }
示例#2
0
 public override string ToString()
 {
     return($"Depth: {Depth}, SelectiveDepth: {SelectiveDepth}, Score: {Score}, MateIn: {MateIn}, NodesSearched: {NodesSearched}, Time: {Time}, PrincipalVariation: {PrincipalVariation.Select(x=>x.Move.ToPositionString()).Aggregate((x,n) => x + " " + n)}");
 }