pub struct ProofStats {
pub total_nodes: usize,
pub axiom_count: usize,
pub inference_count: usize,
pub max_depth: u32,
pub avg_depth: f64,
pub root_count: usize,
pub max_premises: usize,
pub avg_premises: f64,
pub leaf_count: usize,
}Expand description
Statistics about a proof
Fields§
§total_nodes: usizeTotal number of nodes
axiom_count: usizeNumber of axiom nodes
inference_count: usizeNumber of inference nodes
max_depth: u32Maximum depth in the proof tree
avg_depth: f64Average depth
root_count: usizeNumber of root nodes
max_premises: usizeMaximum number of premises for a single inference
avg_premises: f64Average number of premises per inference
leaf_count: usizeNumber of nodes with no dependents (leaves)
Trait Implementations§
Source§impl Clone for ProofStats
impl Clone for ProofStats
Source§fn clone(&self) -> ProofStats
fn clone(&self) -> ProofStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProofStats
impl Debug for ProofStats
Source§impl Display for ProofStats
impl Display for ProofStats
impl Copy for ProofStats
Auto Trait Implementations§
impl Freeze for ProofStats
impl RefUnwindSafe for ProofStats
impl Send for ProofStats
impl Sync for ProofStats
impl Unpin for ProofStats
impl UnsafeUnpin for ProofStats
impl UnwindSafe for ProofStats
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