class_docstr: Environment for RL
class_docstr_tok: ["Environment","for","RL"]
code: def __init__(self, max_horizon: int = -1) -> None:
      self._current_state: Optional[State] = None
      self._steps_taken: int = 0
      self._max_horizon = max_horizon
  
file_path: ReAgent/reagent/ope/test/envs.py
imports: import random
  from abc import abstractmethod
  from typing import Optional
  from reagent.ope.estimators.sequential_estimators import Mdp, Model, RLPolicy, State, StateReward, Transition
label_desc: Use image node_id 1 to create a new Environment object from inherited base classes: Model with example: obj = Environment(max_horizon)