#region License Information /* HeuristicLab * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using HeuristicLab.Problems.Instances; using HeuristicLab.Problems.VehicleRouting.Interfaces; using System; using HeuristicLab.Persistence; namespace HeuristicLab.Problems.VehicleRouting.Interpreters { [StorableType("886ddfc7-60d7-4de3-9e2f-51e1b0aea3b9")] public struct VRPInstanceDescription { public string Name { get; set; } public string Description { get; set; } public IVRPProblemInstance ProblemInstance { get; set; } public double? BestKnownQuality { get; set; } public IVRPEncoding BestKnownSolution { get; set; } } [StorableType("8212b8f3-281f-4c42-a7fd-ddd8cc791105")] public interface IVRPDataInterpreter { VRPInstanceDescription Interpret(IVRPData data); } [StorableType("88d16c1c-579d-44fd-ba68-4d90ec8c98a5")] public interface IVRPDataInterpreter : IVRPDataInterpreter where T : IVRPData { } }