Skip to content

TrajectorySegment ​

python
TrajectorySegment(initial_state: bytes, actions: bytes, start_values: dict[str, int], end_values: dict[str, int], end_state: bytes, end_marker_type: TrajectoryMarkerKind, trigger_index: int | None = None) -> None

Marker-to-marker segment derived from one full episode trajectory.

Source

Values ​

actions ​

python
actions: bytes

Source

end_marker_type ​

python
end_marker_type: TrajectoryMarkerKind

Source

end_state ​

python
end_state: bytes

Source

end_values ​

python
end_values: dict[str, int]

Source

initial_state ​

python
initial_state: bytes

Source

start_values ​

python
start_values: dict[str, int]

Source

trigger_index ​

python
trigger_index: int | None = None

Source