Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/15 00:03:14 (9 years ago)
Author:
abeham
Message:

#2174:

  • Added IImprovmentOperator interface to SingleObjectiveImprover
  • Added Random parameter to Analyze method and IStochasticOperator interface to the resp. analyzer
  • Updated code template text of the compiled single- and multi-objective problem definitions
  • Prevent ProblemDefinitionScript from silently ignoring exceptions
  • Added equality comparer in Encoding's cloning constructor
  • Small adaption of ProblemDefinitionScriptView to changes in new code editor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/MultiObjectiveProgrammableProblem.cs

    r11814 r11880  
    5050      try {
    5151        ProblemScript.Compile();
    52       }
    53       catch (InvalidOperationException) {
     52      } catch (InvalidOperationException) {
    5453        //Compilation error
    5554      }
     
    7271      try {
    7372        ProblemScript.Compile();
    74       }
    75       catch (InvalidOperationException) {
     73      } catch (InvalidOperationException) {
    7674        //Compilation error
    7775      }
     
    9694    }
    9795
    98     public override void Analyze(Individual[] individuals, double[][] qualities, ResultCollection results) {
    99       ProblemDefinition.Analyze(individuals, qualities, results);
     96    public override void Analyze(Individual[] individuals, double[][] qualities, ResultCollection results, IRandom random) {
     97      ProblemDefinition.Analyze(individuals, qualities, results, random);
    10098    }
    10199  }
Note: See TracChangeset for help on using the changeset viewer.