Changeset 2262 for branches/CEDMA-Exporter-715/tools/CedmaExporter
- Timestamp:
- 08/08/09 11:07:24 (15 years ago)
- Location:
- branches/CEDMA-Exporter-715/tools/CedmaExporter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CEDMA-Exporter-715/tools/CedmaExporter/CedmaExporter.csproj
r2232 r2262 31 31 <WarningLevel>4</WarningLevel> 32 32 </PropertyGroup> 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 34 <DebugSymbols>true</DebugSymbols> 35 <OutputPath>bin\x86\Debug\</OutputPath> 36 <DefineConstants>DEBUG;TRACE</DefineConstants> 37 <DebugType>full</DebugType> 38 <PlatformTarget>x86</PlatformTarget> 39 <ErrorReport>prompt</ErrorReport> 40 </PropertyGroup> 41 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 42 <OutputPath>bin\x86\Release\</OutputPath> 43 <DefineConstants>TRACE</DefineConstants> 44 <Optimize>true</Optimize> 45 <DebugType>pdbonly</DebugType> 46 <PlatformTarget>x86</PlatformTarget> 47 <ErrorReport>prompt</ErrorReport> 48 </PropertyGroup> 33 49 <ItemGroup> 34 <Reference Include="HeuristicLab.CEDMA.Core-3.3, Version=3.3.0.2146, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture= MSIL">50 <Reference Include="HeuristicLab.CEDMA.Core-3.3, Version=3.3.0.2146, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 35 51 <SpecificVersion>False</SpecificVersion> 36 <HintPath>..\..\sources\HeuristicLab\bin\ Debug\plugins\HeuristicLab.CEDMA.Core-3.3.dll</HintPath>52 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.CEDMA.Core-3.3.dll</HintPath> 37 53 </Reference> 38 <Reference Include="HeuristicLab.Core-3.2, Version=3.2.0.2143, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture= MSIL">54 <Reference Include="HeuristicLab.Core-3.2, Version=3.2.0.2143, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 39 55 <SpecificVersion>False</SpecificVersion> 40 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\HeuristicLab.Core-3.2.dll</HintPath>56 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.Core-3.2.dll</HintPath> 41 57 </Reference> 42 <Reference Include="HeuristicLab.Data -3.2, Version=3.2.0.1609, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">58 <Reference Include="HeuristicLab.DataAnalysis-3.2, Version=3.2.0.2162, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 43 59 <SpecificVersion>False</SpecificVersion> 44 <HintPath>..\..\sources\HeuristicLab\bin\ Debug\plugins\HeuristicLab.Data-3.2.dll</HintPath>60 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.DataAnalysis-3.2.dll</HintPath> 45 61 </Reference> 46 <Reference Include="HeuristicLab. DataAnalysis-3.2, Version=3.2.0.2162, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">62 <Reference Include="HeuristicLab.GP-3.3, Version=3.3.0.1534, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 47 63 <SpecificVersion>False</SpecificVersion> 48 <HintPath>..\..\sources\HeuristicLab .DataAnalysis\3.2\bin\Debug\HeuristicLab.DataAnalysis-3.2.dll</HintPath>64 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.GP-3.3.dll</HintPath> 49 65 </Reference> 50 <Reference Include="HeuristicLab.GP -3.3, Version=3.3.0.1534, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">66 <Reference Include="HeuristicLab.GP.StructureIdentification-3.3, Version=3.3.0.2161, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 51 67 <SpecificVersion>False</SpecificVersion> 52 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\HeuristicLab.GP-3.3.dll</HintPath>68 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.GP.StructureIdentification-3.3.dll</HintPath> 53 69 </Reference> 54 <Reference Include="HeuristicLab. GP.StructureIdentification-3.3, Version=3.3.0.2161, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">70 <Reference Include="HeuristicLab.Modeling-3.2, Version=3.2.0.2162, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 55 71 <SpecificVersion>False</SpecificVersion> 56 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\HeuristicLab.GP.StructureIdentification-3.3.dll</HintPath>72 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.Modeling-3.2.dll</HintPath> 57 73 </Reference> 58 <Reference Include="HeuristicLab. SupportVectorMachines-3.2, Version=3.2.0.2163, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">74 <Reference Include="HeuristicLab.PluginInfrastructure, Version=3.2.0.1990, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 59 75 <SpecificVersion>False</SpecificVersion> 60 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\HeuristicLab.SupportVectorMachines-3.2.dll</HintPath>76 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\HeuristicLab.PluginInfrastructure.dll</HintPath> 61 77 </Reference> 62 <Reference Include=" LibSVM, Version=2.84.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">78 <Reference Include="HeuristicLab.SupportVectorMachines-3.2, Version=3.2.0.2163, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 63 79 <SpecificVersion>False</SpecificVersion> 64 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.0\plugins\LibSVM.dll</HintPath> 80 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\HeuristicLab.SupportVectorMachines-3.2.dll</HintPath> 81 </Reference> 82 <Reference Include="LibSVM, Version=2.84.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86"> 83 <SpecificVersion>False</SpecificVersion> 84 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\LibSVM.dll</HintPath> 65 85 </Reference> 66 86 <Reference Include="SemWeb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 67 87 <SpecificVersion>False</SpecificVersion> 68 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\SemWeb.dll</HintPath>88 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\SemWeb.dll</HintPath> 69 89 </Reference> 70 90 <Reference Include="SemWeb.SqliteStore, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> 71 91 <SpecificVersion>False</SpecificVersion> 72 <HintPath>..\..\ ..\..\..\Program Files\HeuristicLab 3.0\plugins\SemWeb.SqliteStore.dll</HintPath>92 <HintPath>..\..\sources\HeuristicLab\bin\x86\Release\plugins\SemWeb.SqliteStore.dll</HintPath> 73 93 </Reference> 74 94 <Reference Include="System" /> -
branches/CEDMA-Exporter-715/tools/CedmaExporter/SymbolicExpressionExporter.cs
r2232 r2262 71 71 BuildExportString(subTree); 72 72 } 73 if(tree.SubTrees.Count > 0)builder.Append(")");73 builder.Append(")"); 74 74 currentIndent = currentIndent.Remove(0, 2); 75 75 } … … 181 181 182 182 public static string ExportToScheme(this Variable variable, IFunctionTree tree, Dataset ds) { 183 return " (variable " + tree.GetLocalVariable(Variable.WEIGHT).Value + " " +184 ds.GetVariableName(int.Parse(tree.GetLocalVariable(Variable.INDEX).Value.ToString())) + " " + tree.GetLocalVariable(Variable.OFFSET).Value + ")";183 return "variable " + tree.GetLocalVariable(Variable.WEIGHT).Value + " " + 184 ds.GetVariableName(int.Parse(tree.GetLocalVariable(Variable.INDEX).Value.ToString())) + " " + tree.GetLocalVariable(Variable.OFFSET).Value; 185 185 } 186 186 public static string ExportToScheme(this Differential differential, IFunctionTree tree, Dataset ds) { 187 return " (differential " + tree.GetLocalVariable(Differential.WEIGHT).Value + " " +188 ds.GetVariableName(int.Parse(tree.GetLocalVariable(Differential.INDEX).Value.ToString())) + " " + tree.GetLocalVariable(Differential.OFFSET).Value + ")";187 return "differential " + tree.GetLocalVariable(Differential.WEIGHT).Value + " " + 188 ds.GetVariableName(int.Parse(tree.GetLocalVariable(Differential.INDEX).Value.ToString())) + " " + tree.GetLocalVariable(Differential.OFFSET).Value; 189 189 } 190 190
Note: See TracChangeset
for help on using the changeset viewer.