Skip to Content
API Reference@ignitionai/coreSrcInterfacesInterface: Experience

ignition-monorepo


ignition-monorepo / core/src / Experience

Interface: Experience

Defined in: core/src/types.ts:29 

Properties

state

state: number[]

Defined in: core/src/types.ts:30 


action

action: number | number[]

Defined in: core/src/types.ts:31 


reward

reward: number

Defined in: core/src/types.ts:32 


nextState

nextState: number[]

Defined in: core/src/types.ts:33 


terminated

terminated: boolean

Defined in: core/src/types.ts:35 

True when the episode ended due to a terminal condition (agent failed, goal reached…)


truncated

truncated: boolean

Defined in: core/src/types.ts:37 

True when the episode ended due to a time/step limit, not a terminal condition


info?

optional info?: Record<string, unknown>

Defined in: core/src/types.ts:38 

Last updated on