Skip to content

Commit

Permalink
chore: remove uniform policy as handcrafted is provably better
Browse files Browse the repository at this point in the history
ELO   | 57.72 +- 18.99 (95%)
LLR   | 2.95 (-2.94, 2.94) [0.00, 5.00]
GAMES | N: 1300 W: 757 L: 543 D: 0
  • Loading branch information
raklaptudirm committed May 31, 2024
1 parent 2c72826 commit 6aff469
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mcts/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ use ataxx::{BitBoard, Move, MoveStore};

pub type Fn = fn(node: &Node, mov: Move) -> f64;

pub fn uniform(node: &Node, _mov: Move) -> f64 {
1.0 / node.edges.len() as f64
}

pub fn handcrafted(node: &Node, mov: Move) -> f64 {
let mut score = 0.0;

Expand Down

0 comments on commit 6aff469

Please sign in to comment.