Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-chess/src/solver.rs

cre8-app-chess · module solver · src · 1,076 lines (897 code, 108 comment) · sha b72b25b7b2045e42

Items

struct ChessSolvedMove impl ChessSolvedMove const DEFAULT_LEVEL const MIN_LEVEL const MAX_LEVEL struct LevelSpec struct SearchResult const INF const MATE const MATE_BOUND const MAX_PLY const TT_BITS const CENTRE const BOUND_EXACT const BOUND_LOWER const BOUND_UPPER struct TtEntry struct OrderedMove struct GenInfo struct Searcher impl Searcher const VALUE const PHASE const ORDER_VALUE const HILL_MG const HILL_EG const CHECKS_GIVEN const PAWN_MG const PAWN_EG const KNIGHT const BISHOP const ROOK const QUEEN const KING_MG const KING_EG

Functions

By call-graph weight (PageRank; 1.0 is the average function). 40 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
choose_move_atsrc/solver.rs:95fn284783.5
position_keysrc/solver.rs:863fn72201.6
choose_move_insrc/solver.rs:81fn31211.5
level_specsrc/solver.rs:64fn95501.4
splitmix64src/solver.rs:280fn61101.4
search_boardsrc/solver.rs:159fn6612481.3
seeded_indexsrc/solver.rs:267fn123211
replay_linesrc/solver.rs:126fn185321
choose_movesrc/solver.rs:75fn31311
gives_any_checksrc/solver.rs:931fn91101
mate_insrc/solver.rs:335fn31500.9
describe_choicesrc/solver.rs:287fn388140.9
order_scoresrc/solver.rs:906fn207100.8
Searcher::leavesrc/solver.rs:436method62300.7
Searcher::generatesrc/solver.rs:726method5216320.7
Searcher::keysrc/solver.rs:421method31210.7
pick_movesrc/solver.rs:232fn197140.6
Searcher::newsrc/solver.rs:389method151100.6
Searcher::primesrc/solver.rs:407method135110.6
Searcher::negamaxsrc/solver.rs:496method136541170.6
outranked_underpromotionsrc/solver.rs:252fn86100.6
move_sort_keysrc/solver.rs:261fn31100.6
table_indexsrc/solver.rs:943fn32100.6
hill_distancesrc/solver.rs:948fn42100.6
centre_distancesrc/solver.rs:954fn42100.6
manhattansrc/solver.rs:959fn31100.6
Searcher::entersrc/solver.rs:427method83200.6
Searcher::out_of_nodessrc/solver.rs:443method63200.6
Searcher::lost_by_variantsrc/solver.rs:451method83200.6
Searcher::wins_at_oncesrc/solver.rs:461method94210.6
Searcher::deadsrc/solver.rs:473method73210.6
Searcher::evaluatesrc/solver.rs:781method8026240.6
select_nextsrc/solver.rs:892fn134200.6
has_piecessrc/solver.rs:927fn31200.6
Searcher::repeatedsrc/solver.rs:483method124100.5
Searcher::quiescesrc/solver.rs:636method74241110.5
Searcher::reward_quietsrc/solver.rs:711method92100.5
score_to_ttsrc/solver.rs:871fn93100.5
score_from_ttsrc/solver.rs:881fn93100.5
ChessSolvedMove::to_jsonsrc/solver.rs:38method31000.5

Source not readable from this process.