Method: EvoSynth::Mutations::ExchangeMutation#to_s

Defined in:
lib/evosynth/operators/mutations/exchange_mutation.rb

#to_sObject

:call-seq: to_s -> string

Returns description of this mutation

m = ExchangeMutation.new
m.to_s                   #=> "exchange mutation"


89
90
91
# File 'lib/evosynth/operators/mutations/exchange_mutation.rb', line 89

def to_s
  "exchange mutation <swap count: #{@swap_count}>"
end