Changeset 16816 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Interfaces
- Timestamp:
- 04/18/19 14:06:00 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Interfaces/IMultiObjectiveOptimizationSupport.cs
r16751 r16816 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Optimization; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Problems.ExternalEvaluation { 27 27 [StorableType("f924ef9c-d824-40d2-89b2-6dd1220df98b")] 28 public interface IMultiObjectiveOptimizationSupport {29 void Analyze( IEncodedSolution[] individuals, double[][] qualities, ResultCollection results, IRandom random);28 public interface IMultiObjectiveOptimizationSupport<TEncodedSolution> { 29 void Analyze(TEncodedSolution[] individuals, double[][] qualities, ResultCollection results, IRandom random); 30 30 } 31 31 } -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Interfaces/ISingleObjectiveOptimizationSupport.cs
r16751 r16816 21 21 22 22 using System.Collections.Generic; 23 using HEAL.Attic; 24 using HeuristicLab.Common; 23 25 using HeuristicLab.Core; 24 26 using HeuristicLab.Optimization; 25 using HEAL.Attic;26 27 27 28 namespace HeuristicLab.Problems.ExternalEvaluation { 28 29 [StorableType("09d522e0-c10f-474c-b7c0-7d7f98e63f44")] 29 public interface ISingleObjectiveOptimizationSupport { 30 void Analyze(IEncodedSolution[] individuals, double[] qualities, ResultCollection results, IRandom random); 31 IEnumerable<IEncodedSolution> GetNeighbors(IEncodedSolution individual, IRandom random); 30 public interface ISingleObjectiveOptimizationSupport<TEncodedSolution> 31 where TEncodedSolution : IDeepCloneable { 32 33 void Analyze(TEncodedSolution[] individuals, double[] qualities, ResultCollection results, IRandom random); 34 IEnumerable<TEncodedSolution> GetNeighbors(TEncodedSolution individual, IRandom random); 32 35 } 33 36 }
Note: See TracChangeset
for help on using the changeset viewer.