1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Agents facilitate the learning process for a model.
//!
//! Specifically, they provide methods for the following:
//! - Recommending an action given a state.
//! - Transitioning from one state to another state given some action.
//! - Learning from the level of success achieved when moving from one
//! state to another via some action.
use crateActioner;
use crateLearnerError;
use crateStater;
/// Represents something that is capabile of recommending actions, applying
/// actions to a given state, and learning based on the transition from one
/// state to another.