MCPcopy Create free account
hub / github.com/dhbloo/rapfi / evaluateBasic

Function evaluateBasic

Rapfi/eval/eval.cpp:73–76  ·  view source on GitHub ↗

Evaluates basic patterns on board.

Source from the content-addressed store, hash-verified

71
72/// Evaluates basic patterns on board.
73inline Value evaluateBasic(const StateInfo &st, Color self)
74{
75 return self == BLACK ? st.valueBlack : -st.valueBlack;
76}
77
78/// Finds a margin for switching to classical evaluation if
79/// it falls outside alpha-beta window with this margin.

Callers 1

evaluateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected