Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/28/17 22:52:08 (7 years ago)
Author:
pkimmesw
Message:

#2665 Dynamic ErcValues, Separate Push from BenchmarkSuite Push

Location:
branches/PushGP/HeuristicLab.PushGP/FeatureTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/FeatureTests/FeatureTests.csproj

    r14875 r14897  
    3434  </PropertyGroup>
    3535  <ItemGroup>
     36    <Reference Include="HeuristicLab.Collections-3.3">
     37      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath>
     38    </Reference>
    3639    <Reference Include="HeuristicLab.Common-3.3">
    3740      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath>
  • branches/PushGP/HeuristicLab.PushGP/FeatureTests/Program.cs

    r14875 r14897  
    88  using System.Threading;
    99  using DirtyList;
    10 
    11   using HeuristicLab.Problems.ProgramSynthesis.Base.Erc;
    1210  using HeuristicLab.Problems.ProgramSynthesis.Push.Configuration;
    1311  using HeuristicLab.Problems.ProgramSynthesis.Push.Data.Pool;
     
    378376      var sw = new Stopwatch();
    379377      var random = new FastRandom(1337);
    380       var config = new PushConfiguration {
    381         ErcOptions = {
    382           ErcProbability = 0.2,
    383           FloatErcOptions = new FloatErcOptions(-100.5, 100.5, new [] { 1000.5, 2000.5 }),
    384           IntegerErcOptions = new IntegerErcOptions(-10, 10, new [] { 100, 200 }),
    385           StringErcOptions =
    386             new StringErcOptions
    387               {
    388                 IsEnabled = true,
    389                 AllowSpace = true,
    390                 SpaceProbability = 0.2
    391               },
    392           BooleanErcOptions = new BooleanErcOptions(true, true),
    393           CharErcOptions = new CharErcOptions('a', 'Z')
    394         }
    395       };
     378      var config = new PushConfiguration();
    396379
    397380      sw.Start();
Note: See TracChangeset for help on using the changeset viewer.