anchor.diff:  -module (rastrigin_nif_ops).
   -behaviour (genetic_ops).
   -export ([solution/1, evaluation/1,
  -    mutation/1, mutation/3, recombination/2]).
  +    mutation/2, mutation/3, recombination/2]).
   -on_load(init/0).
   -define (LIBNAME, "rastrigin_nif").
   -include ("emas.hrl").
  
positive.code: recombination(_Solution1, _Solution2) ->
      exit(nif_not_loaded).
  
  mutation(_Solution) ->
      mutation(_Solution, emas_config:mutationRange(), emas_config:mutationRate()).
negative.code:     exit(nif_not_loaded).
  
  %% @doc Reproduction function for a single agent (mutation only).
  -spec mutation(solution(), float(), float()) -> solution().
  mutation(_Solution, _Range, _Rate) ->
      exit(nif_not_loaded).
  
  