klaus.engine
Class DebuggingInformation

java.lang.Object
  extended by klaus.engine.DebuggingInformation

public class DebuggingInformation
extends Object


Field Summary
private  int nodes
           
private  int ply
           
private  String pv
           
private  String score
           
private  int time
           
 
Constructor Summary
DebuggingInformation(int ply, String score, int time, int nodes, String pv)
          Create debugging information from a normal XBoard debugging String.
 
Method Summary
 String getDescription()
           
 int getNodes()
           
 int getPly()
           
 String getPv()
           
 String getScore()
           
 int getTime()
           
 void setNodes(int nodes)
           
 void setPly(int ply)
           
 void setPv(String pv)
           
 void setScore(String score)
           
 void setTime(int time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

score

private String score

time

private int time

ply

private int ply

pv

private String pv

nodes

private int nodes
Constructor Detail

DebuggingInformation

public DebuggingInformation(int ply,
                            String score,
                            int time,
                            int nodes,
                            String pv)
Create debugging information from a normal XBoard debugging String. See XBoard / WinBoard documentation for details.

Parameters:
ply - the current search depth in half moves
score - the current score in centipawns
time - the search time in centiseconds
nodes - the number of nodes searched
pv - a String to describe the current main variant
Method Detail

getNodes

public int getNodes()

getPly

public int getPly()

getPv

public String getPv()

getScore

public String getScore()

getTime

public int getTime()

setNodes

public void setNodes(int nodes)

setPly

public void setPly(int ply)

setPv

public void setPv(String pv)

setScore

public void setScore(String score)

setTime

public void setTime(int time)

getDescription

public String getDescription()