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/Expressions/VectorLengthExpressions.cs

    r15017 r15032  
    2828
    2929  [StorableClass]
    30   [PushExpression(StackTypes.IntegerVector, "INTEGER[].LENGTH", StackTypes.Integer)]
     30  [PushExpression(
     31    StackTypes.IntegerVector,
     32    "INTEGER[].LENGTH",
     33    "Pushes the length of the top INTEGER[] on the INTEGER stack",
     34    StackTypes.Integer)]
    3135  public class IntegerVectorLengthExpression : VectorLengthExpression<long> {
    3236    public IntegerVectorLengthExpression() { }
     
    4448
    4549  [StorableClass]
    46   [PushExpression(StackTypes.FloatVector, "FLOAT[].LENGTH", StackTypes.Integer)]
     50  [PushExpression(
     51    StackTypes.FloatVector,
     52    "FLOAT[].LENGTH",
     53    "Pushes the length of the top FLOAT[] on the INTEGER stack",
     54    StackTypes.Integer)]
    4755  public class FloatVectorLengthExpression : VectorLengthExpression<double> {
    4856    public FloatVectorLengthExpression() { }
     
    6068
    6169  [StorableClass]
    62   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].LENGTH", StackTypes.Integer)]
     70  [PushExpression(
     71    StackTypes.BooleanVector,
     72    "BOOLEAN[].LENGTH",
     73    "Pushes the length of the top BOOLEAN[] on the INTEGER stack",
     74    StackTypes.Integer)]
    6375  public class BooleanVectorLengthExpression : VectorLengthExpression<bool> {
    6476    public BooleanVectorLengthExpression() { }
     
    7688
    7789  [StorableClass]
    78   [PushExpression(StackTypes.StringVector, "STRING[].LENGTH", StackTypes.Integer)]
     90  [PushExpression(
     91    StackTypes.StringVector,
     92    "STRING[].LENGTH",
     93    "Pushes the length of the top STRING[] on the INTEGER stack",
     94    StackTypes.Integer)]
    7995  public class StringVectorLengthExpression : VectorLengthExpression<string> {
    8096    public StringVectorLengthExpression() { }
Note: See TracChangeset for help on using the changeset viewer.