Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluation.cs @ 14929

Last change on this file since 14929 was 14929, checked in by gkronber, 7 years ago

#2520 fixed unit tests for new persistence: loading & storing all samples

File size: 1.5 KB
Line 
1using HeuristicLab.Persistence;
2#region License Information
3/* HeuristicLab
4 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
5 *
6 * This file is part of HeuristicLab.
7 *
8 * HeuristicLab is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * HeuristicLab is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
20 */
21#endregion
22
23
24namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances {
25  [StorableType("4dcef89b-e83e-4000-84be-d61ecc864016")]
26  public class CVRPInsertionInfo : StopInsertionInfo {
27    private double spareCapacity;
28
29    public double SpareCapacity {
30      get { return spareCapacity; }
31    }
32
33    public CVRPInsertionInfo(int start, int end, double spareCapacity)
34      : base(start, end) {
35      this.spareCapacity = spareCapacity;
36    }
37  }
38
39  [StorableType("b341fad8-8a56-4917-9ee8-5452bdb49a02")]
40  public class CVRPEvaluation : VRPEvaluation {
41    public double Overload { get; set; }
42  }
43}
Note: See TracBrowser for help on using the repository browser.