Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13190 for stable


Ignore:
Timestamp:
11/16/15 21:27:10 (9 years ago)
Author:
abeham
Message:

#2451: merged r12837 to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorEncoding.cs

    r12009 r13190  
    130130      }
    131131
    132       LengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
    133       BoundsParameter = new ValueParameter<IntMatrix>(Name + ".Bounds", bounds);
     132      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
     133      boundsParameter = new ValueParameter<IntMatrix>(Name + ".Bounds", bounds);
     134      Parameters.Add(lengthParameter);
     135      Parameters.Add(boundsParameter);
    134136
    135137      SolutionCreator = new UniformRandomIntegerVectorCreator();
  • stable/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs

    r12009 r13190  
    124124        bounds[i, 1] = max[i];
    125125      }
    126       LengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
    127       BoundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds);
     126      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
     127      boundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds);
     128      Parameters.Add(lengthParameter);
     129      Parameters.Add(boundsParameter);
    128130
    129131      SolutionCreator = new UniformRandomRealVectorCreator();
Note: See TracChangeset for help on using the changeset viewer.