Exemple #1
0
        public VRPMoveMaker GetMoveMaker()
        {
            if (moveMaker == null)
            {
                moveMaker = new PotvinPDShiftMoveMaker();
            }

            return(moveMaker);
        }
        protected override void EvaluateMove()
        {
            PotvinPDShiftMove move = PDShiftMoveParameter.ActualValue;

            PotvinEncoding newSolution = PDShiftMoveParameter.ActualValue.Individual.Clone() as PotvinEncoding;

            PotvinPDShiftMoveMaker.Apply(newSolution, move, ProblemInstance);

            UpdateEvaluation(newSolution);
        }
 protected PotvinPDShiftMoveMaker(PotvinPDShiftMoveMaker original, Cloner cloner)
   : base(original, cloner) {
 }
 protected PotvinPDShiftMoveMaker(PotvinPDShiftMoveMaker original, Cloner cloner)
     : base(original, cloner)
 {
 }
    public VRPMoveMaker GetMoveMaker() {
      if (moveMaker == null)
        moveMaker = new PotvinPDShiftMoveMaker();

      return moveMaker;
    }