public VRPMoveMaker GetMoveMaker()
        {
            if (moveMaker == null)
            {
                moveMaker = new PotvinPDRearrangeMoveMaker();
            }

            return(moveMaker);
        }
        protected override void EvaluateMove()
        {
            PotvinPDRearrangeMove move = PDRearrangeMoveParameter.ActualValue;

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

            PotvinPDRearrangeMoveMaker.Apply(newSolution, move, ProblemInstance);

            UpdateEvaluation(newSolution);
        }
Esempio n. 3
0
 protected PotvinPDRearrangeMoveMaker(PotvinPDRearrangeMoveMaker original, Cloner cloner)
     : base(original, cloner)
 {
 }
 protected PotvinPDRearrangeMoveMaker(PotvinPDRearrangeMoveMaker original, Cloner cloner)
   : base(original, cloner) {
 }
    public VRPMoveMaker GetMoveMaker() {
      if (moveMaker == null)
        moveMaker = new PotvinPDRearrangeMoveMaker();

      return moveMaker;
    }