Changeset 17699 for branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces
- Timestamp:
- 07/25/20 01:23:08 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncoding.cs
r17614 r17699 35 35 event EventHandler OperatorsChanged; 36 36 } 37 38 [StorableType("DB23907F-BE6E-44E4-9596-3D3BF1532631")]39 public interface IEncoding<TEncodedSolution> : IEncoding40 where TEncodedSolution : class, IEncodedSolution {41 //new ISolutionCreator<TEncodedSolution> SolutionCreator { get; }42 }43 37 } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncodingOperator.cs
r17226 r17699 25 25 namespace HeuristicLab.Optimization { 26 26 [StorableType("20faaf8b-dd4f-4f0e-a772-4c4dec7fcccb")] 27 public interface IEncodingOperator <TEncodedSolution> : IOperator where TEncodedSolution : class, IEncodedSolution{28 ILookupParameter<IEncoding <TEncodedSolution>> EncodingParameter { get; }27 public interface IEncodingOperator : IOperator { 28 ILookupParameter<IEncoding> EncodingParameter { get; } 29 29 } 30 30 } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiObjectiveProblem.cs
r17320 r17699 31 31 [StorableType("806fb361-1469-4903-9f54-f8678b0717b9")] 32 32 public interface IMultiObjectiveProblem<TEncoding, TEncodedSolution> : IMultiObjectiveProblem, IProblem<TEncoding, TEncodedSolution> 33 where TEncoding : class, IEncoding <TEncodedSolution>33 where TEncoding : class, IEncoding 34 34 where TEncodedSolution : class, IEncodedSolution { } 35 35 -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiObjectiveProblemDefinition.cs
r17320 r17699 36 36 [StorableType("39eacdb5-80a0-425d-902a-00eb3e1d6610")] 37 37 public interface IMultiObjectiveProblemDefinition<TEncoding, TEncodedSolution> : IMultiObjectiveProblemDefinition, IProblemDefinition<TEncoding, TEncodedSolution> 38 where TEncoding : class, IEncoding <TEncodedSolution>38 where TEncoding : class, IEncoding 39 39 where TEncodedSolution : class, IEncodedSolution { 40 40 double[] Evaluate(TEncodedSolution solution, IRandom random); -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IProblem.cs
r17696 r17699 52 52 [StorableType("1b4af8b9-bdf5-4ffd-86e6-35b481bfbf45")] 53 53 public interface IProblem<TEncoding, TEncodedSolution> : IHeuristicOptimizationProblem 54 where TEncoding : class, IEncoding <TEncodedSolution>54 where TEncoding : class, IEncoding 55 55 where TEncodedSolution : class, IEncodedSolution { 56 56 } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IProblemDefinition.cs
r17612 r17699 31 31 [StorableType("747a3cea-b9ba-4322-a5c2-050cd7e16e2a")] 32 32 public interface IProblemDefinition<TEncoding, TEncodedSolution> : IProblemDefinition 33 where TEncoding : class, IEncoding <TEncodedSolution>33 where TEncoding : class, IEncoding 34 34 where TEncodedSolution : class, IEncodedSolution { 35 35 TEncoding Encoding { get; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblem.cs
r17320 r17699 31 31 [StorableType("9cc9422f-0bb5-41e8-9d9e-6e0b66a66449")] 32 32 public interface ISingleObjectiveProblem<TEncoding, TEncodedSolution> : ISingleObjectiveProblem, IProblem<TEncoding, TEncodedSolution> 33 where TEncoding : class, IEncoding <TEncodedSolution>33 where TEncoding : class, IEncoding 34 34 where TEncodedSolution : class, IEncodedSolution { } 35 35 //TODO derive ISingleObjectiveProblem from ISingleObjectiveProblemDefinition? -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblemDefinition.cs
r17513 r17699 34 34 [StorableType("7ec7bf7e-aaa7-4681-828b-3401cf67e2b3")] 35 35 public interface ISingleObjectiveProblemDefinition<TEncoding, TEncodedSolution> : ISingleObjectiveProblemDefinition, IProblemDefinition<TEncoding, TEncodedSolution> 36 where TEncoding : class, IEncoding <TEncodedSolution>36 where TEncoding : class, IEncoding 37 37 where TEncodedSolution : class, IEncodedSolution { 38 38 -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveAnalysisOperator.cs
r17226 r17699 26 26 namespace HeuristicLab.Optimization { 27 27 [StorableType("c9325602-3262-48a4-8985-03657fb0b34f")] 28 internal interface IMultiObjectiveAnalysisOperator<TEncodedSolution> : IEncodingOperator <TEncodedSolution>, IAnalyzer, IMultiObjectiveOperator28 internal interface IMultiObjectiveAnalysisOperator<TEncodedSolution> : IEncodingOperator, IAnalyzer, IMultiObjectiveOperator 29 29 where TEncodedSolution : class, IEncodedSolution { 30 30 Action<TEncodedSolution[], double[][], ResultCollection, IRandom> AnalyzeAction { get; set; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveEvaluationOperator.cs
r17226 r17699 26 26 namespace HeuristicLab.Optimization { 27 27 [StorableType("89da568c-70a2-48fb-8e6b-ea078bb6fc3f")] 28 internal interface IMultiObjectiveEvaluationOperator<TEncodedSolution> : IMultiObjectiveEvaluator, IEncodingOperator <TEncodedSolution>28 internal interface IMultiObjectiveEvaluationOperator<TEncodedSolution> : IMultiObjectiveEvaluator, IEncodingOperator 29 29 where TEncodedSolution : class, IEncodedSolution { 30 30 Func<TEncodedSolution, IRandom, double[]> EvaluateFunc { get; set; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/INeighborBasedOperator.cs
r17363 r17699 27 27 namespace HeuristicLab.Optimization { 28 28 [StorableType("fda56e0b-9392-4711-9af1-55211bfa24ac")] 29 internal interface INeighborBasedOperator<TEncodedSolution> : IEncodingOperator <TEncodedSolution>29 internal interface INeighborBasedOperator<TEncodedSolution> : IEncodingOperator 30 30 where TEncodedSolution : class, IEncodedSolution { 31 31 Func<ISingleObjectiveSolutionContext<TEncodedSolution>, IRandom, IEnumerable<ISingleObjectiveSolutionContext<TEncodedSolution>>> GetNeighbors { get; set; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveAnalysisOperator.cs
r17363 r17699 26 26 namespace HeuristicLab.Optimization { 27 27 [StorableType("9731981c-10c6-4850-9308-a4720ac07da7")] 28 internal interface ISingleObjectiveAnalysisOperator<TEncodedSolution> : IEncodingOperator <TEncodedSolution>, ISingleObjectiveOperator28 internal interface ISingleObjectiveAnalysisOperator<TEncodedSolution> : IEncodingOperator, ISingleObjectiveOperator 29 29 where TEncodedSolution : class, IEncodedSolution { 30 30 Action<ISingleObjectiveSolutionContext<TEncodedSolution>[], ResultCollection, IRandom> Analyze { get; set; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveEvaluationOperator.cs
r17366 r17699 27 27 namespace HeuristicLab.Optimization { 28 28 [StorableType("5a9cf334-4815-4f0e-a2f8-f3d4edfcc829")] 29 internal interface ISingleObjectiveEvaluationOperator<TEncodedSolution> : ISingleObjectiveEvaluator, IEncodingOperator <TEncodedSolution>29 internal interface ISingleObjectiveEvaluationOperator<TEncodedSolution> : ISingleObjectiveEvaluator, IEncodingOperator 30 30 where TEncodedSolution : class, IEncodedSolution { 31 31 Action<ISingleObjectiveSolutionContext<TEncodedSolution>, IRandom, CancellationToken> Evaluate { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.