Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 18:43:08 (9 years ago)
Author:
abeham
Message:

#2521:

  • Readded excluded views
  • Removed ProblemInstanceProviderView which was not referenced in the project file
  • Fixed plugin dependency
Location:
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/MultiObjectiveProblem.cs

    r13361 r13388  
    6363    public virtual void Analyze(TSolution[] individuals, double[][] qualities, ResultCollection results, IRandom random) { }
    6464
    65     //TODO
    66     //protected override void OnOperatorsChanged() {
    67     //  base.OnOperatorsChanged();
    68     //  if (Encoding != null) {
    69     //    PruneSingleObjectiveOperators(Encoding);
    70     //    var multiEncoding = Encoding as MultiEncoding;
    71     //    if (multiEncoding != null) {
    72     //      foreach (var encoding in multiEncoding.Encodings.ToList()) {
    73     //        PruneSingleObjectiveOperators(encoding);
    74     //      }
    75     //    }
    76     //  }
    77     //}
    78 
    79     //private void PruneSingleObjectiveOperators(IEncoding encoding) {
    80     //  if (encoding != null && encoding.Operators.Any(x => x is ISingleObjectiveOperator && !(x is IMultiObjectiveOperator)))
    81     //    encoding.Operators = encoding.Operators.Where(x => !(x is ISingleObjectiveOperator) || x is IMultiObjectiveOperator).ToList();
    82     //}
    83 
    8465    protected override void OnEvaluatorChanged() {
    8566      base.OnEvaluatorChanged();
  • branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/SingleObjectiveProblem.cs

    r13361 r13388  
    9191    }
    9292
    93     //TODO
    94     //protected override void OnOperatorsChanged() {
    95     //  base.OnOperatorsChanged();
    96     //  if (Encoding != null) {
    97     //    PruneMultiObjectiveOperators(Encoding);
    98     //    var multiEncoding = Encoding as MultiEncoding;
    99     //    if (multiEncoding != null) {
    100     //      foreach (var encoding in multiEncoding.Encodings.ToList()) {
    101     //        PruneMultiObjectiveOperators(encoding);
    102     //      }
    103     //    }
    104     //  }
    105     //}
    106 
    107     //private void PruneMultiObjectiveOperators(IEncoding<TSolution> encoding) {
    108     //  if (encoding.Operators.Any(x => x is IMultiObjectiveOperator && !(x is ISingleObjectiveOperator)))
    109     //    encoding.Operators = encoding.Operators.Where(x => !(x is IMultiObjectiveOperator) || x is ISingleObjectiveOperator).ToList();
    110     //}
    111 
    11293    protected override void OnEvaluatorChanged() {
    11394      base.OnEvaluatorChanged();
Note: See TracChangeset for help on using the changeset viewer.