pub struct TreeResult {
pub name: String,
pub root_expected_value: f64,
pub node_results: HashMap<String, NodeResult>,
pub optimal_path: Vec<String>,
pub decision_policy: HashMap<String, String>,
pub risk_profile: RiskProfile,
}Expand description
Complete tree analysis result
Fields§
§name: StringTree name
root_expected_value: f64Expected value at root
node_results: HashMap<String, NodeResult>Node results
optimal_path: Vec<String>Optimal decision path
decision_policy: HashMap<String, String>Decision policy (what to choose at each decision node)
risk_profile: RiskProfileRisk profile
Implementations§
Trait Implementations§
Source§impl Clone for TreeResult
impl Clone for TreeResult
Source§fn clone(&self) -> TreeResult
fn clone(&self) -> TreeResult
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 TreeResult
impl Debug for TreeResult
Source§impl<'de> Deserialize<'de> for TreeResult
impl<'de> Deserialize<'de> for TreeResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TreeResult
impl RefUnwindSafe for TreeResult
impl Send for TreeResult
impl Sync for TreeResult
impl Unpin for TreeResult
impl UnsafeUnpin for TreeResult
impl UnwindSafe for TreeResult
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