Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/09/13 23:30:15 (12 years ago)
Author:
abeham
Message:

#1961: Added creator to project, fixed wiring in CMA-ES algorithm, fixed visualization of random landscape, removed useless function in test functions

Location:
branches/CMAES/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/CMAES/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.3/CMAAnalyzer.cs

    r9132 r9140  
    115115        realVector.Rows["Axis" + i.ToString()].Values.Add(vector[i]);
    116116
     117      DataTable stdDevs;
     118      if (results.ContainsKey("StandardDeviations")) {
     119        stdDevs = (DataTable)results["StandardDeviations"].Value;
     120      } else {
     121        stdDevs = new DataTable("StandardDeviations");
     122        for (int i = 0; i < vector.Length; i++)
     123          stdDevs.Rows.Add(new DataRow("Axis" + i.ToString()));
     124        results.Add(new Result("StandardDeviations", stdDevs));
     125      }
     126      for (int i = 0; i < vector.Length; i++)
     127        stdDevs.Rows["Axis" + i.ToString()].Values.Add(sp.C[i, i]);
     128
    117129      return base.Apply();
    118130    }
Note: See TracChangeset for help on using the changeset viewer.