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: Reset the simulator.
docstr_tok: ["Reset","the","simulator","."]
code: def reset(self) -> None:
      """Reset the simulator."""
      self.max_concurrency = self._init_state.options.max_concurrency
      self.time_scaling = self._init_state.options.time_scaling
      self._internal_clock = self._init_state.options.internal_clock
      self._queued = [
          SimTrial(**args) for args in self._init_state.queued
      ]
      self._running = [
          SimTrial(**args) for args in self._init_state.running
      ]
      self._failed = [
          SimTrial(**args) for args in self._init_state.failed
      ]
      self._completed = [
          SimTrial(**args) for args in self._init_state.completed
      ]
      self._create_index_to_trial_map()
  
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 10 for calling the BackendSimulator obj's underlying member method code with example usage: obj.reset() without return types