TimeLimit

public final class TimeLimit<EnvType> where EnvType : Env
extension TimeLimit: Env where EnvType.DoneType == Bool
extension TimeLimit: MuJoCoEnv where EnvType: MuJoCoEnv

Available where EnvType.DoneType == Bool

  • Declaration

    Swift

    public typealias ActType = EnvType.ActType
  • Declaration

    Swift

    public typealias ObsType = EnvType.ObsType
  • Declaration

    Swift

    public typealias RewardType = EnvType.RewardType
  • Declaration

    Swift

    public typealias DoneType = EnvType.DoneType
  • Declaration

    Swift

    public func step(action: ActType) -> (ObsType, RewardType, DoneType, [String : Any])
  • Declaration

    Swift

    public func reset(seed: Int?) -> (ObsType, [String : Any])
  • Declaration

    Swift

    public var rewardThreshold: Float { get }

Available where EnvType: MuJoCoEnv

  • Declaration

    Swift

    public var model: MjModel { get }
  • Declaration

    Swift

    public var data: MjData { get set }