class_docstr: Simulator for a backend deployment with concurrent dispatch and a queue.
class_docstr_tok: ["Simulator","for","a","backend","deployment","with","concurrent","dispatch","and","a","queue","."]
docstr: Create the index to trial map, which is useful for getting
  the ``SimTrial`` objects, as in ``get_sim_trial_by_index``.
docstr_tok: ["Create","the","index","to","trial","map",",","which","is","useful","for","getting","the","``","SimTrial","``","objects",",","as","in","``","get_sim_trial_by_index","``","."]
code: def _create_index_to_trial_map(self) -> None:
      """Create the index to trial map, which is useful for getting
      the ``SimTrial`` objects, as in ``get_sim_trial_by_index``."""
      self._index_to_trial_map = {
          t.trial_index: t for t in self.all_trials
      }
  
imports: import logging
  import random
  import time
  from dataclasses import dataclass
  from logging import Logger
  from typing import Dict, List, Optional
  from ax.core.base_trial import TrialStatus
  from ax.utils.common.logger import get_logger
label_desc: Use image node_id 21 for calling the BackendSimulator obj's underlying member method code with example usage: obj._create_index_to_trial_map() without return types