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/VRPEvaluation.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;
    2322using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    27 using HeuristicLab.Core;
    28 using HeuristicLab.Common;
    2923
    3024namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances {
    31   public class StopInsertionInfo {   
     25  public class StopInsertionInfo {
    3226    private int start;
    3327
     
    4135      get { return end; }
    4236    }
    43        
     37
    4438    public StopInsertionInfo(int start, int end)
    4539      : base() {
    46         this.start = start;
    47         this.end = end;
     40      this.start = start;
     41      this.end = end;
    4842    }
    4943  }
     
    6761    }
    6862
    69    public StopInsertionInfo GetStopInsertionInfo(int stop) {
     63    public StopInsertionInfo GetStopInsertionInfo(int stop) {
    7064      return stopInsertionInfos[stop];
    71     } 
     65    }
    7266
    7367    public int GetStopCount() {
     
    7872  public class InsertionInfo {
    7973    private List<TourInsertionInfo> tourInsertionInfos;
    80    
     74
    8175    public InsertionInfo()
    8276      : base() {
    83         tourInsertionInfos = new List<TourInsertionInfo>();
     77      tourInsertionInfos = new List<TourInsertionInfo>();
    8478    }
    8579
    86     public void AddTourInsertionInfo(TourInsertionInfo info) {     
     80    public void AddTourInsertionInfo(TourInsertionInfo info) {
    8781      tourInsertionInfos.Add(info);
    8882    }
     
    9286    }
    9387  }
    94  
     88
    9589  public class VRPEvaluation {
    9690    public double Quality { get; set; }
Note: See TracChangeset for help on using the changeset viewer.