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
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| choose_move_atsrc/solver.rs:95 | fn | 28 | 4 | 7 | 8 | 3.5 | |
| position_keysrc/solver.rs:863 | fn | 7 | 2 | 2 | 0 | 1.6 | |
| choose_move_insrc/solver.rs:81 | fn | 3 | 1 | 2 | 1 | 1.5 | |
| level_specsrc/solver.rs:64 | fn | 9 | 5 | 5 | 0 | 1.4 | |
| splitmix64src/solver.rs:280 | fn | 6 | 1 | 1 | 0 | 1.4 | |
| search_boardsrc/solver.rs:159 | fn | 66 | 12 | 4 | 8 | 1.3 | |
| seeded_indexsrc/solver.rs:267 | fn | 12 | 3 | 2 | 1 | 1 | |
| replay_linesrc/solver.rs:126 | fn | 18 | 5 | 3 | 2 | 1 | |
| choose_movesrc/solver.rs:75 | fn | 3 | 1 | 3 | 1 | 1 | |
| gives_any_checksrc/solver.rs:931 | fn | 9 | 1 | 1 | 0 | 1 | |
| mate_insrc/solver.rs:335 | fn | 3 | 1 | 5 | 0 | 0.9 | |
| describe_choicesrc/solver.rs:287 | fn | 38 | 8 | 1 | 4 | 0.9 | |
| order_scoresrc/solver.rs:906 | fn | 20 | 7 | 1 | 0 | 0.8 | |
| Searcher::leavesrc/solver.rs:436 | method | 6 | 2 | 3 | 0 | 0.7 | |
| Searcher::generatesrc/solver.rs:726 | method | 52 | 16 | 3 | 2 | 0.7 | |
| Searcher::keysrc/solver.rs:421 | method | 3 | 1 | 2 | 1 | 0.7 | |
| pick_movesrc/solver.rs:232 | fn | 19 | 7 | 1 | 4 | 0.6 | |
| Searcher::newsrc/solver.rs:389 | method | 15 | 1 | 1 | 0 | 0.6 | |
| Searcher::primesrc/solver.rs:407 | method | 13 | 5 | 1 | 1 | 0.6 | |
| Searcher::negamaxsrc/solver.rs:496 | method | 136 | 54 | 1 | 17 | 0.6 | |
| outranked_underpromotionsrc/solver.rs:252 | fn | 8 | 6 | 1 | 0 | 0.6 | |
| move_sort_keysrc/solver.rs:261 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| table_indexsrc/solver.rs:943 | fn | 3 | 2 | 1 | 0 | 0.6 | |
| hill_distancesrc/solver.rs:948 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| centre_distancesrc/solver.rs:954 | fn | 4 | 2 | 1 | 0 | 0.6 | |
| manhattansrc/solver.rs:959 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| Searcher::entersrc/solver.rs:427 | method | 8 | 3 | 2 | 0 | 0.6 | |
| Searcher::out_of_nodessrc/solver.rs:443 | method | 6 | 3 | 2 | 0 | 0.6 | |
| Searcher::lost_by_variantsrc/solver.rs:451 | method | 8 | 3 | 2 | 0 | 0.6 | |
| Searcher::wins_at_oncesrc/solver.rs:461 | method | 9 | 4 | 2 | 1 | 0.6 | |
| Searcher::deadsrc/solver.rs:473 | method | 7 | 3 | 2 | 1 | 0.6 | |
| Searcher::evaluatesrc/solver.rs:781 | method | 80 | 26 | 2 | 4 | 0.6 | |
| select_nextsrc/solver.rs:892 | fn | 13 | 4 | 2 | 0 | 0.6 | |
| has_piecessrc/solver.rs:927 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| Searcher::repeatedsrc/solver.rs:483 | method | 12 | 4 | 1 | 0 | 0.5 | |
| Searcher::quiescesrc/solver.rs:636 | method | 74 | 24 | 1 | 11 | 0.5 | |
| Searcher::reward_quietsrc/solver.rs:711 | method | 9 | 2 | 1 | 0 | 0.5 | |
| score_to_ttsrc/solver.rs:871 | fn | 9 | 3 | 1 | 0 | 0.5 | |
| score_from_ttsrc/solver.rs:881 | fn | 9 | 3 | 1 | 0 | 0.5 | |
| ChessSolvedMove::to_jsonsrc/solver.rs:38 | method | 3 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.