Changeset 2568
- Timestamp:
- 12/21/09 17:11:48 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/DefaultStructureIdentificationOperators.cs
r2566 r2568 28 28 using HeuristicLab.Selection; 29 29 using HeuristicLab.Data; 30 using System.Collections.Generic; 31 using System; 30 32 31 33 namespace HeuristicLab.GP.StructureIdentification { … … 177 179 model.SetMetaData("TreeSize", gpModel.Size); 178 180 model.SetMetaData("TreeHeight", gpModel.Height); 181 double treeComplexity = TreeComplexityEvaluator.Calculate(gpModel.FunctionTree); 182 model.SetMetaData("TreeComplexity", treeComplexity); 183 model.SetMetaData("AverageNodeComplexity", treeComplexity / gpModel.Size); 179 184 #region variable impacts 180 185 ItemList qualityImpacts = bestModelScope.GetVariableValue<ItemList>(ModelingResult.VariableQualityImpact.ToString(), false); … … 195 200 196 201 } 202 197 203 } 198 204 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/HeuristicLab.GP.StructureIdentification-3.3.csproj
r2566 r2568 85 85 <Compile Include="BaseClasses\FunctionTreeBase.cs" /> 86 86 <Compile Include="BaseClasses\TreeEvaluatorBase.cs" /> 87 <Compile Include="Evaluators\TreeComplexityEvaluator.cs" /> 87 88 <Compile Include="FunctionLibraryInjectors\ArithmeticFunctionLibraryInjector.cs" /> 88 89 <Compile Include="FunctionLibraryInjectors\SymbolicRegressionFunctionLibraryInjectorAttribute.cs" />
Note: See TracChangeset
for help on using the changeset viewer.