pub struct FunctionAutomaton { /* private fields */ }Expand description
Функциональный автомат (stateless)
Implementations§
Trait Implementations§
Source§impl Automaton for FunctionAutomaton
impl Automaton for FunctionAutomaton
Source§fn step(
&self,
time: Time,
_action: &Self::Action,
_state: &Self::State,
) -> (Self::State, Option<f64>)
fn step( &self, time: Time, _action: &Self::Action, _state: &Self::State, ) -> (Self::State, Option<f64>)
Advance the automaton by one time step. Read more
Source§fn initial_state(&self) -> Self::State
fn initial_state(&self) -> Self::State
Return the initial state.
Source§fn extract_value(&self, state: &Self::State) -> f64
fn extract_value(&self, state: &Self::State) -> f64
Extract the output value from the state.
Source§impl Clone for FunctionAutomaton
impl Clone for FunctionAutomaton
Source§fn clone(&self) -> FunctionAutomaton
fn clone(&self) -> FunctionAutomaton
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 moreAuto Trait Implementations§
impl Freeze for FunctionAutomaton
impl !RefUnwindSafe for FunctionAutomaton
impl Send for FunctionAutomaton
impl Sync for FunctionAutomaton
impl Unpin for FunctionAutomaton
impl UnsafeUnpin for FunctionAutomaton
impl !UnwindSafe for FunctionAutomaton
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