struct
Crowbar::CandidateState
- Crowbar::CandidateState
- Struct
- Value
- Object
Overview
Serializable state for an evolutionary corpus candidate
Included Modules
- JSON::Serializable
Defined in:
crowbar/session.crConstructors
- .new(pull : JSON::PullParser)
- .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)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #buffer_b64 : String
- #buffer_b64=(buffer_b64 : String)
- #coverage_hash : UInt64 | Nil
- #coverage_hash=(coverage_hash : UInt64 | Nil)
- #feature : String | Nil
- #feature=(feature : String | Nil)
- #fitness : Float64
- #fitness=(fitness : Float64)
- #generation : Int64
- #generation=(generation : Int64)
- #mutation_history : Array(String)
- #mutation_history=(mutation_history : Array(String))
Constructor Detail
def self.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)
#