- Timestamp:
- 01/17/18 13:25:45 (7 years ago)
- 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 65 65 protected BasicProblem() 66 66 : 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); 68 72 oldEncoding = Encoding; 69 73 if(Encoding != null) Parameterize(); -
branches/ContextAlgorithms/HeuristicLab.Optimization/3.3/BasicProblems/Encoding.cs
r15583 r15624 92 92 protected Encoding(string name) 93 93 : 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); 95 98 } 96 99
Note: See TracChangeset
for help on using the changeset viewer.