struct

Crowbar::CandidateState

Inherits JSON::Serializable < Struct < Value < Object

Serializable state for an evolutionary corpus candidate

Constructors

new(buffer_b64 : String, fitness : Float64 = 0.0, generation : Int64 = 0_i64, mutation_history : Array(String) = [] of String, feature : String | Nil = nil, coverage_hash : UInt64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

buffer_b64
Source
buffer_b64=(buffer_b64 : String)
Source
coverage_hash
Source
coverage_hash=(coverage_hash : UInt64 | Nil)
Source
feature
Source
feature=(feature : String | Nil)
Source
fitness
Source
fitness=(fitness : Float64)
Source
generation
Source
generation=(generation : Int64)
Source
mutation_history
Source
mutation_history=(mutation_history : Array(String))
Source