Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/18/19 14:06:00 (6 years ago)
Author:
abeham
Message:

#2521: Refactored external evaluation problem

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  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Optimization;
    24 using HEAL.Attic;
    2525
    2626namespace HeuristicLab.Problems.ExternalEvaluation {
    2727  [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);
    3030  }
    3131}
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Interfaces/ISingleObjectiveOptimizationSupport.cs

    r16751 r16816  
    2121
    2222using System.Collections.Generic;
     23using HEAL.Attic;
     24using HeuristicLab.Common;
    2325using HeuristicLab.Core;
    2426using HeuristicLab.Optimization;
    25 using HEAL.Attic;
    2627
    2728namespace HeuristicLab.Problems.ExternalEvaluation {
    2829  [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);
    3235  }
    3336}
Note: See TracChangeset for help on using the changeset viewer.