pub struct BackwardResult {
pub strategy: Strategy,
pub values: HashMap<NodeId, Vec<f64>>,
}Expand description
Result of backward induction: optimal action and expected payoff.
Fields§
§strategy: StrategyOptimal action index at each decision node.
values: HashMap<NodeId, Vec<f64>>Expected payoffs at each node after solving.
Trait Implementations§
Source§impl Clone for BackwardResult
impl Clone for BackwardResult
Source§fn clone(&self) -> BackwardResult
fn clone(&self) -> BackwardResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackwardResult
impl RefUnwindSafe for BackwardResult
impl Send for BackwardResult
impl Sync for BackwardResult
impl Unpin for BackwardResult
impl UnsafeUnpin for BackwardResult
impl UnwindSafe for BackwardResult
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