예제 #1
0
        protected override void EvaluateMove()
        {
            AlbaEncoding newSolution = LambdaInterchangeMoveParameter.ActualValue.Individual.Clone() as AlbaEncoding;

            AlbaLambdaInterchangeMoveMaker.Apply(newSolution, LambdaInterchangeMoveParameter.ActualValue);

            UpdateEvaluation(newSolution);
        }
예제 #2
0
        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);
        }