Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/28/20 18:03:00 (4 years ago)
Author:
mkommend
Message:

#2521: Changed parameters to use readonly only for GUI manipulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs

    r17567 r17571  
    103103      bounds[0, 1] = max;
    104104
    105       lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
    106       boundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds);
     105      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length)) { ReadOnly = true };
     106      boundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds) { ReadOnly = true };
    107107      Parameters.Add(lengthParameter);
    108108      Parameters.Add(boundsParameter);
Note: See TracChangeset for help on using the changeset viewer.