Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/13/13 10:56:05 (11 years ago)
Author:
ascheibe
Message:

#2069 removed unused symbols and cleaned up code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Grammar.cs

    r9790 r9879  
    7979      var ahead = new Ahead();
    8080      var back = new Back();
    81       var constant = new Constant();
    8281      var doNothing = new DoNothing();
    8382      var fire = new Fire();
     
    156155      var constantSymbols = new List<ISymbol>()
    157156            {
    158                 shotPower, /*independent,*/ constant
     157                shotPower
    159158            };
    160159
     
    247246      // Add the appropriate parameters as children of their respective functions
    248247      foreach (var f in functionSymbols) {
    249         if (f is SetAdjustGunForRobotTurn ||
    250             f is SetAdjustRadarForGunTurn ||
    251             f is SetAdjustRadarForRobotTurn)
    252           AddAllowedChildSymbol(f, logicExpr);
    253         else if (f is Fire)
     248        if (f is Fire)
    254249          AddAllowedChildSymbol(f, shotPower);
    255250        else
Note: See TracChangeset for help on using the changeset viewer.