Changeset 3860 for trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
- Timestamp:
- 05/26/10 15:19:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
r3859 r3860 69 69 #endregion 70 70 71 #region Properties 72 public BoolValue Maximization { 73 get { return MaximizationParameter.Value; } 74 set { MaximizationParameter.Value = value; } 75 } 76 public IOperator SolutionCreator { 77 get { return SolutionCreatorParameter.Value; } 78 set { SolutionCreatorParameter.Value = value; } 79 } 80 ISolutionCreator IProblem.SolutionCreator { 81 get { return SolutionCreatorParameter.Value; } 82 } 83 public ISingleObjectiveTestFunctionProblemEvaluator Evaluator { 84 get { return EvaluatorParameter.Value; } 85 set { EvaluatorParameter.Value = value; } 86 } 87 ISingleObjectiveEvaluator ISingleObjectiveProblem.Evaluator { 88 get { return EvaluatorParameter.Value; } 89 } 90 IEvaluator IProblem.Evaluator { 91 get { return EvaluatorParameter.Value; } 92 } 93 public DoubleValue BestKnownQuality { 94 get { return BestKnownQualityParameter.Value; } 95 set { BestKnownQualityParameter.Value = value; } 96 } 97 private List<IOperator> operators; 98 public IEnumerable<IOperator> Operators { 99 get { return operators; } 100 } 101 private BestSingleObjectiveTestFunctionSolutionAnalyzer BestSingleObjectiveTestFunctionSolutionAnalyzer { 102 get { return operators.OfType<BestSingleObjectiveTestFunctionSolutionAnalyzer>().FirstOrDefault(); } 103 } 104 #endregion 105 71 106 public ExternalEvaluationProblem() 72 107 : base() {
Note: See TracChangeset
for help on using the changeset viewer.