Struct asi_core0::Agent [] [src]

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

A list of memory states.

A list of sensors.

A list of actuators.

A decision procedure.

Trait Implementations

Auto Trait Implementations

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