Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/12 13:17:29 (12 years ago)
Author:
ascheibe
Message:

#1722 fixed more licensing information and source formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/SingleDepotVRPEvaluator.cs

    r7276 r8053  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
     22using HeuristicLab.Common;
     23using HeuristicLab.Core;
     24using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2625using HeuristicLab.Problems.VehicleRouting.Interfaces;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Core;
    29 using HeuristicLab.Parameters;
    30 using HeuristicLab.Data;
    31 using HeuristicLab.Optimization;
    32 using HeuristicLab.PluginInfrastructure;
    33 using HeuristicLab.Problems.VehicleRouting.Variants;
    34 using HeuristicLab.Problems.VehicleRouting.Encodings;
    35 using HeuristicLab.Common;
    3626
    3727
     
    3929  [Item("SingleDepotVRPEvaluator", "Represents a single depot VRP evaluator.")]
    4030  [StorableClass]
    41   public class SingleDepotVRPEvaluator: VRPEvaluator {
     31  public class SingleDepotVRPEvaluator : VRPEvaluator {
    4232    protected override void EvaluateTour(VRPEvaluation eval, IVRPProblemInstance instance, Tour tour, IVRPEncoding solution) {
    4333      TourInsertionInfo tourInfo = new TourInsertionInfo(solution.GetVehicleAssignment(solution.GetTourIndex(tour)));
    4434      eval.InsertionInfo.AddTourInsertionInfo(tourInfo);
    45      
     35
    4636      double distance = 0.0;
    4737      double quality = 0.0;
     
    7969      out bool feasible) {
    8070      StopInsertionInfo insertionInfo = tourInsertionInfo.GetStopInsertionInfo(index);
    81      
     71
    8272      double costs = 0;
    8373      feasible = true;
     
    9282      return costs;
    9383    }
    94    
     84
    9585    [StorableConstructor]
    9686    protected SingleDepotVRPEvaluator(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.