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

    r15017 r15032  
    3030
    3131  [StorableClass]
    32   [PushExpression(StackTypes.Integer, "INTEGER.STACKDEPTH")]
     32  [PushExpression(
     33    StackTypes.Integer,
     34    "INTEGER.STACKDEPTH",
     35    "Pushes the stack depth onto the INTEGER stack.")]
    3336  public class IntegerStackdepthExpression : StackdepthExpression<long> {
    3437    public IntegerStackdepthExpression() { }
     
    4245
    4346  [StorableClass]
    44   [PushExpression(StackTypes.Float, "FLOAT.STACKDEPTH", StackTypes.Integer)]
     47  [PushExpression(
     48    StackTypes.Float,
     49    "FLOAT.STACKDEPTH",
     50    "Pushes the stack depth onto the INTEGER stack.",
     51    StackTypes.Integer)]
    4552  public class FloatStackdepthExpression : StackdepthExpression<double> {
    4653    public FloatStackdepthExpression() { }
     
    5461
    5562  [StorableClass]
    56   [PushExpression(StackTypes.Boolean, "BOOLEAN.STACKDEPTH", StackTypes.Integer)]
     63  [PushExpression(
     64    StackTypes.Boolean,
     65    "BOOLEAN.STACKDEPTH",
     66    "Pushes the stack depth onto the INTEGER stack.",
     67    StackTypes.Integer)]
    5768  public class BooleanStackdepthExpression : StackdepthExpression<bool> {
    5869    public BooleanStackdepthExpression() { }
     
    6677
    6778  [StorableClass]
    68   [PushExpression(StackTypes.Name, "NAME.STACKDEPTH", StackTypes.Integer)]
     79  [PushExpression(
     80    StackTypes.Name,
     81    "NAME.STACKDEPTH",
     82    "Pushes the stack depth onto the INTEGER stack.",
     83    StackTypes.Integer)]
    6984  public class NameStackdepthExpression : StackdepthExpression<string> {
    7085    public NameStackdepthExpression() { }
     
    7893
    7994  [StorableClass]
    80   [PushExpression(StackTypes.Exec, "EXEC.STACKDEPTH", StackTypes.Integer)]
     95  [PushExpression(
     96    StackTypes.Exec,
     97    "EXEC.STACKDEPTH",
     98    "Pushes the stack depth onto the INTEGER stack.",
     99    StackTypes.Integer)]
    81100  public class ExecStackdepthExpression : StackdepthExpression<Expression> {
    82101    public ExecStackdepthExpression() { }
     
    90109
    91110  [StorableClass]
    92   [PushExpression(StackTypes.Code, "CODE.STACKDEPTH", StackTypes.Integer)]
     111  [PushExpression(
     112    StackTypes.Code,
     113    "CODE.STACKDEPTH",
     114    "Pushes the stack depth onto the INTEGER stack.",
     115    StackTypes.Integer)]
    93116  public class CodeStackdepthExpression : StackdepthExpression<Expression> {
    94117    public CodeStackdepthExpression() { }
     
    102125
    103126  [StorableClass]
    104   [PushExpression(StackTypes.Char, "CHAR.STACKDEPTH", StackTypes.Integer)]
     127  [PushExpression(
     128    StackTypes.Char,
     129    "CHAR.STACKDEPTH",
     130    "Pushes the stack depth onto the INTEGER stack.",
     131    StackTypes.Integer)]
    105132  public class CharStackdepthExpression : StackdepthExpression<char> {
    106133    public CharStackdepthExpression() { }
     
    114141
    115142  [StorableClass]
    116   [PushExpression(StackTypes.String, "STRING.STACKDEPTH", StackTypes.Integer)]
     143  [PushExpression(
     144    StackTypes.String,
     145    "STRING.STACKDEPTH",
     146    "Pushes the stack depth onto the INTEGER stack.",
     147    StackTypes.Integer)]
    117148  public class StringStackdepthExpression : StackdepthExpression<string> {
    118149    public StringStackdepthExpression() { }
     
    126157
    127158  [StorableClass]
    128   [PushExpression(StackTypes.IntegerVector, "INTEGER[].STACKDEPTH", StackTypes.Integer)]
     159  [PushExpression(
     160    StackTypes.IntegerVector,
     161    "INTEGER[].STACKDEPTH",
     162    "Pushes the stack depth onto the INTEGER stack.",
     163    StackTypes.Integer)]
    129164  public class IntegerVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<long>> {
    130165    public IntegerVectorStackdepthExpression() { }
     
    138173
    139174  [StorableClass]
    140   [PushExpression(StackTypes.FloatVector, "FLOAT[].STACKDEPTH", StackTypes.Integer)]
     175  [PushExpression(
     176    StackTypes.FloatVector,
     177    "FLOAT[].STACKDEPTH",
     178    "Pushes the stack depth onto the INTEGER stack.",
     179    StackTypes.Integer)]
    141180  public class FloatVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<double>> {
    142181    public FloatVectorStackdepthExpression() { }
     
    149188
    150189  [StorableClass]
    151   [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].STACKDEPTH", StackTypes.Integer)]
     190  [PushExpression(
     191    StackTypes.BooleanVector,
     192    "BOOLEAN[].STACKDEPTH",
     193    "Pushes the stack depth onto the INTEGER stack.",
     194    StackTypes.Integer)]
    152195  public class BooleanVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<bool>> {
    153196    public BooleanVectorStackdepthExpression() { }
     
    161204
    162205  [StorableClass]
    163   [PushExpression(StackTypes.StringVector, "STRING[].STACKDEPTH", StackTypes.Integer)]
     206  [PushExpression(
     207    StackTypes.StringVector,
     208    "STRING[].STACKDEPTH",
     209    "Pushes the stack depth onto the INTEGER stack.",
     210    StackTypes.Integer)]
    164211  public class StringVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<string>> {
    165212    public StringVectorStackdepthExpression() { }
Note: See TracChangeset for help on using the changeset viewer.