pub struct OptimalTrajectory {
pub steps: Vec<TrajectoryStep>,
pub total_permanent_cost: f64,
pub total_temporary_cost: f64,
pub total_expected_cost: f64,
pub cost_variance: f64,
pub objective: f64,
}Expand description
The full optimal execution schedule.
Fields§
§steps: Vec<TrajectoryStep>Ordered sequence of execution steps.
total_permanent_cost: f64Total expected permanent impact cost over the horizon.
total_temporary_cost: f64Total expected temporary impact cost over the horizon.
total_expected_cost: f64Total expected execution cost (permanent + temporary).
cost_variance: f64Variance of the execution cost (before risk-aversion weighting).
objective: f64Efficient frontier objective value: E[cost] + λ·Var[cost].
Trait Implementations§
Source§impl Clone for OptimalTrajectory
impl Clone for OptimalTrajectory
Source§impl Debug for OptimalTrajectory
impl Debug for OptimalTrajectory
Source§impl<'de> Deserialize<'de> for OptimalTrajectory
impl<'de> Deserialize<'de> for OptimalTrajectory
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 OptimalTrajectory
impl RefUnwindSafe for OptimalTrajectory
impl Send for OptimalTrajectory
impl Sync for OptimalTrajectory
impl Unpin for OptimalTrajectory
impl UnsafeUnpin for OptimalTrajectory
impl UnwindSafe for OptimalTrajectory
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