Changeset 15281 for branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
- Timestamp:
- 07/23/17 11:17:18 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
r12012 r15281 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 102 102 if (dialog.DialogResult != DialogResult.OK) return; 103 103 104 var symbol = dialog.SelectedSymbol ();104 var symbol = dialog.SelectedSymbol; 105 105 var node = symbol.CreateTreeNode(); 106 106 if (node is ConstantTreeNode) { … … 110 110 var variable = node as VariableTreeNode; 111 111 variable.Weight = double.Parse(dialog.variableWeightTextBox.Text); 112 variable.VariableName = dialog. variableNamesCombo.Text;112 variable.VariableName = dialog.SelectedVariableName; 113 113 } else if (node.Symbol.MinimumArity <= parent.SubtreeCount && node.Symbol.MaximumArity >= parent.SubtreeCount) { 114 114 for (int i = parent.SubtreeCount - 1; i >= 0; --i) {
Note: See TracChangeset
for help on using the changeset viewer.