- Timestamp:
- 11/27/14 11:23:37 (10 years ago)
- Location:
- branches/Breadcrumbs
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed
-
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Exporters/SymbolicSolutionExcelExporter.cs
r9994 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 30 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { 31 31 public class SymbolicSolutionExcelExporter : IDataAnalysisSolutionExporter { 32 pr ivateconst string TRAININGSTART = "TrainingStart";33 pr ivateconst string TRAININGEND = "TrainingEnd";34 pr ivateconst string TESTSTART = "TestStart";35 pr ivateconst string TESTEND = "TestEnd";32 protected const string TRAININGSTART = "TrainingStart"; 33 protected const string TRAININGEND = "TrainingEnd"; 34 protected const string TESTSTART = "TestStart"; 35 protected const string TESTEND = "TestEnd"; 36 36 37 37 … … 44 44 } 45 45 46 public v oid Export(IDataAnalysisSolution solution, string fileName) {46 public virtual void Export(IDataAnalysisSolution solution, string fileName) { 47 47 var symbSolution = solution as ISymbolicDataAnalysisSolution; 48 48 if (symbSolution == null) throw new NotSupportedException("This solution cannot be exported to Excel"); … … 216 216 } 217 217 218 pr ivatestring Indirect(string column, bool training) {218 protected string Indirect(string column, bool training) { 219 219 if (training) { 220 220 return string.Format("INDIRECT(\"'Estimated Values'!{0}\"&{1}+2&\":{0}\"&{2}+1)", column, TRAININGSTART, TRAININGEND); … … 260 260 } 261 261 262 pr ivatevoid AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) {262 protected void AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) { 263 263 SymbolicExpressionTreeChart modelTreePicture = new SymbolicExpressionTreeChart(); 264 264 modelTreePicture.Tree = model.SymbolicExpressionTree; … … 289 289 estimatedWorksheet.Cells[1, 1, 1, 10].AutoFitColumns(); 290 290 291 // fill in id, target variable and unbounded estimated values 291 292 int targetIndex = solution.ProblemData.Dataset.VariableNames.ToList().FindIndex(x => x.Equals(solution.ProblemData.TargetVariable)) + 1; 292 293 for (int i = 0; i < rows; i++) { 293 estimatedWorksheet.Cells[i + 2, 1].Value = i; 294 estimatedWorksheet.Cells[i + 2, 2].Formula = datasetWorksheet.Cells[i + 2, targetIndex].FullAddress; 295 estimatedWorksheet.Cells[i + 2, 9].Formula = string.Format(preparedFormula, i + 2); 294 estimatedWorksheet.Cells[i + 2, 1].Value = i; // id 295 estimatedWorksheet.Cells[i + 2, 2].Formula = datasetWorksheet.Cells[i + 2, targetIndex].FullAddress; // target variable 296 estimatedWorksheet.Cells[i + 2, 9].Formula = string.Format(preparedFormula, i + 2); // unbounded estimated values 296 297 } 297 298 estimatedWorksheet.Cells["B2:B" + (rows + 1)].Style.Numberformat.Format = "0.000"; … … 313 314 } 314 315 315 pr ivatestring PrepareFormula(string[] formulaParts) {316 protected string PrepareFormula(string[] formulaParts) { 316 317 string preparedFormula = formulaParts[0]; 317 318 foreach (var part in formulaParts.Skip(2)) { … … 323 324 } 324 325 325 pr ivatevoid WriteInputSheet(ExcelWorksheet inputsWorksheet, ExcelWorksheet datasetWorksheet, IEnumerable<string> list, Dataset dataset) {326 protected void WriteInputSheet(ExcelWorksheet inputsWorksheet, ExcelWorksheet datasetWorksheet, IEnumerable<string> list, Dataset dataset) { 326 327 //remark the performance of EPPlus drops dramatically 327 328 //if the data is not written row wise (from left to right) due the internal indices used. … … 337 338 } 338 339 339 pr ivatevoid WriteDatasetToExcel(ExcelWorksheet datasetWorksheet, IDataAnalysisProblemData problemData) {340 protected void WriteDatasetToExcel(ExcelWorksheet datasetWorksheet, IDataAnalysisProblemData problemData) { 340 341 //remark the performance of EPPlus drops dramatically 341 342 //if the data is not written row wise (from left to right) due the internal indices used. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/GraphicalSymbolicDataAnalysisModelView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/GraphicalSymbolicDataAnalysisModelView.designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r9975 r11594 207 207 <Private>False</Private> 208 208 </ProjectReference> 209 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj"> 210 <Project>{0e27a536-1c4a-4624-a65e-dc4f4f23e3e1}</Project> 211 <Name>HeuristicLab.Common.Resources-3.3</Name> 212 <Private>False</Private> 213 </ProjectReference> 209 214 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj"> 210 215 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project> -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.Designer.cs
r9462 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 19 19 */ 20 20 #endregion 21 21 22 22 23 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { … … 46 47 private void InitializeComponent() { 47 48 this.components = new System.ComponentModel.Container(); 49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InteractiveSymbolicDataAnalysisSolutionSimplifierView)); 48 50 this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 49 51 this.splitContainer = new System.Windows.Forms.SplitContainer(); … … 51 53 this.treeStatusValue = new System.Windows.Forms.Label(); 52 54 this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel(); 55 this.btnSimplify = new System.Windows.Forms.Button(); 53 56 this.btnOptimizeConstants = new System.Windows.Forms.Button(); 54 this.btnSimplify = new System.Windows.Forms.Button();55 this.treeStatusLabel = new System.Windows.Forms.Label();56 this.treeChart = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart();57 57 this.grpViewHost = new System.Windows.Forms.GroupBox(); 58 this.treeChart = new HeuristicLab.Problems.DataAnalysis.Symbolic.Views.InteractiveSymbolicExpressionTreeChart(); 58 59 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); 59 60 this.splitContainer.Panel1.SuspendLayout(); … … 103 104 this.grpSimplify.Controls.Add(this.treeStatusValue); 104 105 this.grpSimplify.Controls.Add(this.flowLayoutPanel); 105 this.grpSimplify.Controls.Add(this.treeStatusLabel);106 106 this.grpSimplify.Controls.Add(this.treeChart); 107 107 this.grpSimplify.Dock = System.Windows.Forms.DockStyle.Fill; … … 115 115 // treeStatusValue 116 116 // 117 this.treeStatusValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 117 118 this.treeStatusValue.AutoSize = true; 118 this.treeStatusValue.BackColor = System.Drawing.Color. Transparent;119 this.treeStatusValue.ForeColor = System.Drawing.Color. Green;120 this.treeStatusValue.Location = new System.Drawing.Point( 72, 16);119 this.treeStatusValue.BackColor = System.Drawing.Color.White; 120 this.treeStatusValue.ForeColor = System.Drawing.Color.Red; 121 this.treeStatusValue.Location = new System.Drawing.Point(6, 351); 121 122 this.treeStatusValue.Name = "treeStatusValue"; 122 this.treeStatusValue.Size = new System.Drawing.Size( 30, 13);123 this.treeStatusValue.Size = new System.Drawing.Size(63, 13); 123 124 this.treeStatusValue.TabIndex = 3; 124 this.treeStatusValue.Text = "Valid"; 125 this.treeStatusValue.Text = "Invalid Tree"; 126 this.treeStatusValue.Visible = false; 125 127 // 126 128 // flowLayoutPanel … … 136 138 this.flowLayoutPanel.WrapContents = false; 137 139 // 140 // btnSimplify 141 // 142 this.btnSimplify.AutoSize = true; 143 this.btnSimplify.Image = HeuristicLab.Common.Resources.VSImageLibrary.FormulaEvaluator; 144 this.btnSimplify.Location = new System.Drawing.Point(3, 3); 145 this.btnSimplify.Name = "btnSimplify"; 146 this.btnSimplify.Size = new System.Drawing.Size(80, 24); 147 this.btnSimplify.TabIndex = 1; 148 this.btnSimplify.Text = "Simplify"; 149 this.btnSimplify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 150 this.btnSimplify.UseVisualStyleBackColor = true; 151 this.btnSimplify.Click += new System.EventHandler(this.btnSimplify_Click); 152 // 138 153 // btnOptimizeConstants 139 154 // 140 this.btnOptimizeConstants.A nchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));155 this.btnOptimizeConstants.AutoSize = true; 141 156 this.btnOptimizeConstants.Enabled = false; 142 this.btnOptimizeConstants.Location = new System.Drawing.Point(104, 3); 157 this.btnOptimizeConstants.Image = HeuristicLab.Common.Resources.VSImageLibrary.Performance; 158 this.btnOptimizeConstants.Location = new System.Drawing.Point(89, 3); 143 159 this.btnOptimizeConstants.Name = "btnOptimizeConstants"; 144 this.btnOptimizeConstants.Size = new System.Drawing.Size( 97, 23);160 this.btnOptimizeConstants.Size = new System.Drawing.Size(80, 24); 145 161 this.btnOptimizeConstants.TabIndex = 2; 146 162 this.btnOptimizeConstants.Text = "Optimize"; 163 this.btnOptimizeConstants.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 147 164 this.btnOptimizeConstants.UseVisualStyleBackColor = true; 148 165 this.btnOptimizeConstants.Click += new System.EventHandler(this.btnOptimizeConstants_Click); 149 //150 // btnSimplify151 //152 this.btnSimplify.Location = new System.Drawing.Point(3, 3);153 this.btnSimplify.Name = "btnSimplify";154 this.btnSimplify.Size = new System.Drawing.Size(95, 23);155 this.btnSimplify.TabIndex = 1;156 this.btnSimplify.Text = "Simplify";157 this.btnSimplify.UseVisualStyleBackColor = true;158 this.btnSimplify.Click += new System.EventHandler(this.btnSimplify_Click);159 //160 // treeStatusLabel161 //162 this.treeStatusLabel.AutoSize = true;163 this.treeStatusLabel.BackColor = System.Drawing.Color.Transparent;164 this.treeStatusLabel.Location = new System.Drawing.Point(6, 16);165 this.treeStatusLabel.Name = "treeStatusLabel";166 this.treeStatusLabel.Size = new System.Drawing.Size(68, 13);167 this.treeStatusLabel.TabIndex = 2;168 this.treeStatusLabel.Text = "Tree Status: ";169 //170 // treeChart171 //172 this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)173 | System.Windows.Forms.AnchorStyles.Left)174 | System.Windows.Forms.AnchorStyles.Right)));175 this.treeChart.BackgroundColor = System.Drawing.Color.White;176 this.treeChart.LineColor = System.Drawing.Color.Black;177 this.treeChart.Location = new System.Drawing.Point(6, 32);178 this.treeChart.Name = "treeChart";179 this.treeChart.Size = new System.Drawing.Size(201, 332);180 this.treeChart.Spacing = 5;181 this.treeChart.SuspendRepaint = false;182 this.treeChart.TabIndex = 0;183 this.treeChart.TextFont = new System.Drawing.Font("Times New Roman", 8F);184 this.treeChart.Tree = null;185 this.treeChart.SymbolicExpressionTreeNodeDoubleClicked += new System.Windows.Forms.MouseEventHandler(this.treeChart_SymbolicExpressionTreeNodeDoubleClicked);186 166 // 187 167 // grpViewHost … … 195 175 this.grpViewHost.TabStop = false; 196 176 this.grpViewHost.Text = "Details"; 177 // 178 // treeChart 179 // 180 this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 181 | System.Windows.Forms.AnchorStyles.Left) 182 | System.Windows.Forms.AnchorStyles.Right))); 183 this.treeChart.BackgroundColor = System.Drawing.Color.White; 184 this.treeChart.LineColor = System.Drawing.Color.Black; 185 this.treeChart.Location = new System.Drawing.Point(6, 16); 186 this.treeChart.ModifyTree = null; 187 this.treeChart.Name = "treeChart"; 188 this.treeChart.Size = new System.Drawing.Size(201, 348); 189 this.treeChart.Spacing = 5; 190 this.treeChart.SuspendRepaint = false; 191 this.treeChart.TabIndex = 0; 192 this.treeChart.TextFont = new System.Drawing.Font("Times New Roman", 8F); 193 this.treeChart.Tree = null; 194 this.treeChart.SymbolicExpressionTreeNodeDoubleClicked += new System.Windows.Forms.MouseEventHandler(this.treeChart_SymbolicExpressionTreeNodeDoubleClicked); 197 195 // 198 196 // InteractiveSymbolicDataAnalysisSolutionSimplifierView … … 212 210 this.grpSimplify.PerformLayout(); 213 211 this.flowLayoutPanel.ResumeLayout(false); 212 this.flowLayoutPanel.PerformLayout(); 214 213 this.grpViewHost.ResumeLayout(false); 215 214 this.ResumeLayout(false); … … 219 218 #endregion 220 219 221 private HeuristicLab. Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart treeChart;220 private HeuristicLab.Problems.DataAnalysis.Symbolic.Views.InteractiveSymbolicExpressionTreeChart treeChart; 222 221 private System.Windows.Forms.SplitContainer splitContainer; 223 222 private HeuristicLab.MainForm.WindowsForms.ViewHost viewHost; … … 228 227 protected System.Windows.Forms.Button btnOptimizeConstants; 229 228 private System.Windows.Forms.Label treeStatusValue; 230 private System.Windows.Forms.Label treeStatusLabel;231 229 } 232 230 } -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r9478 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 33 33 public abstract partial class InteractiveSymbolicDataAnalysisSolutionSimplifierView : AsynchronousContentView { 34 34 private Dictionary<ISymbolicExpressionTreeNode, ISymbolicExpressionTreeNode> foldedNodes; 35 private Dictionary<ISymbolicExpressionTreeNode, ISymbolicExpressionTreeNode> changedNodes; 35 36 private Dictionary<ISymbolicExpressionTreeNode, double> nodeImpacts; 37 36 38 private enum TreeState { Valid, Invalid } 37 38 public InteractiveSymbolicDataAnalysisSolutionSimplifierView() { 39 private TreeState treeState; 40 41 protected InteractiveSymbolicDataAnalysisSolutionSimplifierView() { 39 42 InitializeComponent(); 40 43 foldedNodes = new Dictionary<ISymbolicExpressionTreeNode, ISymbolicExpressionTreeNode>(); 44 changedNodes = new Dictionary<ISymbolicExpressionTreeNode, ISymbolicExpressionTreeNode>(); 41 45 nodeImpacts = new Dictionary<ISymbolicExpressionTreeNode, double>(); 42 46 this.Caption = "Interactive Solution Simplifier"; 47 48 // initialize the tree modifier that will be used to perform edit operations over the tree 49 treeChart.ModifyTree = Modify; 50 } 51 52 /// <summary> 53 /// Remove, Replace or Insert subtrees 54 /// </summary> 55 /// <param name="tree">The symbolic expression tree</param> 56 /// <param name="parent">The insertion point (ie, the parent node who will receive a new child)</param> 57 /// <param name="oldChild">The subtree to be replaced</param> 58 /// <param name="newChild">The replacement subtree</param> 59 /// <param name="removeSubtree">Flag used to indicate if whole subtrees should be removed (default behavior), or just the subtree root</param> 60 private void Modify(ISymbolicExpressionTree tree, ISymbolicExpressionTreeNode parent, 61 ISymbolicExpressionTreeNode oldChild, ISymbolicExpressionTreeNode newChild, bool removeSubtree = true) { 62 if (oldChild == null && newChild == null) 63 throw new ArgumentNullException("Cannot deduce operation type from the arguments. Please provide non null operands."); 64 if (oldChild == null) { 65 // insertion operation 66 parent.AddSubtree(newChild); 67 newChild.Parent = parent; 68 } else if (newChild == null) { 69 // removal operation 70 parent.RemoveSubtree(parent.IndexOfSubtree(oldChild)); 71 if (!removeSubtree) { 72 for (int i = oldChild.SubtreeCount - 1; i >= 0; --i) { 73 var subtree = oldChild.GetSubtree(i); 74 oldChild.RemoveSubtree(i); 75 parent.AddSubtree(subtree); 76 } 77 } 78 } else { 79 // replacement operation 80 var replacementIndex = parent.IndexOfSubtree(oldChild); 81 parent.RemoveSubtree(replacementIndex); 82 parent.InsertSubtree(replacementIndex, newChild); 83 newChild.Parent = parent; 84 if (changedNodes.ContainsKey(oldChild)) { 85 changedNodes.Add(newChild, changedNodes[oldChild]); // so that on double click the original node is restored 86 changedNodes.Remove(oldChild); 87 } else { 88 changedNodes.Add(newChild, oldChild); 89 } 90 } 91 treeState = IsValid(tree) ? TreeState.Valid : TreeState.Invalid; 92 switch (treeState) { 93 case TreeState.Valid: 94 this.grpViewHost.Enabled = true; 95 UpdateModel(Content.Model.SymbolicExpressionTree); 96 break; 97 case TreeState.Invalid: 98 this.grpViewHost.Enabled = false; 99 break; 100 } 101 } 102 103 // the optimizer always assumes 2 children for multiplication and addition nodes 104 // thus, we enforce that the tree stays valid so that the constant optimization won't throw an exception 105 // by returning 2 as the minimum allowed arity for addition and multiplication symbols 106 private readonly Func<ISymbol, int> GetMinArity = symbol => { 107 var min = symbol.MinimumArity; 108 if (symbol is Multiplication || symbol is Division) return Math.Max(2, min); 109 return min; 110 }; 111 private bool IsValid(ISymbolicExpressionTree tree) { 112 treeChart.Tree = tree; 113 treeChart.Repaint(); 114 bool valid = !tree.IterateNodesPostfix().Any(node => node.SubtreeCount < GetMinArity(node.Symbol) || node.SubtreeCount > node.Symbol.MaximumArity); 115 if (valid) { 116 btnOptimizeConstants.Enabled = true; 117 btnSimplify.Enabled = true; 118 treeStatusValue.Visible = false; 119 } else { 120 btnOptimizeConstants.Enabled = false; 121 btnSimplify.Enabled = false; 122 treeStatusValue.Visible = true; 123 } 124 this.Refresh(); 125 return valid; 43 126 } 44 127 … … 52 135 Content.ModelChanged += Content_Changed; 53 136 Content.ProblemDataChanged += Content_Changed; 137 treeChart.Repainted += treeChart_Repainted; 54 138 } 55 139 protected override void DeregisterContentEvents() { … … 57 141 Content.ModelChanged -= Content_Changed; 58 142 Content.ProblemDataChanged -= Content_Changed; 143 treeChart.Repainted -= treeChart_Repainted; 59 144 } 60 145 … … 70 155 } 71 156 157 private void treeChart_Repainted(object sender, EventArgs e) { 158 if (nodeImpacts != null && nodeImpacts.Count > 0) 159 PaintNodeImpacts(); 160 } 161 72 162 private void UpdateView() { 73 163 if (Content == null || Content.Model == null || Content.ProblemData == null) return; … … 75 165 treeChart.Tree = tree.Root.SubtreeCount > 1 ? new SymbolicExpressionTree(tree.Root) : new SymbolicExpressionTree(tree.Root.GetSubtree(0).GetSubtree(0)); 76 166 77 var replacementValues = CalculateReplacementValues(tree); 167 var impactAndReplacementValues = CalculateImpactAndReplacementValues(tree); 168 var replacementValues = impactAndReplacementValues.ToDictionary(x => x.Key, x => x.Value.Item2); 78 169 foreach (var pair in replacementValues.Where(pair => !(pair.Key is ConstantTreeNode))) { 79 170 foldedNodes[pair.Key] = MakeConstantTreeNode(pair.Value); 80 171 } 81 82 nodeImpacts = CalculateImpactValues(tree); 172 nodeImpacts = impactAndReplacementValues.ToDictionary(x => x.Key, x => x.Value.Item1); 83 173 PaintNodeImpacts(); 84 174 } … … 86 176 protected abstract Dictionary<ISymbolicExpressionTreeNode, double> CalculateReplacementValues(ISymbolicExpressionTree tree); 87 177 protected abstract Dictionary<ISymbolicExpressionTreeNode, double> CalculateImpactValues(ISymbolicExpressionTree tree); 178 protected abstract Dictionary<ISymbolicExpressionTreeNode, Tuple<double, double>> CalculateImpactAndReplacementValues(ISymbolicExpressionTree tree); 88 179 protected abstract void UpdateModel(ISymbolicExpressionTree tree); 89 180 … … 96 187 97 188 private void treeChart_SymbolicExpressionTreeNodeDoubleClicked(object sender, MouseEventArgs e) { 98 var visualNode = (VisualSymbolicExpressionTreeNode)sender; 99 var symbExprTreeNode = (SymbolicExpressionTreeNode)visualNode.SymbolicExpressionTreeNode; 100 if (symbExprTreeNode == null) return; 189 if (treeState == TreeState.Invalid) return; 190 var visualNode = (VisualTreeNode<ISymbolicExpressionTreeNode>)sender; 191 if (visualNode.Content == null) { throw new Exception("VisualNode content cannot be null."); } 192 var symbExprTreeNode = (SymbolicExpressionTreeNode)visualNode.Content; 101 193 var tree = Content.Model.SymbolicExpressionTree; 102 194 var parent = symbExprTreeNode.Parent; 103 195 int indexOfSubtree = parent.IndexOfSubtree(symbExprTreeNode); 104 if (foldedNodes.ContainsKey(symbExprTreeNode)) { 196 if (changedNodes.ContainsKey(symbExprTreeNode)) { 197 // undo node change 198 parent.RemoveSubtree(indexOfSubtree); 199 var originalNode = changedNodes[symbExprTreeNode]; 200 parent.InsertSubtree(indexOfSubtree, originalNode); 201 changedNodes.Remove(symbExprTreeNode); 202 } else if (foldedNodes.ContainsKey(symbExprTreeNode)) { 105 203 // undo node folding 106 204 SwitchNodeWithReplacementNode(parent, indexOfSubtree); … … 111 209 private void SwitchNodeWithReplacementNode(ISymbolicExpressionTreeNode parent, int subTreeIndex) { 112 210 ISymbolicExpressionTreeNode subTree = parent.GetSubtree(subTreeIndex); 113 parent.RemoveSubtree(subTreeIndex);114 211 if (foldedNodes.ContainsKey(subTree)) { 212 parent.RemoveSubtree(subTreeIndex); 115 213 var replacementNode = foldedNodes[subTree]; 116 214 parent.InsertSubtree(subTreeIndex, replacementNode); … … 126 224 double min = impacts.Min(); 127 225 foreach (ISymbolicExpressionTreeNode treeNode in Content.Model.SymbolicExpressionTree.IterateNodesPostfix()) { 128 Visual SymbolicExpressionTreeNodevisualTree = treeChart.GetVisualSymbolicExpressionTreeNode(treeNode);226 VisualTreeNode<ISymbolicExpressionTreeNode> visualTree = treeChart.GetVisualSymbolicExpressionTreeNode(treeNode); 129 227 130 228 if (!(treeNode is ConstantTreeNode) && nodeImpacts.ContainsKey(treeNode)) { 229 visualTree.ToolTip = visualTree.Content.ToString(); 131 230 double impact = nodeImpacts[treeNode]; 132 231 … … 150 249 } 151 250 if (visualTree != null) 152 if (treeNode is ConstantTreeNode && foldedNodes.ContainsKey(treeNode)) { 251 if (changedNodes.ContainsKey(treeNode)) { 252 visualTree.LineColor = Color.DodgerBlue; 253 } else if (treeNode is ConstantTreeNode && foldedNodes.ContainsKey(treeNode)) { 153 254 visualTree.LineColor = Color.DarkOrange; 154 255 } -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 56 56 this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); 57 57 this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 58 this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); 59 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); 58 60 this.SuspendLayout(); 59 61 // … … 61 63 // 62 64 this.insertNodeToolStripMenuItem.Name = "insertNodeToolStripMenuItem"; 63 this.insertNodeToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);65 this.insertNodeToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 64 66 this.insertNodeToolStripMenuItem.Text = "Insert Node"; 65 67 this.insertNodeToolStripMenuItem.Click += new System.EventHandler(this.insertNodeToolStripMenuItem_Click); … … 68 70 // 69 71 this.changeNodeToolStripMenuItem.Name = "changeNodeToolStripMenuItem"; 70 this.changeNodeToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);72 this.changeNodeToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 71 73 this.changeNodeToolStripMenuItem.Text = "Change Node"; 72 74 this.changeNodeToolStripMenuItem.Click += new System.EventHandler(this.changeNodeToolStripMenuItem_Click); … … 75 77 // 76 78 this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; 77 this.cutToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);78 this.cutToolStripMenuItem.Text = "Cut ";79 this.cutToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 80 this.cutToolStripMenuItem.Text = "Cut Subtree"; 79 81 this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); 80 82 // … … 85 87 this.removeSubtreeToolStripMenuItem}); 86 88 this.removeToolStripMenuItem.Name = "removeToolStripMenuItem"; 87 this.removeToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);89 this.removeToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 88 90 this.removeToolStripMenuItem.Text = "Remove"; 89 91 this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeSubtreeToolStripMenuItem_Click); … … 106 108 // 107 109 this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; 108 this.pasteToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);109 this.pasteToolStripMenuItem.Text = "Paste ";110 this.pasteToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 111 this.pasteToolStripMenuItem.Text = "Paste Subtree"; 110 112 this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Clicked); 111 113 // … … 118 120 // 119 121 this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; 120 this.copyToolStripMenuItem.Size = new System.Drawing.Size(1 47, 22);121 this.copyToolStripMenuItem.Text = "Copy ";122 this.copyToolStripMenuItem.Size = new System.Drawing.Size(165, 22); 123 this.copyToolStripMenuItem.Text = "Copy Subtree"; 122 124 this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); 125 // 126 // toolStripSeparator1 127 // 128 this.toolStripSeparator1.Name = "toolStripSeparator1"; 129 this.toolStripSeparator1.Size = new System.Drawing.Size(162, 6); 130 // 131 // toolStripSeparator2 132 // 133 this.toolStripSeparator2.Name = "toolStripSeparator2"; 134 this.toolStripSeparator2.Size = new System.Drawing.Size(162, 6); 123 135 // 124 136 // contextMenuStrip 125 137 // 126 138 this.contextMenuStrip.Opened += this.contextMenuStrip_Opened; 127 this.contextMenuStrip.Items.AddRange(new ToolStripItem[] { insertNodeToolStripMenuItem, 139 this.contextMenuStrip.Items.AddRange(new ToolStripItem[] { toolStripSeparator1, 140 insertNodeToolStripMenuItem, 141 removeToolStripMenuItem, 128 142 changeNodeToolStripMenuItem, 143 toolStripSeparator2, 129 144 copyToolStripMenuItem, 130 145 cutToolStripMenuItem, 131 removeToolStripMenuItem,132 146 pasteToolStripMenuItem }); 133 147 // … … 139 153 this.Name = "InteractiveSymbolicExpressionTreeChart"; 140 154 this.ResumeLayout(false); 141 142 155 } 143 156 … … 154 167 private ToolStripSeparator toolStripSeparator; 155 168 private ToolStripMenuItem copyToolStripMenuItem; 169 private ToolStripSeparator toolStripSeparator1; 170 private ToolStripSeparator toolStripSeparator2; 156 171 } 157 172 } -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 33 33 internal sealed partial class InteractiveSymbolicExpressionTreeChart : SymbolicExpressionTreeChart { 34 34 private ISymbolicExpressionTreeNode tempNode; // node in clipboard (to be cut/copy/pasted etc) 35 private Visual SymbolicExpressionTreeNodecurrSelected; // currently selected node35 private VisualTreeNode<ISymbolicExpressionTreeNode> currSelected; // currently selected node 36 36 private enum EditOp { NoOp, CopySubtree, CutSubtree } 37 37 private EditOp lastOp = EditOp.NoOp; … … 65 65 pasteToolStripMenuItem.Visible = false; 66 66 } else { 67 var node = currSelected. SymbolicExpressionTreeNode;67 var node = currSelected.Content; 68 68 insertNodeToolStripMenuItem.Visible = true; 69 69 changeNodeToolStripMenuItem.Visible = true; … … 76 76 pasteToolStripMenuItem.Visible = true; 77 77 pasteToolStripMenuItem.Enabled = tempNode != null && insertNodeToolStripMenuItem.Enabled 78 && !(lastOp == EditOp.CutSubtree 79 && tempNode.IterateNodesBreadth().Contains(currSelected.SymbolicExpressionTreeNode));78 && !(lastOp == EditOp.CutSubtree && tempNode.IterateNodesBreadth().Contains(node)) 79 && node.SubtreeCount < node.Symbol.MaximumArity; 80 80 } 81 81 } 82 82 83 83 protected override void OnSymbolicExpressionTreeNodeClicked(object sender, MouseEventArgs e) { 84 currSelected = (VisualSymbolicExpressionTreeNode)sender; ; 85 if (currSelected != null) { 86 currSelected.LineColor = Color.FromArgb(130, currSelected.LineColor); 87 RepaintNode(currSelected); 88 } 84 currSelected = (VisualTreeNode<ISymbolicExpressionTreeNode>)sender; ; 89 85 base.OnSymbolicExpressionTreeNodeClicked(sender, e); 90 86 } 91 87 92 protected override void SymbolicExpressionTreeChart_MouseClick(object sender, MouseEventArgs e) {93 if (currSelected != null) {94 currSelected.LineColor = Color.FromArgb(255, currSelected.LineColor);95 RepaintNode(currSelected);96 }97 base.SymbolicExpressionTreeChart_MouseClick(sender, e);98 }99 100 88 protected override void OnSymbolicExpressionTreeNodeDoubleClicked(object sender, MouseEventArgs e) { 101 89 currSelected = null; … … 103 91 } 104 92 93 94 private static readonly ISymbolicExpressionGrammar grammar = new TypeCoherentExpressionGrammar(); 105 95 private void insertNodeToolStripMenuItem_Click(object sender, EventArgs e) { 106 if (currSelected == null || currSelected. SymbolicExpressionTreeNodeis SymbolicExpressionTreeTerminalNode) return;107 var parent = currSelected. SymbolicExpressionTreeNode;96 if (currSelected == null || currSelected.Content is SymbolicExpressionTreeTerminalNode) return; 97 var parent = currSelected.Content; 108 98 109 99 using (var dialog = new InsertNodeDialog()) { 110 dialog.SetAllowedSymbols( parent.Grammar.AllowedSymbols.Where(s => s.Enabled && s.InitialFrequency > 0.0 && !(s is ProgramRootSymbol || s is StartSymbol || s is Defun)));100 dialog.SetAllowedSymbols(grammar.Symbols.Where(s => !(s is ProgramRootSymbol || s is StartSymbol || s is Defun || s is GroupSymbol))); // allow everything 111 101 dialog.ShowDialog(this); 112 102 if (dialog.DialogResult != DialogResult.OK) return; … … 138 128 if (currSelected == null) return; 139 129 140 var node = (ISymbolicExpressionTreeNode)currSelected. SymbolicExpressionTreeNode.Clone();141 var originalNode = currSelected. SymbolicExpressionTreeNode;130 var node = (ISymbolicExpressionTreeNode)currSelected.Content.Clone(); 131 var originalNode = currSelected.Content; 142 132 143 133 ISymbolicExpressionTreeNode newNode = null; … … 172 162 foreach (var subtree in tempNode.IterateNodesPostfix()) { 173 163 var visualNode = GetVisualSymbolicExpressionTreeNode(subtree); 174 visualNode.LineColor = Color. FromArgb(255, visualNode.LineColor); // reset the alpha value to 255175 visualNode.TextColor = Color. FromArgb(255, visualNode.TextColor);164 visualNode.LineColor = Color.Black; 165 visualNode.TextColor = Color.Black; 176 166 if (subtree.Parent != null) { 177 167 var visualLine = GetVisualSymbolicExpressionTreeNodeConnection(subtree.Parent, subtree); 178 visualLine.LineColor = Color. FromArgb(255, visualLine.LineColor);179 } 180 } 181 } 182 tempNode = currSelected. SymbolicExpressionTreeNode;168 visualLine.LineColor = Color.Black; 169 } 170 } 171 } 172 tempNode = currSelected.Content; 183 173 foreach (var node in tempNode.IterateNodesPostfix()) { 184 174 var visualNode = GetVisualSymbolicExpressionTreeNode(node); 185 visualNode.LineColor = Color. FromArgb(100, visualNode.LineColor);186 visualNode.TextColor = Color. FromArgb(100, visualNode.TextColor);175 visualNode.LineColor = Color.LightGray; 176 visualNode.TextColor = Color.LightGray; 187 177 foreach (var subtree in node.Subtrees) { 188 178 var visualLine = GetVisualSymbolicExpressionTreeNodeConnection(node, subtree); 189 visualLine.LineColor = Color. FromArgb(100, visualLine.LineColor);190 } 191 } 192 currSelected = null; 193 Repaint ();179 visualLine.LineColor = Color.LightGray; 180 } 181 } 182 currSelected = null; 183 RepaintNodes(); // no need to redo the layout and repaint everything since this operation does not change the tree 194 184 } 195 185 private void removeNodeToolStripMenuItem_Click(object sender, EventArgs e) { 196 var node = currSelected. SymbolicExpressionTreeNode;186 var node = currSelected.Content; 197 187 if (node == tempNode) tempNode = null; 198 188 ModifyTree(Tree, node.Parent, node, null, removeSubtree: false); … … 200 190 } 201 191 private void removeSubtreeToolStripMenuItem_Click(object sender, EventArgs e) { 202 var node = currSelected. SymbolicExpressionTreeNode;192 var node = currSelected.Content; 203 193 if (node.IterateNodesPostfix().Contains(tempNode)) tempNode = null; 204 194 ModifyTree(Tree, node.Parent, node, null, removeSubtree: true); … … 209 199 if (!(lastOp == EditOp.CopySubtree || lastOp == EditOp.CutSubtree)) return; 210 200 // check if the copied/cut node (stored in the tempNode) can be inserted as a child of the current selected node 211 var node = currSelected. SymbolicExpressionTreeNode;201 var node = currSelected.Content; 212 202 if (node is ConstantTreeNode || node is VariableTreeNode) return; 213 203 // check if the currently selected node can accept the copied node as a child … … 218 208 if (tempNode.IterateNodesBreadth().Contains(node)) 219 209 throw new ArgumentException();// cannot cut/paste a node into itself 220 ModifyTree(Tree, tempNode.Parent, tempNode, null); //remove node from its original parent 210 ModifyTree(Tree, tempNode.Parent, tempNode, null); //remove node from its original parent 221 211 ModifyTree(Tree, node, null, tempNode); //insert it as a child to the new parent 222 212 break; -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/MathSymbolicDataAnalysisModelView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/MathSymbolicDataAnalysisModelView.designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Plugin.cs.frame
r10037 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 27 27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { 28 [Plugin("HeuristicLab.Problems.DataAnalysis.Symbolic.Views","Provides views for symbolic data analysis problem classes.", "3.4. 5.$WCREV$")]28 [Plugin("HeuristicLab.Problems.DataAnalysis.Symbolic.Views","Provides views for symbolic data analysis problem classes.", "3.4.6.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.dll", PluginFileType.Assembly)] 30 30 [PluginFile("displayModelFrame.html", PluginFileType.Data)] … … 32 32 [PluginDependency("HeuristicLab.Collections", "3.3")] 33 33 [PluginDependency("HeuristicLab.Common", "3.3")] 34 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 34 35 [PluginDependency("HeuristicLab.Core", "3.3")] 35 36 [PluginDependency("HeuristicLab.Core.Views", "3.3")] -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Properties/AssemblyInfo.cs.frame
r10037 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 31 31 [assembly: AssemblyCompany("")] 32 32 [assembly: AssemblyProduct("HeuristicLab")] 33 [assembly: AssemblyCopyright("(c) 2002-201 3HEAL")]33 [assembly: AssemblyCopyright("(c) 2002-2014 HEAL")] 34 34 [assembly: AssemblyTrademark("")] 35 35 [assembly: AssemblyCulture("")] … … 53 53 // by using the '*' as shown below: 54 54 [assembly: AssemblyVersion("3.4.0.0")] 55 [assembly: AssemblyFileVersion("3.4. 5.$WCREV$")]55 [assembly: AssemblyFileVersion("3.4.6.$WCREV$")] -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 24 25 using System.Drawing; 25 26 using System.Linq; … … 66 67 private void RegisterRunEvents(IEnumerable<IRun> runs) { 67 68 foreach (IRun run in runs) 68 run. Changed += Run_Changed;69 run.PropertyChanged += Run_PropertyChanged; 69 70 } 70 71 private void DeregisterRunEvents(IEnumerable<IRun> runs) { 71 72 foreach (IRun run in runs) 72 run. Changed -= Run_Changed;73 run.PropertyChanged -= Run_PropertyChanged; 73 74 } 74 75 private void Content_ItemsAdded(object sender, HeuristicLab.Collections.CollectionItemsChangedEventArgs<IRun> e) { … … 88 89 if (!Content.UpdateOfRunsInProgress) UpdateData(); 89 90 } 90 private void Run_Changed(object sender, EventArgs e) { 91 if (!Content.UpdateOfRunsInProgress) UpdateData(); 91 private void Run_PropertyChanged(object sender, PropertyChangedEventArgs e) { 92 if (!Content.UpdateOfRunsInProgress && e.PropertyName == "Visible") 93 UpdateData(); 92 94 } 93 95 #endregion -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/ConstantView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/ConstantView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/LaggedVariableView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/LaggedVariableView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/TimeLagView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/TimeLagView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableConditionView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableConditionView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 54 54 private void RegisterVariableNamesViewContentEvents() { 55 55 variableNamesView.Content.ItemsAdded += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 56 variableNamesView.Content.ItemsRemoved += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_ Changed);56 variableNamesView.Content.ItemsRemoved += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Removed); 57 57 variableNamesView.Content.CheckedItemsChanged += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 58 58 variableNamesView.Content.CollectionReset += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); … … 64 64 private void DeregisterVariableNamesViewContentEvents() { 65 65 variableNamesView.Content.ItemsAdded -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 66 variableNamesView.Content.ItemsRemoved -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_ Changed);66 variableNamesView.Content.ItemsRemoved -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Removed); 67 67 variableNamesView.Content.CheckedItemsChanged -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 68 68 variableNamesView.Content.CollectionReset -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); … … 153 153 } 154 154 155 private void VariableNames_Removed(object sender, CollectionItemsChangedEventArgs<StringValue> e) { 156 foreach (var newVar in e.Items) 157 newVar.ValueChanged -= new EventHandler(Variable_ValueChanged); 158 UpdateContent(); 159 } 160 155 161 private void Variable_ValueChanged(object sender, EventArgs e) { 156 162 UpdateContent(); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 55 55 private void RegisterVariableNamesViewContentEvents() { 56 56 variableNamesView.Content.ItemsAdded += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 57 variableNamesView.Content.ItemsRemoved += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_ Changed);57 variableNamesView.Content.ItemsRemoved += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Removed); 58 58 variableNamesView.Content.CheckedItemsChanged += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 59 59 variableNamesView.Content.CollectionReset += new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); … … 66 66 private void DeregisterVariableNamesViewContentEvents() { 67 67 variableNamesView.Content.ItemsAdded -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 68 variableNamesView.Content.ItemsRemoved -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_ Changed);68 variableNamesView.Content.ItemsRemoved -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Removed); 69 69 variableNamesView.Content.CheckedItemsChanged -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); 70 70 variableNamesView.Content.CollectionReset -= new CollectionItemsChangedEventHandler<StringValue>(VariableNames_Changed); … … 118 118 } 119 119 120 private void VariableNames_Removed(object sender, CollectionItemsChangedEventArgs<StringValue> e) { 121 foreach (var newVar in e.Items) 122 newVar.ValueChanged -= new EventHandler(Variable_ValueChanged); 123 UpdateContent(); 124 } 125 120 126 private void Variable_ValueChanged(object sender, EventArgs e) { 121 127 UpdateContent(); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TextualSymbolicDataAnalysisModelView.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TextualSymbolicDataAnalysisModelView.designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 48 48 this.SuspendLayout(); 49 49 // 50 // expressionTreeView50 // symbolicExpressionTreeView 51 51 // 52 52 this.symbolicExpressionTreeView.AllowDrop = true; … … 55 55 this.symbolicExpressionTreeView.Dock = System.Windows.Forms.DockStyle.Fill; 56 56 this.symbolicExpressionTreeView.Location = new System.Drawing.Point(0, 0); 57 this.symbolicExpressionTreeView.Name = " expressionTreeView";57 this.symbolicExpressionTreeView.Name = "symbolicExpressionTreeView"; 58 58 this.symbolicExpressionTreeView.ReadOnly = false; 59 59 this.symbolicExpressionTreeView.Size = new System.Drawing.Size(352, 413); 60 60 this.symbolicExpressionTreeView.TabIndex = 0; 61 61 // 62 // SymbolicExpressionModelView62 // TextualSymbolicDataAnalysisModelView 63 63 // 64 64 this.AllowDrop = true; 65 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);66 65 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 67 66 this.Controls.Add(this.symbolicExpressionTreeView); 68 this.Name = " SymbolicExpressionModelView";67 this.Name = "TextualSymbolicDataAnalysisModelView"; 69 68 this.Size = new System.Drawing.Size(352, 413); 70 69 this.ResumeLayout(false); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeConstantNodeEditDialog.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 67 67 // oldValueTextBox 68 68 // 69 this.oldValueTextBox.Location = new System.Drawing.Point(1 23, 6);69 this.oldValueTextBox.Location = new System.Drawing.Point(106, 6); 70 70 this.oldValueTextBox.Name = "oldValueTextBox"; 71 71 this.oldValueTextBox.ReadOnly = true; … … 75 75 // newValueTextBox 76 76 // 77 this.newValueTextBox.Location = new System.Drawing.Point(1 23, 42);77 this.newValueTextBox.Location = new System.Drawing.Point(106, 32); 78 78 this.newValueTextBox.Name = "newValueTextBox"; 79 79 this.newValueTextBox.Size = new System.Drawing.Size(131, 20); … … 86 86 // 87 87 this.newValueLabel.AutoSize = true; 88 this.newValueLabel.Location = new System.Drawing.Point(12, 45);88 this.newValueLabel.Location = new System.Drawing.Point(12, 35); 89 89 this.newValueLabel.Name = "newValueLabel"; 90 90 this.newValueLabel.Size = new System.Drawing.Size(59, 13); … … 101 101 // 102 102 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; 103 this.okButton.Location = new System.Drawing.Point( 15, 79);103 this.okButton.Location = new System.Drawing.Point(81, 66); 104 104 this.okButton.Name = "okButton"; 105 105 this.okButton.Size = new System.Drawing.Size(75, 23); … … 113 113 this.cancelButton.CausesValidation = false; 114 114 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 115 this.cancelButton.Location = new System.Drawing.Point(1 79, 79);115 this.cancelButton.Location = new System.Drawing.Point(162, 66); 116 116 this.cancelButton.Name = "cancelButton"; 117 117 this.cancelButton.Size = new System.Drawing.Size(75, 23); … … 127 127 this.AutoSize = true; 128 128 this.CancelButton = this.cancelButton; 129 this.ClientSize = new System.Drawing.Size(2 69, 116);129 this.ClientSize = new System.Drawing.Size(248, 101); 130 130 this.ControlBox = false; 131 131 this.Controls.Add(this.cancelButton); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeConstantNodeEditDialog.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeNodeInsertDialog.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 63 63 // 64 64 this.nodeSymbolLabel.AutoSize = true; 65 this.nodeSymbolLabel.Location = new System.Drawing.Point(1 3, 13);65 this.nodeSymbolLabel.Location = new System.Drawing.Point(19, 13); 66 66 this.nodeSymbolLabel.Name = "nodeSymbolLabel"; 67 67 this.nodeSymbolLabel.Size = new System.Drawing.Size(41, 13); … … 73 73 this.allowedSymbolsCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 74 74 this.allowedSymbolsCombo.FormattingEnabled = true; 75 this.allowedSymbolsCombo.Location = new System.Drawing.Point(1 20, 10);75 this.allowedSymbolsCombo.Location = new System.Drawing.Point(101, 10); 76 76 this.allowedSymbolsCombo.Name = "allowedSymbolsCombo"; 77 this.allowedSymbolsCombo.Size = new System.Drawing.Size(1 08, 21);77 this.allowedSymbolsCombo.Size = new System.Drawing.Size(127, 21); 78 78 this.allowedSymbolsCombo.TabIndex = 1; 79 79 this.allowedSymbolsCombo.SelectedIndexChanged += new System.EventHandler(this.allowedSymbolsCombo_SelectedIndexChanged); … … 83 83 // 84 84 this.variableWeightLabel.AutoSize = true; 85 this.variableWeightLabel.Location = new System.Drawing.Point(1 3, 44);85 this.variableWeightLabel.Location = new System.Drawing.Point(19, 40); 86 86 this.variableWeightLabel.Name = "variableWeightLabel"; 87 87 this.variableWeightLabel.Size = new System.Drawing.Size(41, 13); … … 93 93 // 94 94 this.variableNameLabel.AutoSize = true; 95 this.variableNameLabel.Location = new System.Drawing.Point(1 3, 74);95 this.variableNameLabel.Location = new System.Drawing.Point(19, 66); 96 96 this.variableNameLabel.Name = "variableNameLabel"; 97 97 this.variableNameLabel.Size = new System.Drawing.Size(35, 13); … … 104 104 this.variableNamesCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 105 105 this.variableNamesCombo.FormattingEnabled = true; 106 this.variableNamesCombo.Location = new System.Drawing.Point(1 20, 71);106 this.variableNamesCombo.Location = new System.Drawing.Point(101, 63); 107 107 this.variableNamesCombo.Name = "variableNamesCombo"; 108 this.variableNamesCombo.Size = new System.Drawing.Size(1 08, 21);108 this.variableNamesCombo.Size = new System.Drawing.Size(127, 21); 109 109 this.variableNamesCombo.TabIndex = 5; 110 110 this.variableNamesCombo.Visible = false; … … 112 112 // variableWeightTextBox 113 113 // 114 this.variableWeightTextBox.Location = new System.Drawing.Point(1 20, 41);114 this.variableWeightTextBox.Location = new System.Drawing.Point(101, 37); 115 115 this.variableWeightTextBox.Name = "variableWeightTextBox"; 116 this.variableWeightTextBox.Size = new System.Drawing.Size(1 08, 20);116 this.variableWeightTextBox.Size = new System.Drawing.Size(127, 20); 117 117 this.variableWeightTextBox.TabIndex = 6; 118 118 this.variableWeightTextBox.Text = "0.0"; … … 122 122 // constantValueTextBox 123 123 // 124 this.constantValueTextBox.Location = new System.Drawing.Point(1 20, 41);124 this.constantValueTextBox.Location = new System.Drawing.Point(101, 37); 125 125 this.constantValueTextBox.Name = "constantValueTextBox"; 126 this.constantValueTextBox.Size = new System.Drawing.Size(1 08, 20);126 this.constantValueTextBox.Size = new System.Drawing.Size(127, 20); 127 127 this.constantValueTextBox.TabIndex = 7; 128 128 this.constantValueTextBox.Text = "0.0"; … … 133 133 // 134 134 this.constantValueLabel.AutoSize = true; 135 this.constantValueLabel.Location = new System.Drawing.Point(1 3, 44);135 this.constantValueLabel.Location = new System.Drawing.Point(19, 40); 136 136 this.constantValueLabel.Name = "constantValueLabel"; 137 137 this.constantValueLabel.Size = new System.Drawing.Size(34, 13); … … 149 149 // 150 150 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; 151 this.okButton.Location = new System.Drawing.Point( 12, 112);151 this.okButton.Location = new System.Drawing.Point(72, 98); 152 152 this.okButton.Name = "okButton"; 153 153 this.okButton.Size = new System.Drawing.Size(75, 23); … … 160 160 // 161 161 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 162 this.cancelButton.Location = new System.Drawing.Point(153, 112);162 this.cancelButton.Location = new System.Drawing.Point(153, 98); 163 163 this.cancelButton.Name = "cancelButton"; 164 164 this.cancelButton.Size = new System.Drawing.Size(75, 23); … … 173 173 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 174 174 this.CancelButton = this.cancelButton; 175 this.ClientSize = new System.Drawing.Size(24 0, 147);175 this.ClientSize = new System.Drawing.Size(241, 133); 176 176 this.ControlBox = false; 177 177 this.Controls.Add(this.cancelButton); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeNodeInsertDialog.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeVariableNodeEditDialog.Designer.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 61 61 // 62 62 this.originalValueLabel.AutoSize = true; 63 this.originalValueLabel.Location = new System.Drawing.Point( 12, 48);63 this.originalValueLabel.Location = new System.Drawing.Point(6, 42); 64 64 this.originalValueLabel.Name = "originalValueLabel"; 65 65 this.originalValueLabel.Size = new System.Drawing.Size(72, 13); … … 69 69 // oldValueTextBox 70 70 // 71 this.oldValueTextBox.Location = new System.Drawing.Point(1 23, 45);71 this.oldValueTextBox.Location = new System.Drawing.Point(101, 39); 72 72 this.oldValueTextBox.Name = "oldValueTextBox"; 73 73 this.oldValueTextBox.ReadOnly = true; … … 77 77 // newValueTextBox 78 78 // 79 this.newValueTextBox.Location = new System.Drawing.Point(1 23, 82);79 this.newValueTextBox.Location = new System.Drawing.Point(101, 65); 80 80 this.newValueTextBox.Name = "newValueTextBox"; 81 81 this.newValueTextBox.Size = new System.Drawing.Size(131, 20); … … 88 88 // 89 89 this.newValueLabel.AutoSize = true; 90 this.newValueLabel.Location = new System.Drawing.Point( 12, 85);90 this.newValueLabel.Location = new System.Drawing.Point(6, 68); 91 91 this.newValueLabel.Name = "newValueLabel"; 92 92 this.newValueLabel.Size = new System.Drawing.Size(59, 13); … … 103 103 // 104 104 this.variableNameLabel.AutoSize = true; 105 this.variableNameLabel.Location = new System.Drawing.Point( 12, 12);105 this.variableNameLabel.Location = new System.Drawing.Point(6, 15); 106 106 this.variableNameLabel.Name = "variableNameLabel"; 107 107 this.variableNameLabel.Size = new System.Drawing.Size(76, 13); … … 114 114 this.variableNamesCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 115 115 this.variableNamesCombo.FormattingEnabled = true; 116 this.variableNamesCombo.Location = new System.Drawing.Point(1 23, 9);116 this.variableNamesCombo.Location = new System.Drawing.Point(101, 12); 117 117 this.variableNamesCombo.Name = "variableNamesCombo"; 118 118 this.variableNamesCombo.Size = new System.Drawing.Size(131, 21); … … 126 126 // 127 127 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; 128 this.okButton.Location = new System.Drawing.Point( 15, 119);128 this.okButton.Location = new System.Drawing.Point(75, 98); 129 129 this.okButton.Name = "okButton"; 130 130 this.okButton.Size = new System.Drawing.Size(75, 23); … … 138 138 this.cancelButton.CausesValidation = false; 139 139 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 140 this.cancelButton.Location = new System.Drawing.Point(1 79, 119);140 this.cancelButton.Location = new System.Drawing.Point(156, 98); 141 141 this.cancelButton.Name = "cancelButton"; 142 142 this.cancelButton.Size = new System.Drawing.Size(75, 23); … … 152 152 this.AutoSize = true; 153 153 this.CancelButton = this.cancelButton; 154 this.ClientSize = new System.Drawing.Size(2 69, 154);154 this.ClientSize = new System.Drawing.Size(244, 134); 155 155 this.ControlBox = false; 156 156 this.Controls.Add(this.cancelButton); -
branches/Breadcrumbs/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeVariableNodeEditDialog.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.