Skip to main content

SearchVisitStats

Trait SearchVisitStats 

Source
pub trait SearchVisitStats {
    // Required method
    fn visited_nodes(&self) -> usize;
}
Expand description

Search statistics that expose an algorithm-defined node-visit count.

“Node” meaning is algorithm-specific (expanded cells, graph vertices, taut path keys, …); values are comparable within one solver, not across lanes.

Required Methods§

Source

fn visited_nodes(&self) -> usize

Returns the number of nodes visited by the search.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§