will-maclean / sb3-burn

Implementation of stable-baselines3 in rust with burn
MIT License
11 stars 0 forks source link

Complex gym spaces (#7) #35

Closed will-maclean closed 2 weeks ago

will-maclean commented 2 weeks ago

Adding support for complex spaces (#7).

At it's heart, we want support for something like the following:

pub trait Space<T: Clone> {
    fn contains(&self, sample: &T) -> bool;
    fn sample(&mut self) -> T;
    fn seed(&mut self);
}