abstract class Crowbar::Pattern

Overview

Abstract execution pattern governing how mutations are orchestrated.

Direct Known Subclasses

Defined in:

crowbar/patterns/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(weight : Float64 = 1.0) #

Instance Method Detail

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

Applies one or more mutations to the buffer according to the pattern's strategy.


abstract def description : String #

abstract def name : String #

def weight : Float64 #

def weight=(weight : Float64) #