along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if !defined(THREAD_H_INCLUDED)
+#ifndef THREAD_H_INCLUDED
#define THREAD_H_INCLUDED
#include <vector>
Value beta;
int nodeType;
Move threatMove;
+ bool cutNode;
// Const pointers to shared data
MovePicker* movePicker;
template <bool Fake>
void split(Position& pos, Search::Stack* ss, Value alpha, Value beta, Value* bestValue, Move* bestMove,
- Depth depth, Move threatMove, int moveCount, MovePicker* movePicker, int nodeType);
+ Depth depth, Move threatMove, int moveCount, MovePicker* movePicker, int nodeType, bool cutNode);
SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
Material::Table materialTable;
void read_uci_options();
Thread* available_slave(Thread* master) const;
void wait_for_think_finished();
- void start_thinking(const Position&, const Search::LimitsType&, const std::vector<Move>&,
- Search::StateStackPtr&, Search::MovesVectPtr&);
+ void start_thinking(const Position&, const Search::LimitsType&,
+ const std::vector<Move>&, Search::StateStackPtr&);
bool sleepWhileIdle;
Depth minimumSplitDepth;
extern ThreadPool Threads;
-#endif // !defined(THREAD_H_INCLUDED)
+#endif // #ifndef THREAD_H_INCLUDED