Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/10 06:35:43 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on algorithms
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Permutation/3.3/RandomPermutationCreator.cs

    r2852 r2865  
    3434  [EmptyStorableClass]
    3535  [Creatable("Test")]
    36   public sealed class RandomPermutationCreator : SingleSuccessorOperator, ISolutionCreator {
     36  public sealed class RandomPermutationCreator : SingleSuccessorOperator, IPermutationCreator, IStochasticOperator {
    3737    public ILookupParameter<IRandom> RandomParameter {
    3838      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    3939    }
    40     public ValueLookupParameter<IntData> LengthParameter {
    41       get { return (ValueLookupParameter<IntData>)Parameters["Length"]; }
     40    public IValueLookupParameter<IntData> LengthParameter {
     41      get { return (IValueLookupParameter<IntData>)Parameters["Length"]; }
    4242    }
    43     public LookupParameter<Permutation> PermutationParameter {
    44       get { return (LookupParameter<Permutation>)Parameters["Permutation"]; }
     43    public ILookupParameter<Permutation> PermutationParameter {
     44      get { return (ILookupParameter<Permutation>)Parameters["Permutation"]; }
    4545    }
    4646
Note: See TracChangeset for help on using the changeset viewer.