Struct nyx_space::md::targeter::TargeterSolution [−][src]
pub struct TargeterSolution { pub state: Spacecraft, pub correction: DVector<f64>, pub variables: Vec<Variable>, pub achievement_epoch: Epoch, pub achieved_errors: Vec<f64>, pub achieved_objectives: Vec<Objective>, pub iterations: usize, pub computation_dur: Duration, }
Expand description
Defines a targeter solution
Fields
state: Spacecraft
The corrected spacecraft state at the correction epoch
correction: DVector<f64>
The correction vector applied
variables: Vec<Variable>
The kind of correction (position or velocity)
achievement_epoch: Epoch
The epoch at which the objectives are achieved
achieved_errors: Vec<f64>
The errors achieved
achieved_objectives: Vec<Objective>
The objectives set in the targeter
iterations: usize
The number of iterations required
computation_dur: Duration
Computation duration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TargeterSolution
impl Send for TargeterSolution
impl Sync for TargeterSolution
impl Unpin for TargeterSolution
impl UnwindSafe for TargeterSolution
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V