Scid  4.7.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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::Engine ( )
inline

Definition at line 187 of file engine.h.

◆ ~Engine()

Engine::~Engine ( )
inline

Definition at line 216 of file engine.h.

Member Function Documentation

◆ ClearHashTable()

void Engine::ClearHashTable ( void  )

Definition at line 1128 of file engine.cpp.

◆ ClearHashTables()

void Engine::ClearHashTables ( void  )
inline

Definition at line 249 of file engine.h.

◆ ClearPawnTable()

void Engine::ClearPawnTable ( void  )

Definition at line 1140 of file engine.cpp.

◆ ElapsedTime()

uint Engine::ElapsedTime ( void  )
inline

Definition at line 273 of file engine.h.

◆ FiftyMoveDraw()

bool Engine::FiftyMoveDraw ( void  )

Definition at line 1033 of file engine.cpp.

◆ GetNodeCount()

uint Engine::GetNodeCount ( void  )
inline

Definition at line 259 of file engine.h.

◆ GetPosition()

Position* Engine::GetPosition ( void  )
inline

Definition at line 266 of file engine.h.

◆ GetPV()

principalVarT* Engine::GetPV ( void  )
inline

Definition at line 271 of file engine.h.

◆ InPostMode()

bool Engine::InPostMode ( void  )
inline

Definition at line 236 of file engine.h.

◆ InXBoardMode()

bool Engine::InXBoardMode ( void  )
inline

Definition at line 238 of file engine.h.

◆ NoMatingMaterial()

bool Engine::NoMatingMaterial ( void  )

Definition at line 1014 of file engine.cpp.

◆ NumHashTableEntries()

uint Engine::NumHashTableEntries ( void  )
inline

Definition at line 245 of file engine.h.

◆ NumPawnTableEntries()

uint Engine::NumPawnTableEntries ( void  )
inline

Definition at line 246 of file engine.h.

◆ PerfTest()

uint Engine::PerfTest ( uint  depth)

Definition at line 2351 of file engine.cpp.

◆ PlayMove()

void Engine::PlayMove ( simpleMoveT move)

Definition at line 930 of file engine.cpp.

◆ RepeatedPosition()

uint Engine::RepeatedPosition ( void  )

Definition at line 1059 of file engine.cpp.

◆ RetractMove()

void Engine::RetractMove ( void  )

Definition at line 950 of file engine.cpp.

◆ Score()

int Engine::Score ( void  )

Definition at line 285 of file engine.cpp.

◆ ScoreMaterial()

int Engine::ScoreMaterial ( void  )

Definition at line 316 of file engine.cpp.

◆ SetCallbackFunction()

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

Definition at line 254 of file engine.h.

◆ SetDebug()

void Engine::SetDebug ( bool  b)
inline

Definition at line 234 of file engine.h.

◆ SetHashTableKilobytes()

void Engine::SetHashTableKilobytes ( uint  sizeKB)

Definition at line 1083 of file engine.cpp.

◆ SetLogFile()

void Engine::SetLogFile ( FILE *  fp)
inline

Definition at line 241 of file engine.h.

◆ SetMinDepthCheckTime()

void Engine::SetMinDepthCheckTime ( uint  depth)
inline

Definition at line 231 of file engine.h.

◆ SetPawnTableKilobytes()

void Engine::SetPawnTableKilobytes ( uint  sizeKB)

Definition at line 1106 of file engine.cpp.

◆ SetPosition()

void Engine::SetPosition ( Position pos)

Definition at line 1336 of file engine.cpp.

◆ SetPostMode()

void Engine::SetPostMode ( bool  b)
inline

Definition at line 235 of file engine.h.

◆ SetPruning()

void Engine::SetPruning ( bool  b)
inline

Definition at line 239 of file engine.h.

◆ SetSearchDepth()

void Engine::SetSearchDepth ( uint  ply)
inline

Definition at line 218 of file engine.h.

◆ SetSearchTime() [1/2]

void Engine::SetSearchTime ( uint  ms)
inline

Definition at line 223 of file engine.h.

◆ SetSearchTime() [2/2]

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

Definition at line 226 of file engine.h.

◆ SetXBoardMode()

void Engine::SetXBoardMode ( bool  b)
inline

Definition at line 237 of file engine.h.

◆ Think()

int Engine::Think ( MoveList mlist)

Definition at line 1379 of file engine.cpp.


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