Changeset 16630 for branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/MOEADSolution.cs
- Timestamp:
- 02/28/19 14:23:36 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/MOEADSolution.cs
r16560 r16630 1 using HeuristicLab.Common; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using HEAL.Attic; 23 using HeuristicLab.Common; 2 24 using HeuristicLab.Core; 3 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;4 25 5 26 namespace HeuristicLab.Algorithms.MOEAD { 27 [StorableType("DFE1AC99-9AEF-4A35-884B-C82E2B3D84F7")] 6 28 public interface IMOEADSolution : IItem { 7 29 IItem Individual { get; set; } … … 12 34 13 35 [Item("MOEADSolution", "Represents a solution inside the MOEA/D population")] 14 [Storable Class]36 [StorableType("8D7DE459-E6D5-4B74-9135-00E27CF451D3")] 15 37 public class MOEADSolution : Item, IMOEADSolution { 16 38 [Storable] … … 55 77 56 78 [StorableConstructor] 57 protected MOEADSolution( booldeserializing) : base(deserializing) { }79 protected MOEADSolution(StorableConstructorFlag deserializing) : base(deserializing) { } 58 80 } 59 81 60 82 [Item("MOEADSolution", "Represents a solution inside the MOEA/D population")] 61 [Storable Class]83 [StorableType("24B4B79B-5828-4E6B-BE35-452DEA1FF538")] 62 84 public class MOEADSolution<T> : MOEADSolution where T : class, IItem { 63 85 public new T Individual { … … 75 97 76 98 [StorableConstructor] 77 protected MOEADSolution( booldeserializing) : base(deserializing) { }99 protected MOEADSolution(StorableConstructorFlag deserializing) : base(deserializing) { } 78 100 } 79 101 }
Note: See TracChangeset
for help on using the changeset viewer.