class Crowbar::Patterns::Many

Overview

Applies one or more mutations with decaying probability

Defined in:

crowbar/patterns/base.cr

Instance Method Summary

Instance methods inherited from class Crowbar::Pattern

apply(context : Context, buffer : Buffer, pool : MutatorPool, target_range : Tuple(Int32, Int32) | Nil = nil) : Bool apply, description : String description, name : String name, weight : Float64 weight, weight=(weight : Float64) weight=

Constructor methods inherited from class Crowbar::Pattern

new(weight : Float64 = 1.0) new

Instance Method Detail

def apply(context : Context, buffer : Buffer, pool : MutatorPool, target_range : Tuple(Int32, Int32) | Nil = nil) : Bool #

def decay_probability : Float64 #

def decay_probability=(decay_probability : Float64) #

def description : String #

def name : String #