from environment.LunarLanderEnvironment import LunarLanderEnvironment


class Environment:

    def __new__(cls, config={}):

        name = config["env"]
        if name == "LunarLander":
            config["env"] = LunarLanderEnvironment
            return LunarLanderEnvironment(config["env_config"])
        else:
            raise Exception("{} environment is not supported".format(name))

1223329b9dfc90811eb10cf1c4d4ecd4452426c1
<mask token>

<mask token>


class Environment:
    <mask token>

<mask token>


class Environment:

    def __new__(cls, config={}):
        name = config['env']
        if name == 'LunarLander':
            config['env'] = LunarLanderEnvironment
            return LunarLanderEnvironment(config['env_config'])
        else:
            raise Exception('{} environment is not supported'.format(name))

from environment.LunarLanderEnvironment import LunarLanderEnvironment


class Environment:

    def __new__(cls, config={}):
        name = config['env']
        if name == 'LunarLander':
            config['env'] = LunarLanderEnvironment
            return LunarLanderEnvironment(config['env_config'])
        else:
            raise Exception('{} environment is not supported'.format(name))

from environment.LunarLanderEnvironment import LunarLanderEnvironment


class Environment:

    def __new__(cls, config={}):

        name = config["env"]
        if name == "LunarLander":
            config["env"] = LunarLanderEnvironment
            return LunarLanderEnvironment(config["env_config"])
        else:
            raise Exception("{} environment is not supported".format(name))
