protected override void EvaluateMove() { AlbaEncoding newSolution = LambdaInterchangeMoveParameter.ActualValue.Individual.Clone() as AlbaEncoding; AlbaLambdaInterchangeMoveMaker.Apply(newSolution, LambdaInterchangeMoveParameter.ActualValue); UpdateEvaluation(newSolution); }
protected override void EvaluateMove() { AlbaEncoding newSolution = IntraRouteInversionMoveParameter.ActualValue.Permutation.Clone() as AlbaEncoding; AlbaIntraRouteInversionMoveMaker.Apply(newSolution, IntraRouteInversionMoveParameter.ActualValue); UpdateEvaluation(newSolution); }
protected override void EvaluateMove() { TranslocationMove move = TranslocationMoveParameter.ActualValue; //perform move AlbaEncoding newSolution = move.Permutation.Clone() as AlbaEncoding; TranslocationManipulator.Apply(newSolution, move.Index1, move.Index2, move.Index3); UpdateEvaluation(newSolution); }