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

    r15017 r15032  
    99
    1010  /// <summary>
    11   ///     Empties the given stack.
     11  /// Empties the given stack.
    1212  /// </summary>
    1313  /// <typeparam name="T">Stacktype</typeparam>
     
    2323  }
    2424
    25   [PushExpression(StackTypes.Integer, "INTEGER.FLUSH")]
     25  [PushExpression(
     26    StackTypes.Integer,
     27    "INTEGER.FLUSH",
     28    "Empties the INTEGER stack.")]
    2629  [StorableClass]
    2730  public class IntegerFlushExpression : FlushExpression<long> {
     
    3942  }
    4043
    41   [PushExpression(StackTypes.Float, "FLOAT.FLUSH")]
     44  [PushExpression(
     45    StackTypes.Float,
     46    "FLOAT.FLUSH",
     47    "Empties the FLOAT stack.")]
    4248  [StorableClass]
    4349  public class FloatFlushExpression : FlushExpression<double> {
     
    5561  }
    5662
    57   [PushExpression(StackTypes.Boolean, "BOOLEAN.FLUSH")]
     63  [PushExpression(
     64    StackTypes.Boolean,
     65    "BOOLEAN.FLUSH",
     66    "Empties the BOOLEAN stack.")]
    5867  [StorableClass]
    5968  public class BooleanFlushExpression : FlushExpression<bool> {
     
    7180  }
    7281
    73   [PushExpression(StackTypes.Name, "NAME.FLUSH")]
     82  [PushExpression(
     83    StackTypes.Name,
     84    "NAME.FLUSH",
     85    "Empties the NAME stack.")]
    7486  [StorableClass]
    7587  public class NameFlushExpression : FlushExpression<string> {
     
    8799  }
    88100
    89   [PushExpression(StackTypes.Exec, "EXEC.FLUSH")]
     101  [PushExpression(
     102    StackTypes.Exec,
     103    "EXEC.FLUSH",
     104    "Empties the EXEC stack.")]
    90105  [StorableClass]
    91106  public class ExecFlushExpression : FlushExpression<Expression> {
     
    103118  }
    104119
    105   [PushExpression(StackTypes.Code, "CODE.FLUSH")]
     120  [PushExpression(
     121    StackTypes.Code,
     122    "CODE.FLUSH",
     123    "Empties the CODE stack.")]
    106124  [StorableClass]
    107125  public class CodeFlushExpression : FlushExpression<Expression> {
     
    119137  }
    120138
    121   [PushExpression(StackTypes.Char, "CHAR.FLUSH")]
     139  [PushExpression(
     140    StackTypes.Char,
     141    "CHAR.FLUSH",
     142    "Empties the CHAR stack.")]
    122143  [StorableClass]
    123144  public class CharFlushExpression : FlushExpression<char> {
     
    135156  }
    136157
    137   [PushExpression(StackTypes.String, "STRING.FLUSH")]
     158  [PushExpression(
     159    StackTypes.String,
     160    "STRING.FLUSH",
     161    "Empties the STRING stack.")]
    138162  [StorableClass]
    139163  public class StringFlushExpression : FlushExpression<string> {
     
    151175  }
    152176
    153   [PushExpression(StackTypes.IntegerVector, "INTEGER[].FLUSH")]
     177  [PushExpression(
     178    StackTypes.IntegerVector,
     179    "INTEGER[].FLUSH",
     180    "Empties the INTEGER[] stack.")]
    154181  [StorableClass]
    155182  public class IntegerVectorFlushExpression : FlushExpression<IReadOnlyList<long>> {
     
    167194  }
    168195
    169   [PushExpression(StackTypes.FloatVector, "FLOAT[].FLUSH")]
     196  [PushExpression(
     197    StackTypes.FloatVector,
     198    "FLOAT[].FLUSH",
     199    "Empties the FLOAT[] stack.")]
    170200  [StorableClass]
    171201  public class FloatVectorFlushExpression : FlushExpression<IReadOnlyList<double>> {
     
    183213  }
    184214
    185   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].FLUSH")]
     215  [PushExpression(
     216    StackTypes.BooleanVector,
     217    "BOOLEAN[].FLUSH",
     218    "Empties the BOOLEAN[] stack.")]
    186219  [StorableClass]
    187220  public class BooleanVectorFlushExpression : FlushExpression<IReadOnlyList<bool>> {
     
    199232  }
    200233
    201   [PushExpression(StackTypes.StringVector, "STRING[].FLUSH")]
     234  [PushExpression(
     235    StackTypes.StringVector,
     236    "STRING[].FLUSH",
     237    "Empties the STRING[] stack.")]
    202238  [StorableClass]
    203239  public class StringVectorFlushExpression : FlushExpression<IReadOnlyList<string>> {
Note: See TracChangeset for help on using the changeset viewer.