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

    r15017 r15032  
    2323  }
    2424
    25   [PushExpression(StackTypes.Integer, "INTEGER.SHOVE")]
     25  [PushExpression(
     26    StackTypes.Integer,
     27    "INTEGER.SHOVE",
     28    "Moves the top INTEGER item to a specific stack index, whereby the index is taken from the INTEGER stack.")]
    2629  [StorableClass]
    2730  public class IntegerShoveExpression : ShoveExpression<long> {
     
    3942  }
    4043
    41   [PushExpression(StackTypes.Float, "FLOAT.SHOVE", StackTypes.Integer)]
     44  [PushExpression(
     45    StackTypes.Float,
     46    "FLOAT.SHOVE",
     47    "Moves the top FLOAT item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     48    StackTypes.Integer)]
    4249  [StorableClass]
    4350  public class FloatShoveExpression : ShoveExpression<double> {
     
    5562  }
    5663
    57   [PushExpression(StackTypes.Boolean, "BOOLEAN.SHOVE", StackTypes.Integer)]
     64  [PushExpression(
     65    StackTypes.Boolean,
     66    "BOOLEAN.SHOVE",
     67    "Moves the top BOOLEAN item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     68    StackTypes.Integer)]
    5869  [StorableClass]
    5970  public class BooleanShoveExpression : ShoveExpression<bool> {
     
    7182  }
    7283
    73   [PushExpression(StackTypes.Name, "NAME.SHOVE", StackTypes.Integer)]
     84  [PushExpression(
     85    StackTypes.Name,
     86    "NAME.SHOVE",
     87    "Moves the top NAME item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     88    StackTypes.Integer)]
    7489  [StorableClass]
    7590  public class NameShoveExpression : ShoveExpression<string> {
     
    87102  }
    88103
    89   [PushExpression(StackTypes.Exec, "EXEC.SHOVE", StackTypes.Integer, execIn: 1)]
     104  [PushExpression(
     105    StackTypes.Exec,
     106    "EXEC.SHOVE",
     107    "Moves the top EXEC item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     108    StackTypes.Integer,
     109    execIn: 1)]
    90110  [StorableClass]
    91111  public class ExecShoveExpression : ShoveExpression<Expression> {
     
    103123  }
    104124
    105   [PushExpression(StackTypes.Code, "CODE.SHOVE", StackTypes.Integer)]
     125  [PushExpression(
     126    StackTypes.Code,
     127    "CODE.SHOVE",
     128    "Moves the top CODE item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     129    StackTypes.Integer)]
    106130  [StorableClass]
    107131  public class CodeShoveExpression : ShoveExpression<Expression> {
     
    119143  }
    120144
    121   [PushExpression(StackTypes.Char, "CHAR.SHOVE", StackTypes.Integer)]
     145  [PushExpression(
     146    StackTypes.Char,
     147    "CHAR.SHOVE",
     148    "Moves the top CHAR item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     149    StackTypes.Integer)]
    122150  [StorableClass]
    123151  public class CharShoveExpression : ShoveExpression<char> {
     
    135163  }
    136164
    137   [PushExpression(StackTypes.String, "STRING.SHOVE", StackTypes.Integer)]
     165  [PushExpression(
     166    StackTypes.String,
     167    "STRING.SHOVE",
     168    "Moves the top STRING item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     169    StackTypes.Integer)]
    138170  [StorableClass]
    139171  public class StringShoveExpression : ShoveExpression<string> {
     
    151183  }
    152184
    153   [PushExpression(StackTypes.IntegerVector, "INTEGER[].SHOVE", StackTypes.Integer)]
     185  [PushExpression(
     186    StackTypes.IntegerVector,
     187    "INTEGER[].SHOVE",
     188    "Moves the top INTEGER[] item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     189    StackTypes.Integer)]
    154190  [StorableClass]
    155191  public class IntegerVectorShoveExpression : ShoveExpression<IReadOnlyList<long>> {
     
    167203  }
    168204
    169   [PushExpression(StackTypes.FloatVector, "FLOAT[].SHOVE", StackTypes.Integer)]
     205  [PushExpression(
     206    StackTypes.FloatVector,
     207    "FLOAT[].SHOVE",
     208    "Moves the top FLOAT[] item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     209    StackTypes.Integer)]
    170210  [StorableClass]
    171211  public class FloatVectorShoveExpression : ShoveExpression<IReadOnlyList<double>> {
     
    183223  }
    184224
    185   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].SHOVE", StackTypes.Integer)]
     225  [PushExpression(
     226    StackTypes.BooleanVector,
     227    "BOOLEAN[].SHOVE",
     228    "Moves the top BOOLEAN[] item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     229    StackTypes.Integer)]
    186230  [StorableClass]
    187231  public class BooleanVectorShoveExpression : ShoveExpression<IReadOnlyList<bool>> {
     
    199243  }
    200244
    201   [PushExpression(StackTypes.StringVector, "STRING[].SHOVE", StackTypes.Integer)]
     245  [PushExpression(
     246    StackTypes.StringVector,
     247    "STRING[].SHOVE",
     248    "Moves the top STRING[] item to a specific stack index, whereby the index is taken from the INTEGER stack.",
     249    StackTypes.Integer)]
    202250  [StorableClass]
    203251  public class StringVectorShoveExpression : ShoveExpression<IReadOnlyList<string>> {
Note: See TracChangeset for help on using the changeset viewer.