Skip to content

Commit

Permalink
Masking Discrete Actions typos (#4961) (#4964)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Siedler <p.d.siedler@gmail.com>
  • Loading branch information
Chris Elion and philippds authored Feb 18, 2021
1 parent 68fa146 commit 3befced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Learning-Environment-Design-Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ decide to perform the masked action. In order to mask an action, override the
```csharp
public override void WriteDiscreteActionMask(IDiscreteActionMask actionMask)
{
actionMasker.WriteMask(branch, actionIndices)
actionMask.WriteMask(branch, actionIndices);
}
```

Expand All @@ -641,7 +641,7 @@ nothing"_ or _"change weapon"_ for his next decision (since action index 1 and 2
are masked)

```csharp
WriteMask(0, new int[2]{1,2})
WriteMask(0, new int[2]{1,2});
```

Notes:
Expand Down

0 comments on commit 3befced

Please sign in to comment.