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/RotateExpressions.cs

    r15017 r15032  
    2020
    2121
    22   [PushExpression(StackTypes.Integer, "INTEGER.ROT")]
     22  [PushExpression(
     23    StackTypes.Integer,
     24    "INTEGER.ROT",
     25    "Rotates the top 3 items of the INTEGER stack clockwise.")]
    2326  [StorableClass]
    2427  public class IntegerRotateExpression : RotateExpression<long> {
     
    3639  }
    3740
    38   [PushExpression(StackTypes.Float, "FLOAT.ROT")]
     41  [PushExpression(
     42    StackTypes.Float,
     43    "FLOAT.ROT",
     44    "Rotates the top 3 items of the FLOAT stack clockwise.")]
    3945  [StorableClass]
    4046  public class FloatRotateExpression : RotateExpression<double> {
     
    5258  }
    5359
    54   [PushExpression(StackTypes.Boolean, "BOOLEAN.ROT")]
     60  [PushExpression(
     61    StackTypes.Boolean,
     62    "BOOLEAN.ROT",
     63    "Rotates the top 3 items of the BOOLEAN stack clockwise.")]
    5564  [StorableClass]
    5665  public class BooleanRotateExpression : RotateExpression<bool> {
     
    6877  }
    6978
    70   [PushExpression(StackTypes.Name, "NAME.ROT")]
     79  [PushExpression(
     80    StackTypes.Name,
     81    "NAME.ROT",
     82    "Rotates the top 3 items of the NAME stack clockwise.")]
    7183  [StorableClass]
    7284  public class NameRotateExpression : RotateExpression<string> {
     
    8496  }
    8597
    86   [PushExpression(StackTypes.Exec, "EXEC.ROT", execIn: 3)]
     98  [PushExpression(
     99    StackTypes.Exec,
     100    "EXEC.ROT",
     101    "Rotates the top 3 items of the EXEC stack clockwise.",
     102    execIn: 3)]
    87103  [StorableClass]
    88104  public class ExecRotateExpression : RotateExpression<Expression> {
     
    100116  }
    101117
    102   [PushExpression(StackTypes.Code, "CODE.ROT")]
     118  [PushExpression(
     119    StackTypes.Code,
     120    "CODE.ROT",
     121    "Rotates the top 3 items of the CODE stack clockwise.")]
    103122  [StorableClass]
    104123  public class CodeRotateExpression : RotateExpression<Expression> {
     
    116135  }
    117136
    118   [PushExpression(StackTypes.Char, "CHAR.ROT")]
     137  [PushExpression(
     138    StackTypes.Char,
     139    "CHAR.ROT",
     140    "Rotates the top 3 items of the CHAR stack clockwise.")]
    119141  [StorableClass]
    120142  public class CharRotateExpression : RotateExpression<char> {
     
    132154  }
    133155
    134   [PushExpression(StackTypes.String, "STRING.ROT")]
     156  [PushExpression(
     157    StackTypes.String,
     158    "STRING.ROT",
     159    "Rotates the top 3 items of the STRING stack clockwise.")]
    135160  [StorableClass]
    136161  public class StringRotateExpression : RotateExpression<string> {
     
    148173  }
    149174
    150   [PushExpression(StackTypes.IntegerVector, "INTEGER[].ROT")]
     175  [PushExpression(
     176    StackTypes.IntegerVector,
     177    "INTEGER[].ROT",
     178    "Rotates the top 3 items of the INTEGER[] stack clockwise.")]
    151179  [StorableClass]
    152180  public class IntegerVectorRotateExpression : RotateExpression<IReadOnlyList<long>> {
     
    164192  }
    165193
    166   [PushExpression(StackTypes.FloatVector, "FLOAT[].ROT")]
     194  [PushExpression(
     195    StackTypes.FloatVector,
     196    "FLOAT[].ROT",
     197    "Rotates the top 3 items of the FLOAT[] stack clockwise.")]
    167198  [StorableClass]
    168199  public class FloatVectorRotateExpression : RotateExpression<IReadOnlyList<double>> {
     
    180211  }
    181212
    182   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].ROT")]
     213  [PushExpression(
     214    StackTypes.BooleanVector,
     215    "BOOLEAN[].ROT",
     216    "Rotates the top 3 items of the BOOLEAN[] stack clockwise.")]
    183217  [StorableClass]
    184218  public class BooleanVectorRotateExpression : RotateExpression<IReadOnlyList<bool>> {
     
    196230  }
    197231
    198   [PushExpression(StackTypes.StringVector, "STRING[].ROT")]
     232  [PushExpression(
     233    StackTypes.StringVector,
     234    "STRING[].ROT",
     235    "Rotates the top 3 items of the STRING[] stack clockwise.")]
    199236  [StorableClass]
    200237  public class StringVectorRotateExpression : RotateExpression<IReadOnlyList<string>> {
Note: See TracChangeset for help on using the changeset viewer.