Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6436 for trunk/sources


Ignore:
Timestamp:
06/16/11 15:49:36 (13 years ago)
Author:
gkronber
Message:

#1553 added a unit test to create and run GP samples.

Location:
trunk/sources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs

    r6051 r6436  
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
     35using System.Collections.Generic;
    3536
    3637namespace HeuristicLab.Algorithms.GeneticAlgorithm {
     
    104105      set { SelectorParameter.Value = value; }
    105106    }
     107    public IEnumerable<ISelector> ValidSelectors {
     108      get { return SelectorParameter.ValidValues; }
     109    }
    106110    public ICrossover Crossover {
    107111      get { return CrossoverParameter.Value; }
     
    115119      get { return MutatorParameter.Value; }
    116120      set { MutatorParameter.Value = value; }
     121    }
     122    public IEnumerable<IManipulator> ValidMutators {
     123      get { return MutatorParameter.ValidValues; }
    117124    }
    118125    public IntValue Elites {
  • trunk/sources/HeuristicLab/3.3/Tests/HeuristicLab-3.3.Tests.csproj

    r6208 r6436  
    126126    <Compile Include="CollectObjectGraphTest.cs" />
    127127    <Compile Include="ContentViewTests.cs" />
     128    <Compile Include="GeneticProgrammingSamplesTest.cs" />
    128129    <Compile Include="SymbolicRegressionTest.cs" />
    129130    <Compile Include="PluginDependenciesTest.cs" />
     
    390391      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    391392    </ProjectReference>
    392     <ProjectReference Include="..\..\..\HeuristicLab.Problems.ArtificialAnt.Views\3.3\HeuristicLab.Problems.ArtificialAnt.Views-3.3.csproj">
    393       <Project>{30DD3DA2-CA57-49DD-A5BA-50CEF19DB45F}</Project>
    394       <Name>HeuristicLab.Problems.ArtificialAnt.Views-3.3</Name>
    395     </ProjectReference>
    396393    <ProjectReference Include="..\..\..\HeuristicLab.Problems.ArtificialAnt.Views\3.4\HeuristicLab.Problems.ArtificialAnt.Views-3.4.csproj">
    397394      <Project>{3083C7AA-5AF4-4C75-BA19-B69B86E2F66A}</Project>
    398395      <Name>HeuristicLab.Problems.ArtificialAnt.Views-3.4</Name>
    399     </ProjectReference>
    400     <ProjectReference Include="..\..\..\HeuristicLab.Problems.ArtificialAnt\3.3\HeuristicLab.Problems.ArtificialAnt-3.3.csproj">
    401       <Project>{F5C0ECAC-EDBA-4024-872A-1F74AFCB20B4}</Project>
    402       <Name>HeuristicLab.Problems.ArtificialAnt-3.3</Name>
    403396    </ProjectReference>
    404397    <ProjectReference Include="..\..\..\HeuristicLab.Problems.ArtificialAnt\3.4\HeuristicLab.Problems.ArtificialAnt-3.4.csproj">
Note: See TracChangeset for help on using the changeset viewer.