fcfafff3eb05887529fd4b85a21b3d1c913c3062,cistar/visualizer_CISTAR.py,,,#,17

Before Change


        scenario = LoopScenario(exp_tag, type_params, net_params, cfg_params, initial_config=initial_config)
    elif args.scenario_type == "loop_merges":
        scenario = LoopMergesScenario(exp_tag, type_params, net_params, cfg_params, initial_config=initial_config)
    elif args.scenario_type == "braess_paradox":
        scenario = BraessParadoxScenario(exp_tag, type_params, net_params, cfg_params, initial_config=initial_config)
    elif args.scenario_type == "intersection":
        scenario = TwoWayIntersectionScenario(exp_tag, type_params, net_params, cfg_params, initial_config=initial_config)
    env._wrapped_env.scenario = scenario

After Change


    // TODO: savefig doesn"t like making new directories
    // Make a separate figure for each observation variable

    if not os.path.exists("visualizer"):
        os.makedirs("visualizer")

    for obs_var_idx in range(len(obs_vars)):
        obs_var = obs_vars[obs_var_idx]
        plt.figure()
        for car in range(tot_cars):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: flow-project/flow
Commit Name: fcfafff3eb05887529fd4b85a21b3d1c913c3062
Time: 2017-09-25
Author: eugenevinitsky@airbears2-10-142-38-22.airbears2.1918.berkeley.edu
File Name: cistar/visualizer_CISTAR.py
Class Name:
Method Name:


Project Name: lanpa/tensorboardX
Commit Name: ad2ff3124948b32978b41d5b3e66630f05d0f6fe
Time: 2018-06-07
Author: huang.dexter@gmail.com
File Name: beholder_demo.py
Class Name:
Method Name:


Project Name: dickreuter/Poker
Commit Name: 083a8b28fb6eec01a29a29c333956b5585d3b2fa
Time: 2020-12-16
Author: email@server.local
File Name: poker/tools/helper.py
Class Name:
Method Name: init_logger