Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/17/18 13:25:45 (7 years ago)
Author:
abeham
Message:

#2645: created branch

Location:
branches/ContextAlgorithms
Files:
1 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/ContextAlgorithms/HeuristicLab.Optimization/3.3/BasicProblems/BasicProblem.cs

    r15583 r15624  
    6565    protected BasicProblem()
    6666      : base() {
    67       Parameters.Add(new ValueParameter<TEncoding>("Encoding", "Describes the configuration of the encoding, what the variables are called, what type they are and their bounds if any."));
     67      var encodingParameter = new ValueParameter<TEncoding>("Encoding", "Describes the configuration of the encoding, what the variables are called, what type they are and their bounds if any.");
     68      // ABE: disable showing the encoding itself in the run by default as it wastes a lot of space
     69      //      note that parameters of the encoding might still show up in the run
     70      encodingParameter.GetsCollected = false;
     71      Parameters.Add(encodingParameter);
    6872      oldEncoding = Encoding;
    6973      if(Encoding != null) Parameterize();
  • branches/ContextAlgorithms/HeuristicLab.Optimization/3.3/BasicProblems/Encoding.cs

    r15583 r15624  
    9292    protected Encoding(string name)
    9393      : base(name) {
    94       Parameters.Add(new FixedValueParameter<ReadOnlyItemSet<IOperator>>(name + ".Operators", "The operators that the encoding specifies.", encodingOperators.AsReadOnly()));
     94      var operatorsParam = new FixedValueParameter<ReadOnlyItemSet<IOperator>>(name + ".Operators", "The operators that the encoding specifies.", encodingOperators.AsReadOnly());
     95      // ABE: disable showing the operator collection in the run by default as it wastes a lot of space
     96      operatorsParam.GetsCollected = false;
     97      Parameters.Add(operatorsParam);
    9598    }
    9699
Note: See TracChangeset for help on using the changeset viewer.