Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/23/15 12:50:05 (9 years ago)
Author:
gkronber
Message:

#2261: merged trunk changes to branch
r12494
#2403: added a null check in the MatlabParameterVectorEvaluator to prevent exceptions when clearstate is called


r12493
#2369: added support for squared errors and relative errors to error-characteristic-curve view


r12492
#2392: implemented PearsonsRCalculator to fix incorrect correlation values in the correlation matrix.


r12491
#2402 don't set task state to waiting when it fails


r12490
#2401 added missing Mono.Cecil plugin dependency


r12488
#2400 - Interfaces for Capaciated-, PickupAndDelivery- and TimeWindowed-ProblemInstances now specify an additional penalty parameter to set the current penalty factor for the constraint relaxation. - The setter of the penalty-property in ...


r12485
#2374 made RegressionSolution and ClassificationSolution non-abstract


r12482
#2320: Fixed warnings in unit test solutions introduced in r12420 by marking methods as obsolete.


r12481
#2320: Fixed AfterDeserialization of GEArtifialAntEvaluator.


r12480
#2320: Fixed error in symbolicexpressiontree crossover regarding the wiring of lookup parameters if persisted file is loaded.


r12479
#2397 moved GeoIP project into ExtLibs


r12478
#2329 fixed bug in simple code editor


r12476
#2331 removed outdated plugins


r12475
#2368 fixed compile warnings


r12474
#2399 worked on Mono project prepare script


r12473
#2329 added a simple code editor for Linux


r12472
#2399 - fixed MathJax.js file name - worked on Mono project prepare script


r12471
#2399 worked on Mono project prepare script


r12470
#2399 fixed pre-build events in project files


r12465
#2399 worked on mono project prepare script


r12464
#2399 added patch to project


r12463
#2399 fixed EPPlus so that it compiles on Linux


r12461
#2398: Skip root and start symbols when calculating impacts and replacement values in the pruning operators.


r12458
#2354 show label when no data is displayed and don't show the legend


r12457
#2353 removed duplicated call to Any() in Hive Status page


r12456
#2368 fixed modifier


r12455
#2368 added support in persistence for typecaches in streams


r12445
#2394: Changed Web.config compilation from debug to release to force script bundling. Changed history loading type from lazy to eager loading to increase performance. Fixed "getCoreStatus" typo in statusCtrl.js


r12443
#2394: Fixed UserTaskQuery and GetStatusHistory in the WebApp.Status plugin


r12442
#2394 added nuget folders to svn ignore list


r12435
#2394: Improved PluginManager and updated hive status monitor.


r12434
#2396 added symbolic expression tree formatter for C#


r12433
#2395: Minor change in DoubleValue.GetValue.


r12432
#2395 Use simple round-trip format for doubles because G17 prints some strange numbers (20.22 to 20.219999999999999999). Some accuracy can still be lost on 64bit machines, but should be very rare and minimal. double.MaxValue can still be pa...


r12431
#2395 Fixed parsing issues by using the G17 format.


r12430
#2394 added missing package config


r12429
#2394 added missing package config


r12428
#2394 added web app and status page to trunk


r12424
#2320: Adapted plugin file and updated project file of SymbolicExpressionTreeEncoding.


r12422
#2320: Merged the encoding class and all accompanying changes in the trunk.


r12401
#2387 Fixed a bug where the automatic selection of the first element behaved differently for the NewItemDialog.


r12400
#2387 Forgot to commit a file.


r12399
#2387 - Added context-menu for expanding and collapsing tree-nodes. - Improve response time when expanding/collapsing all nodes for TypeSelector and NewItemDialog.


r12398
#2387 - Added clearSearch-button in TypeSelector. - Adapted behavior of TypeSelector and NewItemDialog that a selected node stays selected as long as it matches the search criteria.


r12397
#2387 - Adapted behavior of the matching in the TypeSelector that it behave the same as the NewItemDialog. The search string is tokenized by space and matches if all tokens are contained, (eg. "Sym Reg" matches "SymbolicRegression...")...


r12393
#2025 - Removed Expand/CollapseAll buttons. - Removed cycling of items.


r12392
#2386: Updated GetHashCode method in the EnumerableBoolEqualityComparer.


