[−][src]Struct asi_core0::Agent
An agent consists of memory states, sensors, actuators and a decision maker that decides what action to take next.
Fields
memory: Vec<T>
A list of memory states.
sensors: Vec<I>
A list of sensors.
actuators: Vec<O>
A list of actuators.
decision_maker: D
A decision procedure.
Auto Trait Implementations
impl<I, O, T, D> RefUnwindSafe for Agent<I, O, T, D> where
D: RefUnwindSafe,
I: RefUnwindSafe,
O: RefUnwindSafe,
T: RefUnwindSafe,
D: RefUnwindSafe,
I: RefUnwindSafe,
O: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, O, T, D> Send for Agent<I, O, T, D> where
D: Send,
I: Send,
O: Send,
T: Send,
D: Send,
I: Send,
O: Send,
T: Send,
impl<I, O, T, D> Sync for Agent<I, O, T, D> where
D: Sync,
I: Sync,
O: Sync,
T: Sync,
D: Sync,
I: Sync,
O: Sync,
T: Sync,
impl<I, O, T, D> Unpin for Agent<I, O, T, D> where
D: Unpin,
I: Unpin,
O: Unpin,
T: Unpin,
D: Unpin,
I: Unpin,
O: Unpin,
T: Unpin,
impl<I, O, T, D> UnwindSafe for Agent<I, O, T, D> where
D: UnwindSafe,
I: UnwindSafe,
O: UnwindSafe,
T: UnwindSafe,
D: UnwindSafe,
I: UnwindSafe,
O: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,