protected override PotvinPDExchangeMove[] GenerateMoves(PotvinEncoding individual, IVRPProblemInstance problemInstance) { List <PotvinPDExchangeMove> result = new List <PotvinPDExchangeMove>(); for (int i = 0; i < SampleSizeParameter.ActualValue.Value; i++) { var move = PotvinPDExchangeSingleMoveGenerator.Apply(individual, ProblemInstance, RandomParameter.ActualValue); if (move != null) { result.Add(move); } } return(result.ToArray()); }
private PotvinPDExchangeSingleMoveGenerator(PotvinPDExchangeSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { }