Changeset 16728 for branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Individuals
- Timestamp:
- 03/31/19 14:40:15 (6 years ago)
- Location:
- branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Property svn:mergeinfo changed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/Individual.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using System.Linq; 25 25 using HeuristicLab.Core; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Optimization { 29 [StorableType("b1388a9d-c85c-49f6-9916-ef4c93dffee0")] 28 30 public abstract class Individual { 31 [Storable] 29 32 protected IEncoding Encoding { get; private set; } 33 [Storable] 30 34 protected IScope Scope { get; private set; } 31 35 public string Name { get { return Encoding.Name; } } 36 37 38 [StorableConstructor] 39 protected Individual(StorableConstructorFlag _) { 40 } 32 41 33 42 protected Individual(IEncoding encoding, IScope scope) { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/MultiEncodingIndividual.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Core; 26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization { 29 [StorableType("ec7201c7-3c9f-4a93-966b-d848d9538202")] 29 30 public sealed class MultiEncodingIndividual : Individual { 30 31 private new MultiEncoding Encoding { 31 32 get { return (MultiEncoding)base.Encoding; } 33 } 34 35 [StorableConstructor] 36 private MultiEncodingIndividual(StorableConstructorFlag _) : base(_) { 32 37 } 33 38 -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/SingleEncodingIndividual.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("13a86161-9e5c-442b-ab1c-18018b1d9708")] 27 29 public sealed class SingleEncodingIndividual : Individual { 30 [StorableConstructor] 31 private SingleEncodingIndividual(StorableConstructorFlag _) : base(_) { 32 } 33 28 34 public SingleEncodingIndividual(IEncoding encoding, IScope scope) 29 35 : base(encoding, scope) {
Note: See TracChangeset
for help on using the changeset viewer.