[][src]Struct asi_core0::Agent

pub struct Agent<I, O, T, D> {
    pub memory: Vec<T>,
    pub sensors: Vec<I>,
    pub actuators: Vec<O>,
    pub decision_maker: D,
}

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

impl<I, O, T, D> Send for Agent<I, O, T, D> where
    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

impl<I, O, T, D> Unpin for Agent<I, O, T, D> where
    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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.