1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-14 14:49:35 +00:00

Commit graph

  • 500c7f44ab Fix silly icc remark #2259 Marco Costalba 2011-08-12 10:53:32 +02:00
  • d156e7a20b Use a boolean instead as thread's state Marco Costalba 2011-08-10 12:12:10 +01:00
  • c386ce0023 Remove Thread::WORKISWAITING Marco Costalba 2011-08-10 12:05:33 +01:00
  • b69d9ee3f7 Don't need pthread_detach() after pthread_join() Marco Costalba 2011-08-09 21:08:55 +01:00
  • 7d5b8fcf77 Change start_routine argument Marco Costalba 2011-08-09 14:19:44 +01:00
  • bc6a6e04a0 Retire Rml full PV search at depth == 1 Marco Costalba 2011-08-04 14:14:56 +01:00
  • e5ffe9959c Retire ThreadsManager::init_hash_tables() Marco Costalba 2011-08-08 23:07:09 +01:00
  • 86b95f2105 Retire Thread::TERMINATED Marco Costalba 2011-08-08 21:25:37 +01:00
  • 1e92df6b20 Retire Thread::INITIALIZING Marco Costalba 2011-08-08 13:41:58 +01:00
  • ba85c59d96 Move idle_loop() under Thread Marco Costalba 2011-08-08 12:03:16 +01:00
  • dafd5b5864 Tidy up comments in thread.cpp Marco Costalba 2011-08-08 10:53:52 +01:00
  • eabba1119f Retire broken SendSearchedNodes Marco Costalba 2011-08-08 10:08:41 +01:00
  • 06e0d48794 Sync search() and qsearch() alpha update Marco Costalba 2011-08-07 10:29:47 +01:00
  • 4a71c86270 Retire Thread::BOOKED Marco Costalba 2011-08-07 19:56:53 +01:00
  • 68583f4d48 Fix obey the "maxThreadsPerSplitPoint" setting Marco Costalba 2011-08-07 15:15:19 +01:00
  • 5b35c149e8 Do not modify alpha in split() Marco Costalba 2011-08-07 09:24:40 +01:00
  • 9a542d9698 Initialize a new split point out of lock Marco Costalba 2011-08-06 19:11:35 +01:00
  • cd27ed9a74 Update comment on why we call root search with ss+1 Marco Costalba 2011-08-06 11:19:13 +01:00
  • b9f8cb7837 Fix an assert when stopping the search Marco Costalba 2011-08-06 10:56:06 +01:00
  • ffa150bec3 Split at root! Joona Kiiski 2011-08-06 09:43:46 +01:00
  • 13bc6ba2c6 Preparations for splitting at root Joona Kiiski 2011-08-06 09:15:46 +01:00
  • 30b3edf328 Simplify MovePickerExt<> Marco Costalba 2011-08-05 07:23:54 +01:00
  • 7902d6089e Fix silly bug in uci loop Marco Costalba 2011-08-05 07:15:45 +01:00
  • b6b0878da8 Fix a (silly) warning under icc compiler Marco Costalba 2011-08-04 10:10:03 +01:00
  • 3a76163aba Use std::lexicographical_compare() in UCI options Marco Costalba 2011-08-03 14:24:55 +01:00
  • 1e7c6fc761 Consistently set ttMove to Rml.pv[0] in root node Marco Costalba 2011-08-02 22:11:19 +01:00
  • c50ad85c3c Fix an off-by-one error in UCI print loop Marco Costalba 2011-08-02 21:44:22 +01:00
  • bb6a6e159a Rename ok_to_use_TT() in can_return_tt() Marco Costalba 2011-08-02 18:49:06 +01:00
  • 1036cadcec Send PV only for updated lines Marco Costalba 2011-08-02 17:59:06 +01:00
  • c71ae794df Sort PV moves always in two steps Marco Costalba 2011-08-02 09:53:56 +01:00
  • 409930e98c Small cleanup of previous patches Marco Costalba 2011-08-02 07:50:14 +01:00
  • b88f7df387 Reimplement MultiPV mode Joona Kiiski 2011-08-01 01:15:11 +03:00
  • adcfffceeb Reimplement support for "searchmoves" option Joona Kiiski 2011-07-31 15:18:52 +03:00
  • a3c1d64a5f Remove now unused RootMove.non_pv_score Joona Kiiski 2011-07-31 15:02:36 +03:00
  • ce24a229df Make root search to use standard MovePicker. Joona Kiiski 2011-07-31 00:00:54 +03:00
  • ce619b3b6c Don't probe TT at RootNode Joona Kiiski 2011-07-29 00:02:50 +03:00
  • 2e2a4b4ea3 Fix pretty_pv() output in Chess960 Marco Costalba 2011-07-26 09:47:20 +02:00
  • 7f519a2463 Fix PV output in Chess960 Joona Kiiski 2011-07-24 11:56:47 +01:00
  • ff1ecb5d6c Tidy up benchmark.cpp Marco Costalba 2011-07-24 08:26:35 +01:00
  • dab1cd8af9 Rename execute_uci_command() to uci_loop() Marco Costalba 2011-07-24 07:56:26 +01:00
  • 5b0c6b9bc0 Unhide the istringstream behind UCIParser Marco Costalba 2011-07-24 07:22:37 +01:00
  • fc290dc30b Fix startpos_ply_counter() regression Marco Costalba 2011-07-24 05:59:16 +01:00
  • 5f7eb20090 Use a circular buffer to keep track of setup states Marco Costalba 2011-07-23 12:52:49 +01:00
  • 03ad183384 Don't update gamePly after each move Marco Costalba 2011-07-20 10:45:40 +02:00
  • 527a2ec541 Use std::vector<Move> to store UCI search moves Marco Costalba 2011-07-20 10:21:41 +02:00
  • 3185c36a65 Use st->gamePly to store fullMoves Marco Costalba 2011-07-20 10:01:12 +02:00
  • 3d8140a541 Retire history[] Marco Costalba 2011-07-18 10:20:37 +02:00
  • a6fc3d6ee5 Do not exit early even when seeing mate Joona Kiiski 2011-07-23 22:18:28 +01:00
  • a1f9bf19d9 Revert previous patches due to bug Marco Costalba 2011-07-20 03:31:50 +01:00
  • 4ad6a3496b Move the draw check also for qsearch Joona Kiiski 2011-07-12 02:00:30 +03:00
  • 969ad8001c Move draw checks right after doing the move Joona Kiiski 2011-07-12 00:09:50 +03:00
  • 07e0dd27fb Small touches in set_option() Marco Costalba 2011-07-17 12:26:50 +01:00
  • b8eb699db7 Validate input UCI moves Marco Costalba 2011-07-17 10:22:08 +01:00
  • ad1f28bc1c Remove some useless include Marco Costalba 2011-07-16 22:59:14 +01:00
  • 67686b7684 Don't need to assert for pos.is_ok() when position is constant Marco Costalba 2011-07-16 10:42:27 +01:00
  • 69f4954df1 Change hidden checkers API Marco Costalba 2011-07-16 09:56:34 +01:00
  • 4894231ff7 Simplified discovered check connected_moves() Marco Costalba 2011-07-16 09:36:03 +01:00
  • 36bb57a47e Simplify and micro-optimize hidden_checkers() Marco Costalba 2011-07-15 22:24:18 +01:00
  • a042449f5d No need to declare default Position c'tor Marco Costalba 2011-07-15 21:51:19 +01:00
  • f5e434c2d9 Fix a warning under MSVC Marco Costalba 2011-07-15 12:20:31 +01:00
  • 37d551fb39 Fix parametrized direction in pawns generation Marco Costalba 2011-07-15 11:40:09 +02:00
  • 9c8c0de538 Cleanup handling of Delta enums Marco Costalba 2011-07-15 11:19:49 +02:00
  • fbdabe2975 Use std library to sort moves Marco Costalba 2011-07-14 12:12:49 +01:00
  • 0cfb30e5be Fix icc's "unreachable code" warning Marco Costalba 2011-07-11 11:17:50 +01:00
  • c081a81daf Teach to_fen() about Halfmove and Fullmove number Marco Costalba 2011-07-03 11:32:34 +01:00
  • 155bed18f5 Use MoveList also in Position::move_is_pl_slow() Marco Costalba 2011-07-03 10:38:20 +01:00
  • 95d9687d95 Retire move_is_short_castle() and move_is_long_castle() Marco Costalba 2011-07-03 10:08:09 +01:00
  • ff41b8df76 Restore startpos_ply_counter() instead of full_moves() Marco Costalba 2011-07-02 16:15:20 +01:00
  • 53ccba8457 Introduce and use struct MoveList Marco Costalba 2011-07-02 13:33:06 +01:00
  • 7ac6e3b850 Remove MSVC debug window hack in bench Marco Costalba 2011-07-02 11:52:22 +01:00
  • d15217b953 Rearrange structs to avoid internal padding Marco Costalba 2011-07-02 11:01:12 +01:00
  • bc54a44010 Revert PHQ-2 Marco Costalba 2011-07-02 09:45:41 +01:00
  • 3f806df0ca Small touches to do/undo_castle_move() Marco Costalba 2011-06-30 16:28:58 +02:00
  • f3799aa750 Better document generate_castle_moves() Marco Costalba 2011-06-30 10:29:58 +02:00
  • 30ca6935a5 Small tweaks to search() Marco Costalba 2011-06-25 14:31:57 +01:00
  • f25582d4b8 Remove duplicated enum Phase definition Marco Costalba 2011-06-29 17:40:33 +01:00
  • fb2fdb21d3 Retire find_checkers() Marco Costalba 2011-06-28 18:01:51 +01:00
  • 31a0d2200c Retire square_is_weak() Marco Costalba 2011-06-28 16:25:44 +02:00
  • e0a00c4996 Retire one piece_list() overload Marco Costalba 2011-06-28 16:16:43 +02:00
  • e5077dc11e Rename pieces_of_color() in pieces() Marco Costalba 2011-06-28 15:36:39 +02:00
  • 01a191936e Retire redundant square_is_occupied() Marco Costalba 2011-06-28 15:29:58 +02:00
  • 8094b2add8 Change Position::pst() signature Marco Costalba 2011-06-28 14:59:33 +02:00
  • ffb638995d Fix Shredder-FEN regression in from_fen() Marco Costalba 2011-06-28 09:35:51 +02:00
  • c2a4856f9e Greatly simplify castling rights handling Marco Costalba 2011-06-27 16:06:15 +01:00
  • c9b24c3358 Assume input FEN string is correct in from_fen() Marco Costalba 2011-06-27 10:07:57 +01:00
  • 9305983018 Fix a bug in Position::is_ok() Marco Costalba 2011-06-26 11:42:58 +01:00
  • ae2f5f25cd Rename type_of_piece() and color_of_piece() Marco Costalba 2011-06-26 10:52:42 +01:00
  • 923b14afaa Retire Position::color_of_piece_on() Marco Costalba 2011-06-26 10:37:13 +01:00
  • a9782b94e6 Retire Position::type_of_piece_on() Marco Costalba 2011-06-26 10:28:54 +01:00
  • 351ef5c85b Retire seeValues[] and move PieceValue[] out of Position Marco Costalba 2011-06-26 10:16:31 +01:00
  • be2925b3c5 Restore user weights to 100 Marco Costalba 2011-06-24 10:22:26 +01:00
  • ace27831ee PHQ settings for King and Mobility Marco Costalba 2011-06-18 23:48:42 +01:00
  • 6a1707889c Fix move_is_capture() to detect capture promotions Marco Costalba 2011-06-22 23:04:57 +01:00
  • 1c42d15340 Rewrite how uci info is sent to GUI Marco Costalba 2011-06-22 07:03:28 +01:00
  • fe26967ea0 Simplify sliding_attacks() Marco Costalba 2011-06-21 18:48:14 +01:00
  • e7413417ce Retire ksq from CheckInfo Marco Costalba 2011-06-21 08:52:35 +02:00
  • 018022b866 Use CheckInfo to store pinned bitboard Marco Costalba 2011-06-20 09:46:31 +02:00
  • 7ea38e980b Omit mate distance pruning at root Marco Costalba 2011-06-18 17:10:29 +01:00
  • 8173d92dd2 Use an array index instead of an iterator in root list Marco Costalba 2011-06-18 07:43:25 +01:00
  • 808a4fe817 Remove useless bestValue = alpha assignement Marco Costalba 2011-06-15 12:31:27 +01:00