Changeset 9140 for branches/CMAES
- Timestamp:
- 01/09/13 23:30:15 (12 years ago)
- Location:
- branches/CMAES
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CMAES/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.3/CMAAnalyzer.cs
r9132 r9140 115 115 realVector.Rows["Axis" + i.ToString()].Values.Add(vector[i]); 116 116 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 117 129 return base.Apply(); 118 130 } -
branches/CMAES/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj
r9132 r9140 173 173 </ItemGroup> 174 174 <ItemGroup> 175 <Compile Include="Creators\PredefinedRealVectorCreator.cs" /> 175 176 <Compile Include="Interfaces\IRealVectorMultiNeighborhoodShakingOperator.cs" /> 176 177 <Compile Include="ParticleOperators\RealVectorParticleCreator.cs" /> -
branches/CMAES/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/RandomEvaluator.cs
r9122 r9140 86 86 } 87 87 88 public override double Evaluate2D(double x, double y) { 89 var random = new System.Random(); 90 return random.NextDouble(); 91 } 92 88 93 protected override double EvaluateFunction(RealVector point) { 89 94 return RandomParameter.ActualValue.NextDouble(); -
branches/CMAES/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r9129 r9140 125 125 public override IDeepCloneable Clone(Cloner cloner) { 126 126 return new SingleObjectiveTestFunctionProblem(this, cloner); 127 }128 129 private bool IsNotFieldReferenced(IOperator x) {130 return !(x == strategyVectorCreator131 || x == strategyVectorCrossover132 || x == strategyVectorManipulator);133 127 } 134 128
Note: See TracChangeset
for help on using the changeset viewer.