From b6e9e275ac4d93dd058edb83585153e7131cad4a Mon Sep 17 00:00:00 2001 From: Jun Tian Date: Fri, 31 Jan 2020 13:36:16 +0800 Subject: [PATCH] make ActionStyle return MINIMAL_ACTION_SET by default --- src/interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.jl b/src/interface.jl index 6a1bd46..2d17236 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -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(