Struct asi_core0::Sequential [] [src]

pub struct Sequential<D> {
    pub inner: D,
    // some fields omitted
}

Wraps another decision maker by performing one read from sensor or one write to actuator at a time.

This is used for testing or developing new decision makers. The inner decision maker can be written using the assumption that there are no concurrent reads or writes.

Fields

The inner decison maker.

Methods

impl<D> Sequential<D>
[src]

[src]

Returns a new sequential decision maker.

Trait Implementations

impl<D, T> DecisionMaker<T> for Sequential<D> where
    D: DecisionMaker<T>, 
[src]

[src]

Outputs the next action to take from the memory states and time step.

[src]

Receiving feedback when something new happens.

[src]

Return estimate of how it takes to shut down from now, given a deadline. This is 0 if the decison maker is ready to shut down. When this is called, the decision maker should start preparing for shutdown. It might be called multiple times to check how the decision maker is preparing. Read more

Auto Trait Implementations

impl<D> Send for Sequential<D> where
    D: Send

impl<D> Sync for Sequential<D> where
    D: Sync