Env
public protocol Env
-
Declaration
Swift
associatedtype ObsType -
Declaration
Swift
associatedtype ActType -
Declaration
Swift
associatedtype RewardType -
Declaration
Swift
associatedtype TerminatedType -
Declaration
Swift
mutating func step(action: ActType) -> (ObsType, RewardType, TerminatedType, [String : Any]) -
Declaration
Swift
mutating func reset(seed: Int?) -> (ObsType, [String : Any]) -
Declaration
Swift
static var rewardThreshold: Float { get } -
Declaration
Swift
static var stateSize: Int { get } -
Declaration
Swift
static var actionSpace: [ClosedRange<Float>] { get } -
reset()Extension methodDeclaration
Swift
public mutating func reset() -> (ObsType, [String : Any])
Env Protocol Reference