class
Crowbar::Evolution::Candidate
- Crowbar::Evolution::Candidate
- Reference
- Object
Overview
Represents a scored individual candidate in the evolutionary population.
Defined in:
crowbar/evolution/candidate.crConstructors
Instance Method Summary
- #buffer : Buffer
- #buffer=(buffer : Buffer)
- #clone : Candidate
- #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 : Buffer, fitness : Float64 = 0.0, generation : Int64 = 0_i64, mutation_history : Array(String) = [] of String, feature : String | Nil = nil, coverage_hash : UInt64 | Nil = nil)
#