Struct alcibiades::SearchReport
[−]
[src]
pub struct SearchReport<T> { pub search_id: usize, pub searched_nodes: u64, pub depth: Depth, pub value: Value, pub done: bool, pub data: T, }
A progress report from a search.
Fields
search_id: usize
The ID assigned to the search.
Should be the same for all reports from a given search.
searched_nodes: u64
The number of positions searched so far.
Should be no lesser than the value sent in the previous report.
depth: Depth
The search depth completed so far.
Should be no lesser than 0
. Also, no lesser than the value
sent in the previous report, and no greater than the requested
search depth. If the search has not been forcefully stopped,
the last reported depth
should be the requested search
depth.
Note: Depth-first searches should send 0
in all reports
except the last one.
value: Value
The evaluation of the root position so far, or VALUE_UNKNOWN
if not available.
If the search has not been forcefully stopped, the last report should contain the calculated final evaluation.
Note: Depth-first searches should send VALUE_UNKNOWN
in
all reports except the last one.
done: bool
Whether the search is done.
Should be false
for all reports except the last one.
data: T
Auxiliary data.
For example, this may contain calculated principal variation(s).
Trait Implementations
impl<T: Clone> Clone for SearchReport<T>
[src]
fn clone(&self) -> SearchReport<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more