Changeset 4968
- Timestamp:
- 11/28/10 11:06:46 (14 years ago)
- Location:
- branches/DataAnalysis.Extensions
- Files:
-
- 1 added
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.Extensions/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3/SymbolicExpressionView.cs
r4842 r4968 25 25 using HeuristicLab.PluginInfrastructure; 26 26 using System.Collections.Generic; 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Formatters; 27 28 28 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views { -
branches/DataAnalysis.Extensions/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Formatters/SymbolicExpressionTreeGraphvizFormatter.cs
r4961 r4968 27 27 using HeuristicLab.Common; 28 28 29 namespace HeuristicLab. Problems.DataAnalysis.Symbolic.Formatters {30 [Item(" SymbolicExpressionTreeGraphvizFormatter", "Formatter for symbolic expression trees for import into GraphViz documents.")]29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Formatters { 30 [Item("GraphViz String Formatter", "Formatter for symbolic expression trees for visualization with GraphViz.")] 31 31 public sealed class SymbolicExpressionTreeGraphvizFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter { 32 32 public bool Indent { get; set; } 33 33 34 34 private readonly static Dictionary<string, string> symbolNameMap = new Dictionary<string, string>() { 35 {"Multiplication", "Mul"},36 {"Addition", "Add"},37 {"Division", "Div"},38 {"Subtraction", "Sub"},39 {"Average", "Avg"},40 41 {"Logarithm", "Log"},42 {"Exponential", "Exp"},43 44 {"Cosine", "Cos"},45 {"Sine", "Sin"},46 {"Tangent", "Tan"},47 48 {"GreaterThan", ">"},49 {"LessThan", "<"},50 {"IfThenElse", "If"},51 52 35 // match Koza style 53 36 {"ProgramRootSymbol", "Prog"}, … … 56 39 57 40 public SymbolicExpressionTreeGraphvizFormatter() 58 : base(" SymbolicExpressionTreeLatexFormatter", "Formatter for symbolic expression trees for import into LaTeX documents.") {41 : base("GraphViz String Formatter", "Formatter for symbolic expression trees for visualization with GraphViz.") { 59 42 Indent = true; 60 43 } -
branches/DataAnalysis.Extensions/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Formatters/SymbolicExpressionTreeStringFormatter.cs
r4961 r4968 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 26 27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Formatters { 28 28 29 29 [Item("SymbolicExpressionTreeStringFormatter", "The default string formatter for symbolic expression trees.")] -
branches/DataAnalysis.Extensions/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.3.csproj
r4820 r4968 160 160 <Compile Include="Compiler\Instruction.cs" /> 161 161 <Compile Include="Compiler\SymbolicExpressionTreeCompiler.cs" /> 162 <Compile Include="Formatters\SymbolicExpressionTreeGraphvizFormatter.cs" /> 163 <Compile Include="Formatters\SymbolicExpressionTreeStringFormatter.cs" /> 162 164 <Compile Include="Interfaces\ISymbolicExpressionTreeStringFormatter.cs" /> 163 165 <Compile Include="Creators\SymbolicExpressionTreeCreator.cs" /> … … 176 178 <Compile Include="Manipulators\SymbolicExpressionTreeManipulator.cs" /> 177 179 <Compile Include="SymbolicExpressionTreeGrammar.cs" /> 178 <Compile Include="SymbolicExpressionTreeStringFormatter.cs" />179 180 <Compile Include="SymbolicExpressionTreeTopLevelNode.cs" /> 180 181 <Compile Include="Crossovers\SubtreeCrossover.cs"> -
branches/DataAnalysis.Extensions/HeuristicLab.Problems.DataAnalysis/3.3/HeuristicLab.Problems.DataAnalysis-3.3.csproj
r4900 r4968 198 198 <Compile Include="SupportVectorMachine\SupportVectorMachineUtil.cs" /> 199 199 <Compile Include="Symbolic\ArithmeticExpressionGrammar.cs" /> 200 <Compile Include="Symbolic\Formatters\SymbolicExpressionTreeGraphvizFormatter.cs" />201 200 <Compile Include="Symbolic\Formatters\SymbolicExpressionTreeLatexFormatter.cs" /> 202 201 <Compile Include="Symbolic\Formatters\SymbolicExpressionTreeSmalltalkStringFormatter.cs" />
Note: See TracChangeset
for help on using the changeset viewer.