Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/18 09:18:49 (6 years ago)
Author:
bwerth
Message:

#2943 worked on MOBasicProblem - added Interfaces;reworked MOCalculators; several minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2943_MOBasicProblem_MOCMAES/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/ParetoFrontStore.cs

    r15583 r16171  
    2929  internal class ParetoFrontStore {
    3030    internal static IEnumerable<double[]> GetParetoFront(String filename) {
    31       List<double[]> data = new List<double[]>();
     31      var data = new List<double[]>();
    3232      var assembly = Assembly.GetExecutingAssembly();
    33       String ressourcename = typeof(ParetoFrontStore).Namespace + ".TestFunctions." + filename + ".pf";
     33      var ressourcename = typeof(ParetoFrontStore).Namespace + ".TestFunctions." + filename + ".pf";
    3434
    3535      //check if file is listed
     
    4242      while ((s = ressourceReader.ReadLine()) != null) {
    4343        var tokens = s.Split(new char[0], StringSplitOptions.RemoveEmptyEntries);
    44         double[] point = new double[tokens.Length];
    45         for (int i = 0; i < point.Length; i++) {
     44        var point = new double[tokens.Length];
     45        for (var i = 0; i < point.Length; i++) {
    4646          point[i] = Double.Parse(tokens[i], CultureInfo.InvariantCulture);
    4747        }
Note: See TracChangeset for help on using the changeset viewer.