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

    r15017 r15032  
    1010
    1111  [StorableClass]
    12   [PushExpression(StackTypes.Print, "PRINT.NEWLINE")]
     12  [PushExpression(StackTypes.Print, "PRINT.NEWLINE", "Pushes an empty string onto the PRINT STACK.")]
    1313  public class PrintNewLineExpression : StatelessExpression {
    1414    public PrintNewLineExpression() { }
     
    6363
    6464  [StorableClass]
    65   [PushExpression(StackTypes.Print, "PRINT.PRINTBOOLEAN", StackTypes.Boolean)]
     65  [PushExpression(
     66    StackTypes.Print,
     67    "PRINT.PRINTBOOLEAN",
     68    "Pushes the top BOOLEAN onto the PRINT stack.",
     69    StackTypes.Boolean)]
    6670  public class BooleanPrintExpression : PrintExpression<bool> {
    6771    public BooleanPrintExpression() { }
     
    7983
    8084  [StorableClass]
    81   [PushExpression(StackTypes.Print, "PRINT.PRINTCHAR", StackTypes.Char)]
     85  [PushExpression(
     86    StackTypes.Print,
     87    "PRINT.PRINTCHAR",
     88    "Pushes the top CHAR onto the PRINT stack.",
     89    StackTypes.Char)]
    8290  public class CharPrintExpression : PrintExpression<char> {
    8391    public CharPrintExpression() { }
     
    95103
    96104  [StorableClass]
    97   [PushExpression(StackTypes.Print, "PRINT.PRINTEXEC", StackTypes.Exec, execIn: 1)]
     105  [PushExpression(
     106    StackTypes.Print,
     107    "PRINT.PRINTEXEC",
     108    "Pushes the top BOOLEAN onto the EXEC stack.",
     109    StackTypes.Exec,
     110    execIn: 1)]
    98111  public class ExecPrintExpression : PrintExpression<Expression> {
    99112    public ExecPrintExpression() { }
     
    111124
    112125  [StorableClass]
    113   [PushExpression(StackTypes.Print, "PRINT.PRINTFLOAT", StackTypes.Float)]
     126  [PushExpression(
     127    StackTypes.Print,
     128    "PRINT.PRINTFLOAT",
     129    "Pushes the top FLOAT onto the PRINT stack.",
     130    StackTypes.Float)]
    114131  public class FloatPrintExpression : PrintExpression<double> {
    115132    public FloatPrintExpression() { }
     
    133150
    134151  [StorableClass]
    135   [PushExpression(StackTypes.Print, "PRINT.PRINTINTEGER", StackTypes.Integer)]
     152  [PushExpression(
     153    StackTypes.Print,
     154    "PRINT.PRINTINTEGER",
     155    "Pushes the top INTEGER onto the PRINT stack.",
     156    StackTypes.Integer)]
    136157  public class IntegerPrintExpression : PrintExpression<long> {
    137158    public IntegerPrintExpression() { }
     
    149170
    150171  [StorableClass]
    151   [PushExpression(StackTypes.Print, "PRINT.PRINTSTRING", StackTypes.String)]
     172  [PushExpression(
     173    StackTypes.Print,
     174    "PRINT.PRINTSTRING",
     175    "Pushes the top STRING onto the PRINT stack.",
     176    StackTypes.String)]
    152177  public class StringPrintExpression : PrintExpression<string> {
    153178    public StringPrintExpression() { }
     
    165190
    166191  [StorableClass]
    167   [PushExpression(StackTypes.Print, "PRINT.PRINTINTEGERVECTOR", StackTypes.IntegerVector)]
     192  [PushExpression(
     193    StackTypes.Print,
     194    "PRINT.PRINTINTEGERVECTOR",
     195    "Pushes the top INTEGER[] onto the PRINT stack.",
     196    StackTypes.IntegerVector)]
    168197  public class IntegerVectorPrintExpression : PrintExpression<long> {
    169198    public IntegerVectorPrintExpression() { }
     
    181210
    182211  [StorableClass]
    183   [PushExpression(StackTypes.Print, "PRINT.PRINTFLOATVECTOR", StackTypes.FloatVector)]
     212  [PushExpression(
     213    StackTypes.Print,
     214    "PRINT.PRINTFLOATVECTOR",
     215    "Pushes the top FLOAT[] onto the PRINT stack.",
     216    StackTypes.FloatVector)]
    184217  public class FloatVectorPrintExpression : PrintExpression<double> {
    185218    public FloatVectorPrintExpression() { }
     
    197230
    198231  [StorableClass]
    199   [PushExpression(StackTypes.Print, "PRINT.PRINTSTRINGVECTOR", StackTypes.StringVector)]
     232  [PushExpression(
     233    StackTypes.Print,
     234    "PRINT.PRINTSTRINGVECTOR",
     235    "Pushes the top STRING[] onto the PRINT stack.",
     236    StackTypes.StringVector)]
    200237  public class StringVectorPrintExpression : PrintExpression<string> {
    201238    public StringVectorPrintExpression() { }
     
    213250
    214251  [StorableClass]
    215   [PushExpression(StackTypes.Print, "PRINT.PRINTBOOLEANVECTOR", StackTypes.BooleanVector)]
     252  [PushExpression(
     253    StackTypes.Print,
     254    "PRINT.PRINTBOOLEANVECTOR",
     255    "Pushes the top BOOLEAN[] onto the PRINT stack.",
     256    StackTypes.BooleanVector)]
    216257  public class BooleanVectorPrintExpression : PrintExpression<bool> {
    217258    public BooleanVectorPrintExpression() { }
Note: See TracChangeset for help on using the changeset viewer.