Skip to content

Commit 5e1f80b

Browse files
committed
Update documentation
1 parent f81d68f commit 5e1f80b

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

docs/source/API/replay_buffer.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/source/modules.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ API
3030
API/spaces/discrete_state_environment
3131
API/spaces/tiled_environment
3232
API/spaces/time_step
33-
API/replay_buffer
33+
API/spaces/multiprocess_env
34+
API/utils/replay_buffer
3435
API/trainers/trainer
3536
API/trainers/pytorch_trainer
37+
API/utils/replay_buffer
38+
API/utils/iteration_control
39+
API/utils/function_wraps
40+
API/utils/episode_info
3641

3742

3843

src/maths/numeric_distance_calculator.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ def calculate(self, state1: Vector, state2: Vector) -> float:
2222

2323

2424
def _numeric_distance_calculator(state1: Vector, state2: Vector, dist_type: NumericDistanceType) -> float:
25+
"""
26+
27+
Parameters
28+
----------
29+
state1
30+
state2
31+
dist_type
32+
33+
Returns
34+
-------
35+
36+
"""
2537

2638
if len(state1) != len(state2):
2739
raise IncompatibleVectorSizesException(size1=len(state1), size2=len(state2))

src/spaces/multiprocess_env.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020

2121
class MultiprocessEnv(object):
22+
"""MultiprocessEnv class
23+
24+
"""
2225

2326
def __init__(self, env_builder: Callable, env_args: dict, n_workers: int):
2427
self.env_builder = env_builder

src/utils/iteration_control.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
Utility to control iteration
1+
"""module iteration_control. Utility to control iteration
32
"""
43

54
from src.utils import INFO, VERSION

0 commit comments

Comments
 (0)