struct Crowbar::ArmState

Overview

Serializable state for a multi-armed bandit mutator arm

Included Modules

Defined in:

crowbar/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pulls : Int64 = 0_i64, rewards : Float64 = 0.0) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def pulls : Int64 #

def pulls=(pulls : Int64) #

def rewards : Float64 #

def rewards=(rewards : Float64) #