pub struct TreeStats {
pub simulations: u64,
pub nodes: u64,
pub backups: u64,
pub steps: u64,
pub depth: u64,
}Expand description
Counters collected during one call of a tree planner (pomcp,
despot), returned in Plan::stats and given
to the budget.
Fields§
§simulations: u64POMCP simulations or DESPOT explorations started.
nodes: u64Nodes in the tree: POMCP history nodes, DESPOT belief nodes. After a re-rooting by tree reuse, only the kept nodes.
backups: u64Node value updates: POMCP action-node updates along each simulation’s path, DESPOT belief-node backups.
steps: u64Calls of Pomdp::step, in the tree, in rollouts and in
default-policy simulations.
depth: u64The depth of the deepest tree node, counted from the current root.
Trait Implementations§
Source§impl Budget<TreeStats> for Limits
For the tree planners, Limits::max_trials caps TreeStats::simulations,
Limits::max_states caps TreeStats::nodes and Limits::max_backups caps
TreeStats::backups.
impl Budget<TreeStats> for Limits
For the tree planners, Limits::max_trials caps TreeStats::simulations,
Limits::max_states caps TreeStats::nodes and Limits::max_backups caps
TreeStats::backups.
impl Copy for TreeStats
impl Eq for TreeStats
impl StructuralPartialEq for TreeStats
Auto Trait Implementations§
impl Forget for TreeStats
impl Freeze for TreeStats
impl Move for TreeStats
impl RefUnwindSafe for TreeStats
impl Send for TreeStats
impl Sync for TreeStats
impl Unpin for TreeStats
impl UnsafeUnpin for TreeStats
impl UnwindSafe for TreeStats
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