agents/abstract_agent.py
def choose_action(self, observation : SplendorObservation, previous_actions : List[Action]):
        """This method chooses one action to take, based on the provided observation. This method should not have
        access to the original gym_open_ai-splendor environment - you can create your own environment for example to do
        simulations of game, or have access to environment methods."""
        if observation.name == 'deterministic':
            return self.deterministic_choose_action(observation, previous_actions)
        if observation.name == 'stochastic':
            return self.stochastic_choose_action(observation, previous_actions)
        else:
            raise ValueError
This method chooses one action to take, based on the provided observation. This method should not have
        access to the original gym_open_ai-splendor environment - you can create your own environment for example to do
        simulations of game, or have access to environment methods.
This method chooses one action to take, based on the provided observation. This method should not have
access to the original gym_open_ai-splendor environment - you can create your own environment for example to do
simulations of game, or have access to environment methods.
This method chooses one action to take based on the provided observation . This method should not have access to the original gym_open_ai - splendor environment - you can create your own environment for example to do simulations of game or have access to environment methods .
def choose_action(self, observation : SplendorObservation, previous_actions : List[Action]):
        if observation.name == 'deterministic':
            return self.deterministic_choose_action(observation, previous_actions)
        if observation.name == 'stochastic':
            return self.stochastic_choose_action(observation, previous_actions)
        else:
            raise ValueError
def choose_action ( self , observation : SplendorObservation , previous_actions : List [ Action ] ) : if observation . name == 'deterministic' : return self . deterministic_choose_action ( observation , previous_actions ) if observation . name == 'stochastic' : return self . stochastic_choose_action ( observation , previous_actions ) else : raise ValueError
This method chooses one action to take, based on the provided observation.
This method chooses one action to take based on the provided observation .
"""This method chooses one action to take, based on the provided observation. This method should not have
        access to the original gym_open_ai-splendor environment - you can create your own environment for example to do
        simulations of game, or have access to environment methods."""
self
observation
SplendorObservation
previous_actions
List[Action]