(self,
                 env_cls,
                 env_args,
                 )
Args:
            env_cls (PokerEnv subclass):    Any PokerEnv subclass (not an instance)

            env_args:                       An instance of either PokerEnvArgs or DiscretePokerEnv, depending on what
                                            type env_cls is
Args:
            env_cls (PokerEnv subclass):    Any PokerEnv subclass (not an instance)
Args : env_cls ( PokerEnv subclass ) : Any PokerEnv subclass ( not an instance )
def __init__(self,
                 env_cls,
                 env_args,
                 ):
        """
        Args:
            env_cls (PokerEnv subclass):    Any PokerEnv subclass (not an instance)

            env_args:                       An instance of either PokerEnvArgs or DiscretePokerEnv, depending on what
                                            type env_cls is
        """
        self.env_cls = env_cls
        self.rules = env_cls.RULES
        self.env_args = env_args

        self.lut_holder = env_cls.get_lut_holder()

        # Info about the env
        self.N_SEATS = env_args.n_seats
        self.N_ACTIONS = env_args.N_ACTIONS
        self.pub_obs_size = self._get_num_public_observation_features()
        self.priv_obs_size = self._get_num_private_observation_features()
        self.complete_obs_size = self.pub_obs_size + self.priv_obs_size
        self.obs_board_idxs, self.obs_players_idxs, self.obs_table_state_idxs = self._get_obs_parts_idxs()
        self.obs_size_board = len(self.obs_board_idxs)
        self.obs_size_player_info_each = len(self.obs_players_idxs[0])
        self.obs_size_table_state = len(self.obs_table_state_idxs)
def __init__ ( self , env_cls , env_args , ) : self . env_cls = env_cls self . rules = env_cls . RULES self . env_args = env_args self . lut_holder = env_cls . get_lut_holder ( ) # Info about the env self . N_SEATS = env_args . n_seats self . N_ACTIONS = env_args . N_ACTIONS self . pub_obs_size = self . _get_num_public_observation_features ( ) self . priv_obs_size = self . _get_num_private_observation_features ( ) self . complete_obs_size = self . pub_obs_size + self . priv_obs_size self . obs_board_idxs , self . obs_players_idxs , self . obs_table_state_idxs = self . _get_obs_parts_idxs ( ) self . obs_size_board = len ( self . obs_board_idxs ) self . obs_size_player_info_each = len ( self . obs_players_idxs [ 0 ] ) self . obs_size_table_state = len ( self . obs_table_state_idxs )