- Timestamp:
- 08/05/16 17:34:16 (8 years ago)
- Location:
- branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicExpressionTreeChart.cs
r14237 r14238 200 200 // check if the copied/cut node (stored in the tempNode) can be inserted as a child of the current selected node 201 201 var node = currSelected.Content; 202 if (node is ConstantTreeNode || node is VariableTreeNode Base) return;202 if (node is ConstantTreeNode || node is VariableTreeNode) return; 203 203 // check if the currently selected node can accept the copied node as a child 204 204 // no need to check the grammar, an arity check will do just fine here -
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs
r14185 r14238 35 35 [View("Variable View")] 36 36 [Content(typeof(Variable), true)] 37 [Content(typeof(FactorVariable), true)] 37 38 public partial class VariableView : SymbolView { 38 39 private CheckedItemCollectionView<StringValue> variableNamesView; 39 40 40 public new Variable Content {41 get { return (Variable )base.Content; }41 public new VariableBase Content { 42 get { return (VariableBase)base.Content; } 42 43 set { base.Content = value; } 43 44 } -
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeNodeInsertDialog.cs
r14185 r14238 55 55 constantValueLabel.Visible = true; 56 56 constantValueTextBox.Visible = true; 57 } else if (symbol is Variable ) {58 var variable = (Variable )symbol;57 } else if (symbol is VariableBase) { 58 var variable = (VariableBase)symbol; 59 59 foreach (var name in variable.VariableNames) variableNamesCombo.Items.Add(name); 60 60 variableNamesCombo.SelectedIndex = 0;
Note: See TracChangeset
for help on using the changeset viewer.