Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14 from findmyway/change_action_style
Browse files Browse the repository at this point in the history
make ActionStyle return MINIMAL_ACTION_SET by default
  • Loading branch information
findmyway authored Jan 31, 2020
2 parents 425f1b3 + b6e9e27 commit 95a81c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ abstract type AbstractActionSet end
Specify whether the observation contains a full action set or a minimal action set.
"""
@interface ActionStyle(::NamedTuple{(:reward, :terminal, :state)}) = MINIMAL_ACTION_SET
@interface ActionStyle(x) = MINIMAL_ACTION_SET
@interface ActionStyle(::NamedTuple{(:reward, :terminal, :state, :legal_actions)}) =
FULL_ACTION_SET
@interface ActionStyle(
Expand Down

0 comments on commit 95a81c9

Please sign in to comment.