Location:
branches/GBT
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/GBT

  • branches/GBT/HeuristicLab.Optimizer

  • branches/GBT/HeuristicLab.Optimizer/3.3/NewItemDialog.cs

    r12305 r12495  
    174174      } else {
    175175        searchString = searchString.ToLower();
     176        var selectedNode = typesTreeView.SelectedNode;
    176177
    177178        if (!searchString.Contains(currentSearchString)) {
    178179          typesTreeView.BeginUpdate();
    179180          // expand search -> restore all tree nodes
    180           var selectedNode = typesTreeView.SelectedNode;
    181181          typesTreeView.Nodes.Clear();
    182182          foreach (TreeNode node in treeNodes)
    183183            typesTreeView.Nodes.Add((TreeNode)node.Clone());
    184           RestoreSelectedNode(selectedNode);
    185184          typesTreeView.EndUpdate();
    186185        }
     
    189188        typesTreeView.BeginUpdate();
    190189        var searchTokens = searchString.Split(' ');
    191 
    192190        int i = 0;
    193191        while (i < typesTreeView.Nodes.Count) {
     
    202200
    203201        // select first item
     202        typesTreeView.BeginUpdate();
    204203        var firstNode = FirstVisibleNode;
    205204        while (firstNode != null && !(firstNode.Tag is Type))
     
    215214          typesTreeView.Enabled = true;
    216215        }
     216        typesTreeView.EndUpdate();
     217
     218        RestoreSelectedNode(selectedNode);
    217219        UpdateDescription();
    218220      }
     
    302304      if (selectedNode != null) {
    303305        var node = typesTreeView.Nodes.Find(selectedNode.Name, searchAllChildren: true).SingleOrDefault();
    304         typesTreeView.SelectedNode = node;
    305         if (typesTreeView.SelectedNode == null) SelectedType = null;
     306        if (node != null)
     307          typesTreeView.SelectedNode = node;
     308        if (typesTreeView.SelectedNode == null)
     309          SelectedType = null;
    306310      }
    307311    }
     
    336340    }
    337341
    338     private void expandAllButton_Click(object sender, EventArgs e) {
    339       typesTreeView.ExpandAll();
    340     }
    341     private void collapseAllButton_Click(object sender, EventArgs e) {
    342       typesTreeView.CollapseAll();
    343     }
    344 
    345342    private TreeNode toolStripMenuNode = null;
    346343    private void typesTreeView_MouseDown(object sender, MouseEventArgs e) {
     
    374371
    375372    private void expandToolStripMenuItem_Click(object sender, EventArgs e) {
     373      typesTreeView.BeginUpdate();
    376374      if (toolStripMenuNode != null) toolStripMenuNode.ExpandAll();
     375      typesTreeView.EndUpdate();
    377376    }
    378377    private void expandAllToolStripMenuItem_Click(object sender, EventArgs e) {
     378      typesTreeView.BeginUpdate();
    379379      typesTreeView.ExpandAll();
     380      typesTreeView.EndUpdate();
    380381    }
    381382    private void collapseToolStripMenuItem_Click(object sender, EventArgs e) {
     383      typesTreeView.BeginUpdate();
    382384      if (toolStripMenuNode != null) toolStripMenuNode.Collapse();
     385      typesTreeView.EndUpdate();
    383386    }
    384387    private void collapseAllToolStripMenuItem_Click(object sender, EventArgs e) {
     388      typesTreeView.BeginUpdate();
    385389      typesTreeView.CollapseAll();
     390      typesTreeView.EndUpdate();
    386391    }
    387392
     
    398403        var selectedNode = typesTreeView.SelectedNode;
    399404
    400         if (selectedNode == null) { // nothing selected => select first or last
     405        if (selectedNode == null) { // nothing selected => select first
    401406          if (e.KeyCode == Keys.Down) typesTreeView.SelectedNode = FirstVisibleNode;
    402           if (e.KeyCode == Keys.Up) typesTreeView.SelectedNode = LastVisibleNode;
    403407        } else {
    404           if (e.KeyCode == Keys.Down)
    405             typesTreeView.SelectedNode = selectedNode.NextVisibleNode ?? FirstVisibleNode; // select next or cycle to first
    406           if (e.KeyCode == Keys.Up)
    407             typesTreeView.SelectedNode = selectedNode.PrevVisibleNode ?? LastVisibleNode; // select prev or cycle to last
     408          if (e.KeyCode == Keys.Down && selectedNode.NextVisibleNode != null)
     409            typesTreeView.SelectedNode = selectedNode.NextVisibleNode;
     410          if (e.KeyCode == Keys.Up && selectedNode.PrevVisibleNode != null)
     411            typesTreeView.SelectedNode = selectedNode.PrevVisibleNode;
    408412        }
    409413        e.Handled = true;
Note: See TracChangeset for help on using the changeset viewer.