struct

Crowbar::ArmState

Inherits JSON::Serializable < Struct < Value < Object

Serializable state for a multi-armed bandit mutator arm

Constructors

new(pulls : Int64 = 0_i64, rewards : Float64 = 0.0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

pulls
Source
pulls=(pulls : Int64)
Source
rewards
Source
rewards=(rewards : Float64)
Source