Skip to content

Commit

Permalink
Polish README (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur authored Apr 25, 2021
1 parent 3b5f161 commit 4f3892a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

[![Build Status](https://dev.azure.com/OpenNetLab/ONL-github/_apis/build/status/OpenNetLab.gym?branchName=master)](https://dev.azure.com/OpenNetLab/ONL-github/_build/latest?definitionId=6&branchName=master)

This gym leverages NS3 and WebRTC, which can be used by reinforcement learning or other methods to build a Bandwidth Controller for WebRTC. Here is an example [gym-example](https://github.com/OpenNetLab/gym-example) to use this Gym training a bandwidth estimator.
This gym leverages NS3 and WebRTC, which can be used by reinforcement learning or other methods to build a Bandwidth Controller for WebRTC.

### Usage

You can use this Gym by a Python interface that was defined in [gym.py](alphartc_gym/gym.py). Here is an example [gym-example](https://github.com/OpenNetLab/gym-example) to use this Gym training a bandwidth estimator.

### Setup Guide

Expand Down Expand Up @@ -50,9 +54,6 @@ If you want to build the debug version, try `make gym build_profile=debug`
python3 -m pytest alphartc_gym
```

### Interface description

You can use this Gym by a Python interface that was defined in [gym.py](alphartc_gym/gym.py)
### Inspiration

Thanks [SoonyangZhang](https://github.com/SoonyangZhang) provides the inspiration for the gym
Expand Down
8 changes: 4 additions & 4 deletions alphartc_gym/gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def reset(
"trace_pattern": [
{
"duration": 60000, # duration time
"capacity": 300, # link bandwidth(kbps)
"loss": 0, # not used in current version
"jitter": 0, # not used in current version
"time": 0.0 # not used in current version
"capacity": 300, # link bandwidth (kbps)
"loss": 0.1, # loss rate (0.0~0.1)
"rtt" : 85, # round trip delay (ms)
"jitter": 0, # not supported in current version
},
...
]
Expand Down

0 comments on commit 4f3892a

Please sign in to comment.