pub struct Stats {
pub backups: u64,
pub trials: u64,
pub sweeps: u64,
pub expanded: u64,
pub states: u64,
}Expand description
Counters collected during one run of an algorithm.
Fields§
§backups: u64Bellman backups that wrote a value. The solved checks of LRTDP, RTDP, LAO* and iLAO* also evaluate the Bellman equation; those evaluations count here too, since they cost the same.
trials: u64LRTDP, RTDP, BRTDP, FRTDP and VPI-RTDP trials started. Always 0 for value iteration,
LAO* and iLAO*.
sweeps: u64Value iteration sweeps over the state space, iLAO* passes over the greedy graph, or LAO*
sweeps over ancestor sets and the solution graph.
Always 0 for LRTDP and RTDP.
expanded: u64States whose actions and outcomes were queried from the MDP.
states: u64Distinct states stored, expanded or not, including goals and dead ends.
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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