pub struct GateActuatorBatch<R: Runtime<DType = DType>> { /* private fields */ }Expand description
Accepted persistent ideal response state bound to the complete actual structure context.
Implementations§
Source§impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
Sourcepub fn elements(&self) -> &[StructureElement]
pub fn elements(&self) -> &[StructureElement]
Complete bound original structure definitions in their original order.
Sourcepub fn definitions(&self) -> &[GateActuatorDefinition]
pub fn definitions(&self) -> &[GateActuatorDefinition]
Immutable ordered actuator definitions and explicit policies.
Sourcepub fn initial_states(&self) -> &[GateActuatorInitialState]
pub fn initial_states(&self) -> &[GateActuatorInitialState]
Original supplied initial positions and targets without bit normalization.
Sourcepub fn schedule(&self) -> &GateActuatorSchedule
pub fn schedule(&self) -> &GateActuatorSchedule
Original finite target calendar and supported horizon.
Sourcepub fn accepted_steps(&self) -> usize
pub fn accepted_steps(&self) -> usize
Number of accepted positive-duration response intervals.
Sourcepub fn next_event(&self) -> Result<Option<GateActuatorEvent>, StructureError>
pub fn next_event(&self) -> Result<Option<GateActuatorEvent>, StructureError>
Next strictly later target, arrival boundary, or terminal event. Terminal state returns None.
Sourcepub fn trial_to(
&self,
end_s: f64,
target_updates: &[GateTargetUpdate],
) -> Result<GateActuatorTrial<R>, StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
pub fn trial_to(
&self,
end_s: f64,
target_updates: &[GateTargetUpdate],
) -> Result<GateActuatorTrial<R>, StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
Produce a complete candidate without crossing any original command or arrival event.
Source§impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
Sourcepub fn outputs(&self) -> Result<Vec<GateActuatorOutput>, StructureError>
pub fn outputs(&self) -> Result<Vec<GateActuatorOutput>, StructureError>
Explicitly project current actual opening and certified support.
Sourcepub fn states(&self) -> Result<Vec<GateActuatorState>, StructureError>
pub fn states(&self) -> Result<Vec<GateActuatorState>, StructureError>
Explicitly project every continuation-relevant actuator value.
Sourcepub fn last_step(
&self,
) -> Result<Option<GateActuatorStepDiagnostics>, StructureError>
pub fn last_step( &self, ) -> Result<Option<GateActuatorStepDiagnostics>, StructureError>
Explicitly project the bounded last accepted interval.
Source§impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
Sourcepub fn snapshot(&self) -> GateActuatorSnapshot<R>
pub fn snapshot(&self) -> GateActuatorSnapshot<R>
Clone complete trusted continuation without derived array readback.
Sourcepub fn snapshot_data(&self) -> Result<GateActuatorSnapshotData, StructureError>
pub fn snapshot_data(&self) -> Result<GateActuatorSnapshotData, StructureError>
Explicitly project complete original inputs and bounded accepted receipts.
Source§impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
impl<R: Runtime<DType = DType>> GateActuatorBatch<R>
Sourcepub fn restore(
&mut self,
snapshot: &GateActuatorSnapshot<R>,
) -> Result<(), StructureError>
pub fn restore( &mut self, snapshot: &GateActuatorSnapshot<R>, ) -> Result<(), StructureError>
Restore trusted tensors while retaining the complete destination context.
Sourcepub fn restore_data(
&mut self,
data: &GateActuatorSnapshotData,
) -> Result<(), StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
pub fn restore_data(
&mut self,
data: &GateActuatorSnapshotData,
) -> Result<(), StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
Check complete caller-owned continuation before atomically replacing accepted values.
Trait Implementations§
Auto Trait Implementations§
impl<R> !RefUnwindSafe for GateActuatorBatch<R>
impl<R> !UnwindSafe for GateActuatorBatch<R>
impl<R> Forget for GateActuatorBatch<R>
impl<R> Freeze for GateActuatorBatch<R>
impl<R> Move for GateActuatorBatch<R>
impl<R> Send for GateActuatorBatch<R>
impl<R> Sync for GateActuatorBatch<R>
impl<R> Unpin for GateActuatorBatch<R>
impl<R> UnsafeUnpin for GateActuatorBatch<R>where
Arc<TensorActuatorContext<R>>: UnsafeUnpin,
TensorActuatorState<R>: UnsafeUnpin,
Option<Arc<TensorActuatorStep<R>>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
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> ⓘ
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> ⓘ
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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.