Changeset 2616 for trunk/sources
- Timestamp:
- 01/08/10 18:31:40 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 34 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab 3.2.sln
r2605 r2616 292 292 EndProject 293 293 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.ArtificialNeuralNetworks-3.2", "HeuristicLab.ArtificialNeuralNetworks\3.2\HeuristicLab.ArtificialNeuralNetworks-3.2.csproj", "{4744FB81-7F42-4BBA-813E-68CAB6FE07E2}" 294 EndProject 295 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.GP.StructureIdentification.Networks-3.2", "HeuristicLab.GP.StructureIdentification.Networks\3.2\HeuristicLab.GP.StructureIdentification.Networks-3.2.csproj", "{5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}" 294 296 EndProject 295 297 Global … … 2564 2566 {4744FB81-7F42-4BBA-813E-68CAB6FE07E2}.Release|x86.ActiveCfg = Release|x86 2565 2567 {4744FB81-7F42-4BBA-813E-68CAB6FE07E2}.Release|x86.Build.0 = Release|x86 2568 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|Any CPU.ActiveCfg = Debug|Any CPU 2569 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|Any CPU.Build.0 = Debug|Any CPU 2570 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|x64.ActiveCfg = Debug|x64 2571 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|x64.Build.0 = Debug|x64 2572 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|x86.ActiveCfg = Debug|x86 2573 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.CEDMA Debug|x86.Build.0 = Debug|x86 2574 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 2575 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|Any CPU.Build.0 = Debug|Any CPU 2576 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|x64.ActiveCfg = Debug|x64 2577 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|x64.Build.0 = Debug|x64 2578 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|x86.ActiveCfg = Debug|x86 2579 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Debug|x86.Build.0 = Debug|x86 2580 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|Any CPU.ActiveCfg = Debug|Any CPU 2581 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|Any CPU.Build.0 = Debug|Any CPU 2582 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|x64.ActiveCfg = Debug|x64 2583 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|x64.Build.0 = Debug|x64 2584 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|x86.ActiveCfg = Debug|x86 2585 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Modeling Debug|x86.Build.0 = Debug|x86 2586 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|Any CPU.ActiveCfg = Release|Any CPU 2587 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|Any CPU.Build.0 = Release|Any CPU 2588 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|x64.ActiveCfg = Release|x64 2589 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|x64.Build.0 = Release|x64 2590 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|x86.ActiveCfg = Release|x86 2591 {5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}.Release|x86.Build.0 = Release|x86 2566 2592 EndGlobalSection 2567 2593 GlobalSection(SolutionProperties) = preSolution -
trunk/sources/HeuristicLab.GP.Tests/HeuristicLab.GP.Tests.csproj
r2447 r2616 53 53 <RequiredTargetFramework>3.5</RequiredTargetFramework> 54 54 </Reference> 55 <Reference Include="System.Data" /> 56 <Reference Include="System.Data.DataSetExtensions"> 57 <RequiredTargetFramework>3.5</RequiredTargetFramework> 58 </Reference> 59 <Reference Include="System.Xml" /> 60 <Reference Include="System.Xml.Linq"> 61 <RequiredTargetFramework>3.5</RequiredTargetFramework> 62 </Reference> 55 63 </ItemGroup> 56 64 <ItemGroup> 65 <Compile Include="NetworkFunctionLibraryTest.cs" /> 57 66 <Compile Include="HL3TreeEvaluatorTest.cs" /> 67 <Compile Include="NetworkToFunctionTransformerTest.cs" /> 58 68 <Compile Include="ProbabilisticTreeCreatorTest.cs" /> 59 69 <Compile Include="Properties\AssemblyInfo.cs" /> … … 63 73 </ItemGroup> 64 74 <ItemGroup> 75 <ProjectReference Include="..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj"> 76 <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project> 77 <Name>HeuristicLab.Common-3.2</Name> 78 </ProjectReference> 65 79 <ProjectReference Include="..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj"> 66 80 <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project> … … 70 84 <Project>{7DD3A97A-56E9-462F-90E2-A351FE7AF5C2}</Project> 71 85 <Name>HeuristicLab.DataAnalysis-3.2</Name> 86 </ProjectReference> 87 <ProjectReference Include="..\HeuristicLab.Data\3.2\HeuristicLab.Data-3.2.csproj"> 88 <Project>{F473D9AF-3F09-4296-9F28-3C65118DAFFA}</Project> 89 <Name>HeuristicLab.Data-3.2</Name> 90 </ProjectReference> 91 <ProjectReference Include="..\HeuristicLab.GP.Algorithms\3.2\HeuristicLab.GP.Algorithms-3.2.csproj"> 92 <Project>{3127719F-110E-4558-8845-98559DBB422D}</Project> 93 <Name>HeuristicLab.GP.Algorithms-3.2</Name> 72 94 </ProjectReference> 73 95 <ProjectReference Include="..\HeuristicLab.GP.Interfaces\3.3\HeuristicLab.GP.Interfaces-3.3.csproj"> … … 87 109 <Name>HeuristicLab.GP.StructureIdentification.ConditionalEvaluation-3.3</Name> 88 110 </ProjectReference> 111 <ProjectReference Include="..\HeuristicLab.GP.StructureIdentification.Networks\3.2\HeuristicLab.GP.StructureIdentification.Networks-3.2.csproj"> 112 <Project>{5DBC2F13-EC32-4DCA-9D5F-E60B5EA8459A}</Project> 113 <Name>HeuristicLab.GP.StructureIdentification.Networks-3.2</Name> 114 </ProjectReference> 89 115 <ProjectReference Include="..\HeuristicLab.GP.StructureIdentification.TimeSeries\3.3\HeuristicLab.GP.StructureIdentification.TimeSeries-3.3.csproj"> 90 116 <Project>{6084CFB5-733F-449D-9F92-2E40D13F0514}</Project> … … 99 125 <Name>HeuristicLab.GP-3.3</Name> 100 126 </ProjectReference> 127 <ProjectReference Include="..\HeuristicLab.Modeling\3.2\HeuristicLab.Modeling-3.2.csproj"> 128 <Project>{80F7FADA-549D-4151-8856-79B620A50DBA}</Project> 129 <Name>HeuristicLab.Modeling-3.2</Name> 130 </ProjectReference> 131 <ProjectReference Include="..\HeuristicLab.Operators\3.2\HeuristicLab.Operators-3.2.csproj"> 132 <Project>{A9983BA2-B3B2-475E-8E2C-62050B71D1C5}</Project> 133 <Name>HeuristicLab.Operators-3.2</Name> 134 </ProjectReference> 135 <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj"> 136 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> 137 <Name>HeuristicLab.PluginInfrastructure</Name> 138 </ProjectReference> 101 139 <ProjectReference Include="..\HeuristicLab.Random\3.2\HeuristicLab.Random-3.2.csproj"> 102 140 <Project>{47019A74-F7F7-482E-83AA-D3F4F777E879}</Project> 103 141 <Name>HeuristicLab.Random-3.2</Name> 104 142 </ProjectReference> 143 </ItemGroup> 144 <ItemGroup> 145 <Shadow Include="Test References\HeuristicLab.GP.StructureIdentification.Networks-3.2.accessor" /> 105 146 </ItemGroup> 106 147 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> -
trunk/sources/HeuristicLab.GP.Tests/Util.cs
r2455 r2616 172 172 } 173 173 174 public static IFunctionTree[] CreateRandomTrees(MersenneTwister twister, Dataset dataset, FunctionLibrary funLib, int popSize) { 175 return CreateRandomTrees(twister, dataset, funLib, popSize, 1, 200); 176 } 177 174 178 public static IFunctionTree[] CreateRandomTrees(MersenneTwister twister, Dataset dataset, int popSize) { 175 179 return CreateRandomTrees(twister, dataset, popSize, 1, 200); … … 177 181 178 182 public static IFunctionTree[] CreateRandomTrees(MersenneTwister twister, Dataset dataset, int popSize, int minSize, int maxSize) { 183 return CreateRandomTrees(twister, dataset, Util.CreateFunctionLibrary(), popSize, minSize, maxSize); 184 } 185 186 public static IFunctionTree[] CreateRandomTrees(MersenneTwister twister, Dataset dataset, FunctionLibrary funLib, int popSize, int minSize, int maxSize) { 179 187 IFunctionTree[] randomTrees = new IFunctionTree[popSize]; 180 FunctionLibrary funLib = Util.CreateFunctionLibrary();181 188 for (int i = 0; i < randomTrees.Length; i++) { 182 189 randomTrees[i] = ProbabilisticTreeCreator.Create(twister, funLib, minSize, maxSize, maxSize + 1); -
trunk/sources/HeuristicLab.GP/3.3/BaseClasses/FunctionLibraryInjectorBase.cs
r2223 r2616 48 48 protected abstract FunctionLibrary CreateFunctionLibrary(); 49 49 50 protected void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) {50 protected static void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) { 51 51 for (int i = 0; i < f.MaxSubTrees; i++) { 52 52 SetAllowedSubOperators(f, i, gs); … … 54 54 } 55 55 56 protected void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) {56 protected static void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) { 57 57 foreach (var g in gs) { 58 58 f.AddAllowedSubFunction(g, i);
Note: See TracChangeset
for help on using the changeset viewer.