Enum renforce::util::TimePeriod [] [src]

pub enum TimePeriod {
    EPISODES(usize),
    TIMESTEPS(usize),
    OR(Box<TimePeriod>, Box<TimePeriod>),
}

Some length of time experienced by an agent

Variants

A time period stored as a number of episodes

A time period stored as a number of individual timesteps

Time period ends when first or second one ends

Methods

impl TimePeriod
[src]

Returns whether or not self represents an empty time period

Returns the time period remaing after one time step

Trait Implementations

impl Debug for TimePeriod
[src]

Formats the value using the given formatter.

impl Clone for TimePeriod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more