Struct nyx_space::md::opti::multipleshooting::multishoot::MultipleShootingSolution
source · pub struct MultipleShootingSolution<T: MultishootNode<O>, const O: usize> {
pub x0: Spacecraft,
pub xf: Orbit,
pub nodes: Vec<T>,
pub solutions: Vec<TargeterSolution<3, O>>,
}
Fields§
§x0: Spacecraft
§xf: Orbit
§nodes: Vec<T>
§solutions: Vec<TargeterSolution<3, O>>
Implementations§
source§impl<T: MultishootNode<O>, const O: usize> MultipleShootingSolution<T, O>
impl<T: MultishootNode<O>, const O: usize> MultipleShootingSolution<T, O>
sourcepub fn build_trajectories<'a, E: ErrorCtrl>(
&self,
prop: &'a Propagator<'a, SpacecraftDynamics<'_>, E>
) -> Result<Vec<ScTraj>, NyxError>
pub fn build_trajectories<'a, E: ErrorCtrl>( &self, prop: &'a Propagator<'a, SpacecraftDynamics<'_>, E> ) -> Result<Vec<ScTraj>, NyxError>
Allows building the trajectories between different nodes This will rebuild the targeters and apply the solutions sequentially
Trait Implementations§
source§impl<T: Clone + MultishootNode<O>, const O: usize> Clone for MultipleShootingSolution<T, O>
impl<T: Clone + MultishootNode<O>, const O: usize> Clone for MultipleShootingSolution<T, O>
source§fn clone(&self) -> MultipleShootingSolution<T, O>
fn clone(&self) -> MultipleShootingSolution<T, O>
Returns a copy 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<T: Debug + MultishootNode<O>, const O: usize> Debug for MultipleShootingSolution<T, O>
impl<T: Debug + MultishootNode<O>, const O: usize> Debug for MultipleShootingSolution<T, O>
Auto Trait Implementations§
impl<T, const O: usize> RefUnwindSafe for MultipleShootingSolution<T, O>where T: RefUnwindSafe,
impl<T, const O: usize> Send for MultipleShootingSolution<T, O>where T: Send,
impl<T, const O: usize> Sync for MultipleShootingSolution<T, O>where T: Sync,
impl<T, const O: usize> Unpin for MultipleShootingSolution<T, O>where T: Unpin,
impl<T, const O: usize> UnwindSafe for MultipleShootingSolution<T, O>where T: UnwindSafe,
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Printing<T> for Twhere
T: Display,
impl<T> Printing<T> for Twhere T: Display,
§fn to_str(self) -> String
fn to_str(self) -> String
Method to serialize.
Decorates Vecs with square brackets and tuples with round ones.
Implementation code is in
printing.rs
. §fn to_plainstr(self) -> String
fn to_plainstr(self) -> String
Method to serialize in minimal form (space separated, no brackets)
Implementation code is in
printing.rs
.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.