- Timestamp:
- 10/16/15 10:46:44 (9 years ago)
- Location:
- branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3
- Files:
-
- 2 deleted
- 2 edited
- 6 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/HeuristicLab.Problems.Robocode-3.3.csproj
r13017 r13018 83 83 <Reference Include="System" /> 84 84 <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" />92 85 </ItemGroup> 93 86 <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" /> 94 92 <None Include="BattleObserver.class"> 95 93 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> … … 106 104 <None Include="Properties\AssemblyInfo.cs.frame" /> 107 105 <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" /> 115 108 <Compile Include="Plugin.cs" /> 116 109 <Compile Include="Properties\AssemblyInfo.cs" /> 117 <Compile Include="Symbols\Numerical Expressions\ShotPower.cs" />118 <Compile Include="Symbols\Numerical Expressions\ShotPowerTreeNode.cs" />119 110 </ItemGroup> 120 111 <ItemGroup> 121 112 <Content Include="BattleRunner.java" /> 122 113 </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 /> 131 115 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 132 116 <!-- 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 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Diagnostics; 25 24 using System.Diagnostics.Contracts; … … 28 27 using System.Linq; 29 28 using System.Reflection; 30 using System.Runtime.Remoting.Messaging;31 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 32 30 -
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/BooleanValue.cs
r13017 r13018 44 44 return new BooleanValue(this, cloner); 45 45 } 46 47 public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {48 return ((BooleanTreeNode)node).Value.ToString().ToLower();49 }50 46 } 51 47 } -
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Number.cs
r13017 r13018 45 45 return new Number(this, cloner); 46 46 } 47 48 public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {49 return ((NumberTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);50 }51 47 } 52 48 } -
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/ShotPower.cs
r13017 r13018 45 45 return new ShotPower(this, cloner); 46 46 } 47 48 public string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) {49 return ((ShotPowerTreeNode)node).Value.ToString(CultureInfo.InvariantCulture);50 }51 47 } 52 48 }
Note: See TracChangeset
for help on using the changeset viewer.