Changeset 13339 for branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces
- Timestamp:
- 11/23/15 16:14:57 (9 years ago)
- Location:
- branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiObjectiveProblemDefinition.cs
r13336 r13339 23 23 24 24 namespace HeuristicLab.Optimization { 25 public interface IMultiObjectiveProblemDefinition<TSolution> : IProblemDefinition 26 where TSolution : class, ISolution { 25 public interface IMultiObjectiveProblemDefinition<TEncoding, TSolution> : IProblemDefinition<TEncoding, TSolution> 26 where TEncoding : class, IEncoding<TSolution> 27 where TSolution : class, ISolution { 27 28 bool[] Maximization { get; } 28 29 double[] Evaluate(TSolution individual, IRandom random); -
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IProblemDefinition.cs
r13336 r13339 21 21 22 22 namespace HeuristicLab.Optimization { 23 public interface IProblemDefinition { 24 //IEncoding Encoding { get; } 23 public interface IProblemDefinition<TEncoding, TSolution> 24 where TEncoding : class, IEncoding<TSolution> 25 where TSolution : class, ISolution { 26 TEncoding Encoding { get; } 25 27 } 26 28 } -
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblem.cs
r13337 r13339 24 24 25 25 namespace HeuristicLab.Optimization { 26 public interface ISingleObjectiveProblem<TSolution> : IProblem<TSolution>, ISingleObjectiveProblemDefinition<TSolution>, ISingleObjectiveHeuristicOptimizationProblem 26 public interface ISingleObjectiveProblem<TEncoding, TSolution> : IProblem<TEncoding, TSolution>, ISingleObjectiveProblemDefinition<TEncoding, TSolution>, ISingleObjectiveHeuristicOptimizationProblem 27 where TEncoding : class, IEncoding<TSolution> 27 28 where TSolution : class, ISolution { 28 29 bool IsBetter(double quality, double bestQuality); -
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblemDefinition.cs
r13336 r13339 24 24 25 25 namespace HeuristicLab.Optimization { 26 public interface ISingleObjectiveProblemDefinition<TSolution> : IProblemDefinition 27 where TSolution : class, ISolution { 26 public interface ISingleObjectiveProblemDefinition<TEncoding, TSolution> : IProblemDefinition<TEncoding, TSolution> 27 where TEncoding : class, IEncoding<TSolution> 28 where TSolution : class, ISolution { 28 29 bool Maximization { get; } 29 30 double Evaluate(TSolution individual, IRandom random);
Note: See TracChangeset
for help on using the changeset viewer.