Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/10 14:16:23 (15 years ago)
Author:
swagner
Message:

Set name changing capabilities of operators (#893)

Location:
trunk/sources/HeuristicLab.Encodings.Permutation/3.3
Files:
3 edited

Legend:

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

    r3017 r3034  
    3535  [Creatable("Test")]
    3636  public sealed class RandomPermutationCreator : SingleSuccessorOperator, IPermutationCreator, IStochasticOperator {
     37    public override bool CanChangeName {
     38      get { return false; }
     39    }
     40
    3741    public ILookupParameter<IRandom> RandomParameter {
    3842      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/PermutationCrossover.cs

    r3017 r3034  
    3333  [StorableClass]
    3434  public abstract class PermutationCrossover : SingleSuccessorOperator, IPermutationCrossover, IStochasticOperator {
     35    public override bool CanChangeName {
     36      get { return false; }
     37    }
     38
    3539    public ILookupParameter<IRandom> RandomParameter {
    3640      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/PermutationManipulator.cs

    r3017 r3034  
    3333  [StorableClass]
    3434  public abstract class PermutationManipulator : SingleSuccessorOperator, IPermutationManipulator, IStochasticOperator {
     35    public override bool CanChangeName {
     36      get { return false; }
     37    }
     38
    3539    public ILookupParameter<IRandom> RandomParameter {
    3640      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
Note: See TracChangeset for help on using the changeset viewer.