pub struct CrrNode {
pub step: usize,
pub up_moves: usize,
pub stock: f64,
pub option: f64,
pub exercise: f64,
pub continuation: f64,
pub early_exercise: bool,
}Expand description
One node for teaching tables.
Fields§
§step: usize§up_moves: usize§stock: f64§option: f64§exercise: f64§continuation: f64§early_exercise: boolTrue if American and exercise > continuation (within eps).
Trait Implementations§
impl Copy for CrrNode
impl StructuralPartialEq for CrrNode
Auto Trait Implementations§
impl Freeze for CrrNode
impl RefUnwindSafe for CrrNode
impl Send for CrrNode
impl Sync for CrrNode
impl Unpin for CrrNode
impl UnsafeUnpin for CrrNode
impl UnwindSafe for CrrNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more