Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/21/17 11:33:53 (7 years ago)
Author:
pkimmesw
Message:

#2665 Testet Problems, Testet error functions, Small fixes, Created HL files

Location:
branches/PushGP/HeuristicLab.PushGP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP

    • Property svn:ignore
      •  

        old new  
        11*.user
         2packages
         3TestResults
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Individual/InduvidualMapper.cs

    r15273 r15334  
    4747        var expressionType = expression.GetType();
    4848
    49         if (config.ParenthesesCloseBiasLevel > 0) {
    50           close += random.NextBiased(0, config.MaxParenthesesClose, config.ParenthesesCloseBiasLevel);
     49        if (config.CloseBiasLevel > 0) {
     50          close += random.NextBiased(0, config.MaxClose, config.CloseBiasLevel);
    5151
    5252          // check if expression requires additional blocks
     
    5454            var attr = ExpressionTable.TypeToAttributeTable[expressionType];
    5555
    56             for (var blockIdx = 0u; blockIdx < attr.ExecIn && currentIndex < vector.Length; blockIdx++) {
     56            for (var blockIdx = 0u; blockIdx < attr.RequiredBlockCount && currentIndex < vector.Length; blockIdx++) {
    5757              if (close != 0) {
    5858                close--;
Note: See TracChangeset for help on using the changeset viewer.