Changeset 16476 for branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems
- Timestamp:
- 01/02/19 09:22:21 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/Individual.cs
r16453 r16476 24 24 using System.Linq; 25 25 using HeuristicLab.Core; 26 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/MultiEncodingIndividual.cs
r16462 r16476 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HEAL.Fossil; 26 27 27 28 namespace HeuristicLab.Optimization { 29 [StorableType("ec7201c7-3c9f-4a93-966b-d848d9538202")] 28 30 public sealed class MultiEncodingIndividual : Individual { 29 31 private new MultiEncoding Encoding { 30 32 get { return (MultiEncoding)base.Encoding; } 33 } 34 35 [StorableConstructor] 36 private MultiEncodingIndividual(StorableConstructorFlag _) : base(_) { 31 37 } 32 38 -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/SingleEncodingIndividual.cs
r16453 r16476 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HEAL.Fossil; 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) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncoding.cs
r16453 r16476 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HEAL.Fossil; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("d70b2675-246c-489c-a91b-b2e19a1616a3")] 27 29 public interface IEncoding : IParameterizedNamedItem { 28 30 ISolutionCreator SolutionCreator { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncodingOperator.cs
r16453 r16476 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Fossil; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("20faaf8b-dd4f-4f0e-a772-4c4dec7fcccb")] 25 27 public interface IEncodingOperator : IOperator { 26 28 ILookupParameter<IEncoding> EncodingParameter { get; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiEncodingOperator.cs
r16453 r16476 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Fossil; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("e8b66565-263c-49f9-9c08-29b820bf3e5a")] 25 27 public interface IMultiEncodingOperator : IOperator { 26 28 void AddEncoding(IEncoding encoding); -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiObjectiveProblemDefinition.cs
r16453 r16476 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Fossil; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("39eacdb5-80a0-425d-902a-00eb3e1d6610")] 25 27 public interface IMultiObjectiveProblemDefinition : IProblemDefinition { 26 28 bool[] Maximization { get; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IProblemDefinition.cs
r16453 r16476 1 #region License Information 1 using HEAL.Fossil; 2 #region License Information 2 3 /* HeuristicLab 3 4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 21 22 22 23 namespace HeuristicLab.Optimization { 24 [StorableType("747a3cea-b9ba-4322-a5c2-050cd7e16e2a")] 23 25 public interface IProblemDefinition { 24 26 IEncoding Encoding { get; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveMoveOperator.cs
r16453 r16476 1 #region License Information 1 using HEAL.Fossil; 2 #region License Information 2 3 /* HeuristicLab 3 4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 21 22 22 23 namespace HeuristicLab.Optimization { 24 [StorableType("82423b2f-1343-4a21-847c-e69bdcde4861")] 23 25 public interface ISingleObjectiveMoveOperator : IMoveOperator, ISingleObjectiveOperator { 24 26 } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblemDefinition.cs
r16453 r16476 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("7ec7bf7e-aaa7-4681-828b-3401cf67e2b3")] 26 28 public interface ISingleObjectiveProblemDefinition : IProblemDefinition { 27 29 bool Maximization { get; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveAnalysisOperator.cs
r16453 r16476 22 22 using System; 23 23 using HeuristicLab.Core; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("c9325602-3262-48a4-8985-03657fb0b34f")] 26 28 internal interface IMultiObjectiveAnalysisOperator : IEncodingOperator, IAnalyzer, IMultiObjectiveOperator { 27 29 Action<Individual[], double[][], ResultCollection, IRandom> AnalyzeAction { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveEvaluationOperator.cs
r16453 r16476 22 22 using System; 23 23 using HeuristicLab.Core; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("89da568c-70a2-48fb-8e6b-ea078bb6fc3f")] 26 28 internal interface IMultiObjectiveEvaluationOperator : IMultiObjectiveEvaluator, IEncodingOperator { 27 29 Func<Individual, IRandom, double[]> EvaluateFunc { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/INeighborBasedOperator.cs
r16453 r16476 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HEAL.Fossil; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("fda56e0b-9392-4711-9af1-55211bfa24ac")] 27 29 internal interface INeighborBasedOperator : IEncodingOperator { 28 30 Func<Individual, IRandom, IEnumerable<Individual>> GetNeighborsFunc { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveAnalysisOperator.cs
r16453 r16476 22 22 using System; 23 23 using HeuristicLab.Core; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("9731981c-10c6-4850-9308-a4720ac07da7")] 26 28 internal interface ISingleObjectiveAnalysisOperator : IEncodingOperator, ISingleObjectiveOperator { 27 29 Action<Individual[], double[], ResultCollection, IRandom> AnalyzeAction { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveEvaluationOperator.cs
r16453 r16476 22 22 using System; 23 23 using HeuristicLab.Core; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("5a9cf334-4815-4f0e-a2f8-f3d4edfcc829")] 26 28 internal interface ISingleObjectiveEvaluationOperator : ISingleObjectiveEvaluator, IEncodingOperator { 27 29 Func<Individual, IRandom, double> EvaluateFunc { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.