Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/27/14 10:41:15 (9 years ago)
Author:
mkommend
Message:

#2174: Fixed addition of parameters in the encodings and set default values for encoding operators in MultiEncodingOperator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/BinaryEncoding.cs

    r11588 r11593  
    7272    public BinaryEncoding(string name, int length)
    7373      : base(name) {
    74       LengthParameter = new FixedValueParameter<IntValue>(Name + "Length", new IntValue(length));
     74      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
     75      Parameters.Add(lengthParameter);
     76
    7577      SolutionCreator = new RandomBinaryVectorCreator();
    7678      RegisterParameterEvents();
Note: See TracChangeset for help on using the changeset viewer.