RustySantorini / santorini-engines

1 stars 0 forks source link

Add a "time_spent" and "depth" fields in SearchResult #36

Closed PaMeirelles closed 9 months ago

PaMeirelles commented 9 months ago
pub struct SearchResult{
    pub mv: Move,
    pub eval: Option<isize>,
    pub pv: Option<Vec<Move>>,
}

Both should be options, as we don't want to force every engine to implement it, but should be really useful to benchmark performance.