- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Optimization
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration/HeuristicLab.Optimization (added) merged: 16452-16454,16462,16476,16529,16539,16558-16559 /trunk/HeuristicLab.Optimization merged: 16565,16568
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/Individual.cs
r15584 r17097 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) { -
stable/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/MultiEncodingIndividual.cs
r15584 r17097 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 -
stable/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/SingleEncodingIndividual.cs
r15584 r17097 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.