Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/17 01:11:18 (8 years ago)
Author:
pkimmesw
Message:

#2665 simplifier, push solution results view, performance improvements, small bug fixes, ui fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Views/ExpressionSelectionView.cs

    r14747 r14777  
    4343
    4444    private void ExpressionsTreeViewAfterCheck(object sender, TreeViewEventArgs e) {
    45       var isStackNode = e.Node.Tag is StackType;
     45      var isStackNode = e.Node.Tag is StackTypes;
    4646
    4747      if (isStackNode) {
    4848        if (e.Node.Checked) {
    49           Content.EnableStack((StackType)e.Node.Tag);
     49          Content.EnableStack((StackTypes)e.Node.Tag);
    5050          foreach (var subNode in e.Node.Nodes.Cast<TreeNode>())
    5151            subNode.Checked = true;
    5252        } else {
    53           Content.DisableStack((StackType)e.Node.Tag);
     53          Content.DisableStack((StackTypes)e.Node.Tag);
    5454          foreach (var subNode in e.Node.Nodes.Cast<TreeNode>())
    5555            subNode.Checked = false;
     
    7171      }
    7272
     73      this.nameTextBox.Text = "Push Expression Selection";
     74
    7375      var treeNodes = GetTreeNodes(Content.EnabledExpressions).ToArray();
    7476      expressionsTreeView.Nodes.AddRange(treeNodes);
     
    7981        var stackTreeNode = new TreeNode {
    8082          Tag = stackType,
    81           Text = Enum.GetName(typeof(StackType), stackType),
     83          Text = Enum.GetName(typeof(StackTypes), stackType),
    8284        };
    8385
Note: See TracChangeset for help on using the changeset viewer.