Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/17 14:11:43 (7 years ago)
Author:
pkimmesw
Message:

#2665 Fixed bias 0 issue, PushExpressionFrequencyAnalyzer, Fixed probability for ERC settings, Fixed enable/disable instructions, Added expression descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Problem/BenchmarkSuite/BenchmarkSuitePushSolutionView.cs

    r15017 r15032  
    120120          AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill,
    121121          CellTemplate = cellTemplate,
    122           DefaultCellStyle = { Alignment = DataGridViewContentAlignment.MiddleRight }
     122          DefaultCellStyle = { Alignment = DataGridViewContentAlignment.MiddleRight },
     123          SortMode = DataGridViewColumnSortMode.Automatic
    123124        };
    124125
     
    133134          AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill,
    134135          CellTemplate = cellTemplate,
     136          SortMode = DataGridViewColumnSortMode.Automatic
    135137        };
    136138
     
    138140          HeaderText = string.Format(OutputHeaderStringFormat, i + 1, headerTypeName),
    139141          AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill,
    140           CellTemplate = cellTemplate
     142          CellTemplate = cellTemplate,
     143          SortMode = DataGridViewColumnSortMode.Automatic
    141144        };
    142145
     
    151154        HeaderText = AbsoluteDiffHeaderText,
    152155        AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader,
    153         CellTemplate = cellTemplate
     156        CellTemplate = cellTemplate,
     157        SortMode = DataGridViewColumnSortMode.Automatic
    154158      };
    155159
     
    158162        AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader,
    159163        CellTemplate = cellTemplate,
     164        SortMode = DataGridViewColumnSortMode.Automatic
    160165      };
    161166
     
    185190            var type = data.InputArgumentTypes[j];
    186191            var offset = inputArgumentCountDict[type];
    187             row.Cells[j].Value = ViewHelper.StringifyInput(type, offset, example, Separator);
     192            row.Cells[j].Value = ViewHelper.StringifyInput(type, offset, Content.Config.FloatStringFormat, example, Separator);
    188193            inputArgumentCountDict[type]++;
    189194          }
     
    193198            var type = data.OutputArgumentTypes[j];
    194199            var offset = outputArgumentCountDict[type];
    195             row.Cells[data.InputArgumentTypes.Length + j * 2].Value = ViewHelper.StringifyOutput(type, offset, example, Separator);
     200            row.Cells[data.InputArgumentTypes.Length + j * 2].Value = ViewHelper.StringifyOutput(type, offset, Content.Config.FloatStringFormat, example, Separator);
    196201            row.Cells[data.InputArgumentTypes.Length + j * 2 + 1].Value = StringifyResult(type, offset, pushInterpreter, example, Separator);
    197202            outputArgumentCountDict[type]++;
Note: See TracChangeset for help on using the changeset viewer.