public static AlbaLambdaInterchangeMove[] GenerateAllMoves(AlbaEncoding individual, IVRPProblemInstance problemInstance, int lambda, int sampleSize, IRandom rand) { AlbaLambdaInterchangeMove[] moves = new AlbaLambdaInterchangeMove[sampleSize]; for (int i = 0; i < sampleSize; i++) { moves[i] = AlbaStochasticLambdaInterchangeSingleMoveGenerator.Apply( individual, problemInstance.Cities.Value, lambda, rand); } return(moves); }
private AlbaStochasticLambdaInterchangeSingleMoveGenerator(AlbaStochasticLambdaInterchangeSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { }
private AlbaStochasticLambdaInterchangeSingleMoveGenerator(AlbaStochasticLambdaInterchangeSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { }