protected override AlbaIntraRouteInversionMove[] GenerateMoves(AlbaEncoding individual, IVRPProblemInstance problemInstance) { int sampleSize = SampleSizeParameter.ActualValue.Value; AlbaIntraRouteInversionMove[] moves = new AlbaIntraRouteInversionMove[sampleSize]; for (int i = 0; i < sampleSize; i++) { moves[i] = AlbaStochasticIntraRouteInversionSingleMoveGenerator.Apply( individual, problemInstance.Cities.Value, RandomParameter.ActualValue); } return(moves); }
private AlbaStochasticIntraRouteInversionSingleMoveGenerator(AlbaStochasticIntraRouteInversionSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { }