Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/17 14:11:43 (7 years ago)
Author:
pkimmesw
Message:

#2665 Fixed bias 0 issue, PushExpressionFrequencyAnalyzer, Fixed probability for ERC settings, Fixed enable/disable instructions, Added expression descriptions

File:
1 edited

Legend:

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

    r15017 r15032  
    183183
    184184      foreach (StackTypes stackType in Enum.GetValues(typeof(StackTypes))) {
    185         if (stackType != StackTypes.Exec &&
    186             ExpressionTable.GetExpressionsByStackTypes(stackType).Intersect(config.EnabledExpressions).Any()) {
    187 
    188           switch (stackType) {
    189             case StackTypes.Code:
    190               var treeView = CreatePushProgramTreeView(stackType);
    191               debugPushProgramDict.Add(stackType, treeView);
    192               break;
    193             default:
    194               var list = CreateDebugList(stackType);
    195               debugListDict.Add(stackType, list);
    196               break;
    197           }
     185        if (stackType == StackTypes.Exec || !config.IsStackEnabled(stackType))
     186          continue;
     187
     188        switch (stackType) {
     189          case StackTypes.Code:
     190            var treeView = CreatePushProgramTreeView(stackType);
     191            debugPushProgramDict.Add(stackType, treeView);
     192            break;
     193          default:
     194            var list = CreateDebugList(stackType);
     195            debugListDict.Add(stackType, list);
     196            break;
    198197        }
    199198      }
Note: See TracChangeset for help on using the changeset viewer.