pub struct Solver {
pub tool: Option<String>,
pub method: Option<String>,
pub seed: Option<u64>,
pub nodes_explored: Option<u64>,
pub elapsed_secs: Option<f64>,
}Expand description
Provenance of the automated search that produced a game. Every field is optional; the block as a whole is omitted for records not made by a solver.
Fields§
§tool: Option<String>The search tool/engine that produced the game (a name or brand, e.g.
"morpion-solitaire.io"). Distinct from the file-level producer, which
is the program that wrote the file (name/version).
method: Option<String>Method + parameters that produced the game, e.g. "nrpa L3" or
"nrpa-seeded L3 warm-from=178". Does not carry the RNG seed, which
has its own field below.
seed: Option<u64>RNG seed, for reproducibility.
nodes_explored: Option<u64>Search effort that produced the game, in nodes.
elapsed_secs: Option<f64>Wall-clock seconds of the producing search.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Solver
impl<'de> Deserialize<'de> for Solver
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Solver
Auto Trait Implementations§
impl Freeze for Solver
impl RefUnwindSafe for Solver
impl Send for Solver
impl Sync for Solver
impl Unpin for Solver
impl UnsafeUnpin for Solver
impl UnwindSafe for Solver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more