private SwapCommandMutation GetSwapMutation(ICommandsList commands, int swapfirst, int swapsecond) { var random = new SwapRandom(); random.Invoke(swapfirst, swapsecond); return(new SwapCommandMutation(random, commands)); }
private SwapCommandMutation GetSwapMutation(ICommandsList commands, int swapfirst, int swapsecond) { var random = new SwapRandom(); random.Invoke(swapfirst, swapsecond); return new SwapCommandMutation(random, commands); }