code: def parse_dpp_agent(dpp_type):
      return {"DPP": DPP, "DPPL": DPPL, "DPPGreedy": DPPGreedy}[
          dpp_type
      ]
  
file_path: chainerrl/tests/agents_tests/test_dpp.py
imports: from chainer import testing
  import basetest_dqn_like
  from basetest_training import _TestBatchTrainingMixin
  from chainerrl.agents.dpp import DPP
  from chainerrl.agents.dpp import DPPGreedy
  from chainerrl.agents.dpp import DPPL
label_desc: Use image node_id 1 for calling a global function with example usage: parse_dpp_agent(dpp_type) and returns: dict