Changeset 12421


Ignore:
Timestamp:
06/10/15 10:52:27 (5 years ago)
Author:
mkommend
Message:

#2320: Hid wired lookup parameters in SymbolicExpressionTreeEncoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeEncoding.cs

    r12334 r12421  
    303303      foreach (var sizeConstraintOperator in sizeConstraintOperators) {
    304304        sizeConstraintOperator.MaximumSymbolicExpressionTreeLengthParameter.ActualName = TreeLengthParameter.Name;
     305        sizeConstraintOperator.MaximumSymbolicExpressionTreeLengthParameter.Hidden = true;
    305306        sizeConstraintOperator.MaximumSymbolicExpressionTreeDepthParameter.ActualName = TreeDepthParameter.Name;
     307        sizeConstraintOperator.MaximumSymbolicExpressionTreeDepthParameter.Hidden = true;
    306308      }
    307309    }
     
    310312      foreach (var grammarBasedOperator in grammarBasedOperators) {
    311313        grammarBasedOperator.SymbolicExpressionTreeGrammarParameter.ActualName = GrammarParameter.Name;
     314        grammarBasedOperator.SymbolicExpressionTreeGrammarParameter.Hidden = true;
    312315      }
    313316    }
     
    316319      foreach (var architectureAlteringOperator in architectureAlteringOperators) {
    317320        architectureAlteringOperator.MaximumFunctionDefinitionsParameter.ActualName = FunctionDefinitionsParameter.Name;
     321        architectureAlteringOperator.MaximumFunctionDefinitionsParameter.Hidden = true;
    318322        architectureAlteringOperator.MaximumFunctionArgumentsParameter.ActualName = FunctionArgumentsParameter.Name;
     323        architectureAlteringOperator.MaximumFunctionArgumentsParameter.Hidden = true;
    319324      }
    320325
     
    324329      foreach (var analyzer in analyzers) {
    325330        analyzer.SymbolicExpressionTreeParameter.ActualName = Name;
     331        analyzer.SymbolicExpressionTreeParameter.Hidden = true;
    326332      }
    327333      foreach (var analyzer in analyzers.OfType<SymbolicExpressionTreeLengthAnalyzer>()) {
    328334        analyzer.MaximumSymbolicExpressionTreeLengthParameter.ActualName = TreeLengthParameter.Name;
     335        analyzer.MaximumSymbolicExpressionTreeLengthParameter.Hidden = true;
    329336      }
    330337    }
     
    338345      foreach (var crossover in crossovers) {
    339346        crossover.ParentsParameter.ActualName = Name;
     347        crossover.ParentsParameter.Hidden = true;
    340348      }
    341349    }
Note: See TracChangeset for help on using the changeset viewer.