- Timestamp:
- 07/31/13 10:17:37 (11 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionView.cs
r9456 r9821 31 31 [Content(typeof(ISymbolicExpressionTree), false)] 32 32 public partial class SymbolicExpressionView : AsynchronousContentView { 33 34 List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>(); 33 private readonly List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>(); 35 34 36 35 public new ISymbolicExpressionTree Content { … … 48 47 } 49 48 if (formattersComboBox.Items.Count > 0) 50 formattersComboBox.SelectedIndex = 0;49 formattersComboBox.SelectedIndex = treeFormattersList.FindIndex(0, treeFormattersList.Count, (f) => f.Name.Contains("Default")); 51 50 else 52 51 formattersComboBox.SelectedIndex = -1; -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Formatters/SymbolicExpressionTreeGraphvizFormatter.cs
r9649 r9821 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using System.Text; 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using System.Collections.Generic; 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Core; 27 using HeuristicLab.Common;28 26 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding .Formatters{27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 30 28 [Item("GraphViz String Formatter", "Formatter for symbolic expression trees for visualization with GraphViz.")] 31 29 public sealed class SymbolicExpressionTreeGraphvizFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter { -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionSmalltalkFormatter.cs
r9820 r9821 22 22 using System.Globalization; 23 23 using System.Text; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 using HeuristicLab.Common; 26 using HeuristicLab.Problems.DataAnalysis.Symbolic; 27 using Variable = HeuristicLab.Problems.DataAnalysis.Symbolic.Variable; 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 27 29 namespace HeuristicLab. Encodings.SymbolicExpressionTreeEncoding.Formatters{28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 30 29 31 30 [Item("Smalltalk String Formatter", "String formatter for string representations of symbolic expression trees in Smalltalk syntax.")] 32 public class Symbolic ExpressionTreeSmalltalkStringFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter {31 public class SymbolicDataAnalysisExpressionSmalltalkFormatter : NamedItem, ISymbolicExpressionTreeStringFormatter { 33 32 34 protected Symbolic ExpressionTreeSmalltalkStringFormatter(SymbolicExpressionTreeSmalltalkStringFormatter original, Cloner cloner) : base(original, cloner) { }35 public Symbolic ExpressionTreeSmalltalkStringFormatter()33 protected SymbolicDataAnalysisExpressionSmalltalkFormatter(SymbolicDataAnalysisExpressionSmalltalkFormatter original, Cloner cloner) : base(original, cloner) { } 34 public SymbolicDataAnalysisExpressionSmalltalkFormatter() 36 35 : base() { 37 Name = "Smalltalk String Formatter"; 36 Name = ItemName; 37 Description = ItemDescription; 38 38 } 39 39 … … 180 180 181 181 public override IDeepCloneable Clone(Cloner cloner) { 182 return new Symbolic ExpressionTreeSmalltalkStringFormatter(this, cloner);182 return new SymbolicDataAnalysisExpressionSmalltalkFormatter(this, cloner); 183 183 } 184 184 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj
r9649 r9821 140 140 <Compile Include="Crossovers\SymbolicDataAnalysisExpressionSemanticSimilarityCrossover.cs" /> 141 141 <Compile Include="Formatters\SymbolicDataAnalysisExpressionExcelFormatter.cs" /> 142 <Compile Include="Formatters\Symbolic ExpressionTreeSmalltalkStringFormatter.cs" />142 <Compile Include="Formatters\SymbolicDataAnalysisExpressionSmalltalkFormatter.cs" /> 143 143 <Compile Include="Interfaces\ISymbolicDataAnalysisExpressionCrossover.cs" /> 144 144 <Compile Include="Interfaces\ISymbolicDataAnalysisImpactValuesCalculator.cs" />
Note: See TracChangeset
for help on using the changeset viewer.