Changeset 2683
- Timestamp:
- 01/25/10 15:26:00 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.Algorithms/3.2/AlgorithmBase.cs
r2566 r2683 287 287 loop.AddSubOperator(seq); 288 288 289 seq.AddSubOperator(CreateGenerationStepHook()); 290 seq.AddSubOperator(qualityCalculator); 291 seq.AddSubOperator(loggingOperator); 292 seq.AddSubOperator(counter); 289 293 seq.AddSubOperator(childCreater); 290 294 seq.AddSubOperator(replacement); 291 seq.AddSubOperator(qualityCalculator);292 seq.AddSubOperator(CreateGenerationStepHook());293 seq.AddSubOperator(loggingOperator);294 seq.AddSubOperator(counter);295 295 seq.AddSubOperator(terminationCriterionExtractor); 296 296 seq.AddSubOperator(loop); -
trunk/sources/HeuristicLab.GP.Algorithms/3.2/OffspringSelectionGP.cs
r2385 r2683 70 70 injector.AddVariable(new HeuristicLab.Core.Variable("ComparisonFactor", new DoubleData())); 71 71 injector.AddVariable(new HeuristicLab.Core.Variable("SelectionPressureLimit", new DoubleData())); 72 injector.AddVariable(new HeuristicLab.Core.Variable("SelectionPressure", new DoubleData(1))); 72 73 injector.AddVariable(new HeuristicLab.Core.Variable("SuccessRatioLimit", new DoubleData())); 73 74 return injector; -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/DefaultStructureIdentificationOperators.cs
r2632 r2683 30 30 using System.Collections.Generic; 31 31 using System; 32 using HeuristicLab.GP.Operators; 32 33 33 34 namespace HeuristicLab.GP.StructureIdentification { … … 60 61 CombinedOperator op = new CombinedOperator(); 61 62 SequentialProcessor seq = new SequentialProcessor(); 63 64 SymbolFrequencyAnalyser symbolFrequencyAnalyser = new SymbolFrequencyAnalyser(); 65 seq.AddSubOperator(symbolFrequencyAnalyser); 66 67 VariableFrequencyAnalyser varFrequencyAnalyser = new VariableFrequencyAnalyser(); 68 seq.AddSubOperator(varFrequencyAnalyser); 69 62 70 UniformSequentialSubScopesProcessor subScopesProc = new UniformSequentialSubScopesProcessor(); 63 71 SequentialProcessor individualProc = new SequentialProcessor(); … … 170 178 solutionProc.AddSubOperator(nodeImpactCalculator); 171 179 180 VariableFrequencyBasedImpactCalculator frequencyImpactCalculator = new VariableFrequencyBasedImpactCalculator(); 181 solutionProc.AddSubOperator(frequencyImpactCalculator); 182 172 183 #endregion 173 184 … … 198 209 model.AddInputVariable(variableName); 199 210 } 211 ItemList frequencyImpacts = bestModelScope.GetVariableValue<ItemList>(ModelingResult.RelativeFrequencyVariableImpact.ToString(), false); 212 foreach (ItemList row in frequencyImpacts) { 213 string variableName = ((StringData)row[0]).Data; 214 double impact = ((DoubleData)row[1]).Data; 215 model.SetVariableResult(ModelingResult.RelativeFrequencyVariableImpact, variableName, impact); 216 model.AddInputVariable(variableName); 217 } 218 200 219 #endregion 201 220 -
trunk/sources/HeuristicLab.Modeling/3.2/ModelingResult.cs
r2549 r2683 79 79 VariableQualityImpact, 80 80 VariableEvaluationImpact, 81 VariableNodeImpact 81 VariableNodeImpact, 82 RelativeFrequencyVariableImpact, 82 83 } 83 84 }
Note: See TracChangeset
for help on using the changeset viewer.