Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13018


Ignore:
Timestamp:
10/16/15 10:46:44 (9 years ago)
Author:
gkronber
Message:

#2069: cleaned code and renamed files

Location:
branches/Robocode.TrunkInt
Files:
2 deleted
3 edited
6 copied
3 moved

Legend:

Unmodified
Added
Removed
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/HeuristicLab.Problems.Robocode.Views-3.3.csproj

    r11628 r13018  
    8282      <Private>False</Private>
    8383    </Reference>
    84     <Reference Include="HeuristicLab.Operators-3.3">
    85       <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Operators-3.3.dll</HintPath>
    86       <Private>False</Private>
    87     </Reference>
    88     <Reference Include="HeuristicLab.Optimization-3.3">
    89       <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath>
    90       <Private>False</Private>
    91     </Reference>
    9284    <Reference Include="HeuristicLab.PluginInfrastructure-3.3">
    9385      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>
     
    9890    <Reference Include="System.Drawing" />
    9991    <Reference Include="System.Windows.Forms" />
    100     <Reference Include="System.Xml.Linq" />
    101     <Reference Include="System.Data.DataSetExtensions" />
    102     <Reference Include="Microsoft.CSharp" />
    103     <Reference Include="System.Data" />
    104     <Reference Include="System.Xml" />
    10592  </ItemGroup>
    10693  <ItemGroup>
     
    113100    <Compile Include="BattleRunnerDialog.Designer.cs">
    114101      <DependentUpon>BattleRunnerDialog.cs</DependentUpon>
     102    </Compile>
     103    <Compile Include="CodeSymbolView.cs" />
     104    <Compile Include="CodeSymbolView.Designer.cs">
     105      <DependentUpon>CodeSymbolView.cs</DependentUpon>
    115106    </Compile>
    116107    <Compile Include="EnemyCollectionView.cs">
     
    134125    <Compile Include="Plugin.cs" />
    135126    <Compile Include="Properties\AssemblyInfo.cs" />
    136     <Compile Include="CodeNodeView.cs">
    137       <SubType>UserControl</SubType>
    138     </Compile>
    139     <Compile Include="CodeNodeView.Designer.cs">
    140       <DependentUpon>CodeNodeView.cs</DependentUpon>
    141     </Compile>
    142127  </ItemGroup>
    143128  <ItemGroup>
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/HeuristicLab.Problems.Robocode-3.3.csproj

    r13017 r13018  
    8383    <Reference Include="System" />
    8484    <Reference Include="System.Core" />
    85     <Reference Include="System.Drawing" />
    86     <Reference Include="System.Windows.Forms" />
    87     <Reference Include="System.Xml.Linq" />
    88     <Reference Include="System.Data.DataSetExtensions" />
    89     <Reference Include="Microsoft.CSharp" />
    90     <Reference Include="System.Data" />
    91     <Reference Include="System.Xml" />
    9285  </ItemGroup>
    9386  <ItemGroup>
     87    <Compile Include="Symbols\CodeSymbol.cs" />
     88    <Compile Include="Symbols\Number.cs" />
     89    <Compile Include="Symbols\NumberTreeNode.cs" />
     90    <Compile Include="Symbols\ShotPower.cs" />
     91    <Compile Include="Symbols\ShotPowerTreeNode.cs" />
    9492    <None Include="BattleObserver.class">
    9593      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     
    106104    <None Include="Properties\AssemblyInfo.cs.frame" />
    107105    <Compile Include="Solution.cs" />
    108     <Compile Include="Symbols\CodeNode.cs">
    109       <SubType>Code</SubType>
    110     </Compile>
    111     <Compile Include="Symbols\Logical Expressions\BooleanTreeNode.cs" />
    112     <Compile Include="Symbols\Logical Expressions\BooleanValue.cs" />
    113     <Compile Include="Symbols\Numerical Expressions\NumberTreeNode.cs" />
    114     <Compile Include="Symbols\Numerical Expressions\Number.cs" />
     106    <Compile Include="Symbols\BooleanTreeNode.cs" />
     107    <Compile Include="Symbols\BooleanValue.cs" />
    115108    <Compile Include="Plugin.cs" />
    116109    <Compile Include="Properties\AssemblyInfo.cs" />
    117     <Compile Include="Symbols\Numerical Expressions\ShotPower.cs" />
    118     <Compile Include="Symbols\Numerical Expressions\ShotPowerTreeNode.cs" />
    119110  </ItemGroup>
    120111  <ItemGroup>
    121112    <Content Include="BattleRunner.java" />
    122113  </ItemGroup>
    123   <ItemGroup>
    124     <Folder Include="Symbols\Event Methods\Events\" />
    125     <Folder Include="Symbols\Logical Expressions\Logical Comparators\" />
    126     <Folder Include="Symbols\Numerical Expressions\Numerical Operators\" />
    127     <Folder Include="Symbols\Numerical Methods\" />
    128     <Folder Include="Symbols\Statements\" />
    129     <Folder Include="Symbols\Void Methods\" />
    130   </ItemGroup>
     114  <ItemGroup />
    131115  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    132116  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Interpreter.cs

    r13017 r13018  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Diagnostics;
    2524using System.Diagnostics.Contracts;
     
    2827using System.Linq;
    2928using System.Reflection;
    30 using System.Runtime.Remoting.Messaging;
    3129using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    3230
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/BooleanValue.cs

    r13017 r13018  
    4444      return new BooleanValue(this, cloner);
    4545    }
    46 
    47     public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {
    48       return ((BooleanTreeNode)node).Value.ToString().ToLower();
    49     }
    5046  }
    5147}
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Number.cs

    r13017 r13018  
    4545      return new Number(this, cloner);
    4646    }
    47 
    48     public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {
    49       return ((NumberTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);
    50     }
    5147  }
    5248}
  • branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/ShotPower.cs

    r13017 r13018  
    4545      return new ShotPower(this, cloner);
    4646    }
    47 
    48     public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {
    49       return ((ShotPowerTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);
    50     }
    5147  }
    5248}
Note: See TracChangeset for help on using the changeset viewer.