smarts.env.gymnasium.wrappers.metric.types module
- class smarts.env.gymnasium.wrappers.metric.types.Costs(collisions: int = 0, comfort: float = 0, dist_to_destination: float = 0, dist_to_obstacles: float = 0, jerk_linear: float = 0, lane_center_offset: float = 0, off_road: int = 0, speed_limit: float = 0, steps: float = 0, vehicle_gap: float = 0, wrong_way: float = 0)[source]
Performance cost values.
- collisions: int = 0
- comfort: float = 0
- dist_to_destination: float = 0
- dist_to_obstacles: float = 0
- jerk_linear: float = 0
- lane_center_offset: float = 0
- off_road: int = 0
- speed_limit: float = 0
- steps: float = 0
- vehicle_gap: float = 0
- wrong_way: float = 0
- class smarts.env.gymnasium.wrappers.metric.types.Counts(goals: int = 0, episodes: int = 0, steps: int = 0)[source]
Performance count values.
- episodes: int = 0
Number of episodes traversed.
- goals: int = 0
Number of episodes completed successfully by achieving the goal.
- steps: int = 0
Sum of steps taken over all episodes.