Free cookie consent management tool by TermsFeed Policy Generator

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

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

File:
1 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 {
Note: See TracChangeset for help on using the changeset viewer.