Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Learning-Environment-Design-Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,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 @@ -692,7 +692,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