Scid  4.6.5
Public Member Functions | List of all members
Engine Class Reference

#include <engine.h>

Public Member Functions

 Engine ()
 
 ~Engine ()
 
void SetSearchDepth (uint ply)
 
void SetSearchTime (uint ms)
 
void SetSearchTime (uint min, uint ms, uint max)
 
void SetMinDepthCheckTime (uint depth)
 
void SetDebug (bool b)
 
void SetPostMode (bool b)
 
bool InPostMode (void)
 
void SetXBoardMode (bool b)
 
bool InXBoardMode (void)
 
void SetPruning (bool b)
 
void SetLogFile (FILE *fp)
 
void SetHashTableKilobytes (uint sizeKB)
 
void SetPawnTableKilobytes (uint sizeKB)
 
uint NumHashTableEntries (void)
 
uint NumPawnTableEntries (void)
 
void ClearHashTable (void)
 
void ClearPawnTable (void)
 
void ClearHashTables (void)
 
void SetCallbackFunction (bool(*fn)(Engine *, void *), void *data)
 
uint GetNodeCount (void)
 
bool NoMatingMaterial (void)
 
bool FiftyMoveDraw (void)
 
uint RepeatedPosition (void)
 
void SetPosition (Position *pos)
 
PositionGetPosition (void)
 
void PlayMove (simpleMoveT *move)
 
void RetractMove (void)
 
int Score (void)
 
int ScoreMaterial (void)
 
principalVarTGetPV (void)
 
uint PerfTest (uint depth)
 
uint ElapsedTime (void)
 
int Think (MoveList *mlist)
 

Detailed Description

Definition at line 106 of file engine.h.

Constructor & Destructor Documentation

Engine::Engine ( )
inline

Definition at line 187 of file engine.h.

Engine::~Engine ( )
inline

Definition at line 216 of file engine.h.

Member Function Documentation

void Engine::ClearHashTable ( void  )

Definition at line 1125 of file engine.cpp.

void Engine::ClearHashTables ( void  )
inline

Definition at line 249 of file engine.h.

void Engine::ClearPawnTable ( void  )

Definition at line 1137 of file engine.cpp.

uint Engine::ElapsedTime ( void  )
inline

Definition at line 273 of file engine.h.

bool Engine::FiftyMoveDraw ( void  )

Definition at line 1030 of file engine.cpp.

uint Engine::GetNodeCount ( void  )
inline

Definition at line 259 of file engine.h.

Position* Engine::GetPosition ( void  )
inline

Definition at line 266 of file engine.h.

principalVarT* Engine::GetPV ( void  )
inline

Definition at line 271 of file engine.h.

bool Engine::InPostMode ( void  )
inline

Definition at line 236 of file engine.h.

bool Engine::InXBoardMode ( void  )
inline

Definition at line 238 of file engine.h.

bool Engine::NoMatingMaterial ( void  )

Definition at line 1011 of file engine.cpp.

uint Engine::NumHashTableEntries ( void  )
inline

Definition at line 245 of file engine.h.

uint Engine::NumPawnTableEntries ( void  )
inline

Definition at line 246 of file engine.h.

uint Engine::PerfTest ( uint  depth)

Definition at line 2348 of file engine.cpp.

void Engine::PlayMove ( simpleMoveT move)

Definition at line 927 of file engine.cpp.

uint Engine::RepeatedPosition ( void  )

Definition at line 1056 of file engine.cpp.

void Engine::RetractMove ( void  )

Definition at line 947 of file engine.cpp.

int Engine::Score ( void  )

Definition at line 282 of file engine.cpp.

int Engine::ScoreMaterial ( void  )

Definition at line 313 of file engine.cpp.

void Engine::SetCallbackFunction ( bool(*)(Engine *, void *)  fn,
void *  data 
)
inline

Definition at line 254 of file engine.h.

void Engine::SetDebug ( bool  b)
inline

Definition at line 234 of file engine.h.

void Engine::SetHashTableKilobytes ( uint  sizeKB)

Definition at line 1080 of file engine.cpp.

void Engine::SetLogFile ( FILE *  fp)
inline

Definition at line 241 of file engine.h.

void Engine::SetMinDepthCheckTime ( uint  depth)
inline

Definition at line 231 of file engine.h.

void Engine::SetPawnTableKilobytes ( uint  sizeKB)

Definition at line 1103 of file engine.cpp.

void Engine::SetPosition ( Position pos)

Definition at line 1333 of file engine.cpp.

void Engine::SetPostMode ( bool  b)
inline

Definition at line 235 of file engine.h.

void Engine::SetPruning ( bool  b)
inline

Definition at line 239 of file engine.h.

void Engine::SetSearchDepth ( uint  ply)
inline

Definition at line 218 of file engine.h.

void Engine::SetSearchTime ( uint  ms)
inline

Definition at line 223 of file engine.h.

void Engine::SetSearchTime ( uint  min,
uint  ms,
uint  max 
)
inline

Definition at line 226 of file engine.h.

void Engine::SetXBoardMode ( bool  b)
inline

Definition at line 237 of file engine.h.

int Engine::Think ( MoveList mlist)

Definition at line 1376 of file engine.cpp.


The documentation for this class was generated from the following files: