Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/PrintExpressions.cs
- Timestamp:
- 06/12/17 14:11:43 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/PrintExpressions.cs
r15017 r15032 10 10 11 11 [StorableClass] 12 [PushExpression(StackTypes.Print, "PRINT.NEWLINE" )]12 [PushExpression(StackTypes.Print, "PRINT.NEWLINE", "Pushes an empty string onto the PRINT STACK.")] 13 13 public class PrintNewLineExpression : StatelessExpression { 14 14 public PrintNewLineExpression() { } … … 63 63 64 64 [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)] 66 70 public class BooleanPrintExpression : PrintExpression<bool> { 67 71 public BooleanPrintExpression() { } … … 79 83 80 84 [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)] 82 90 public class CharPrintExpression : PrintExpression<char> { 83 91 public CharPrintExpression() { } … … 95 103 96 104 [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)] 98 111 public class ExecPrintExpression : PrintExpression<Expression> { 99 112 public ExecPrintExpression() { } … … 111 124 112 125 [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)] 114 131 public class FloatPrintExpression : PrintExpression<double> { 115 132 public FloatPrintExpression() { } … … 133 150 134 151 [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)] 136 157 public class IntegerPrintExpression : PrintExpression<long> { 137 158 public IntegerPrintExpression() { } … … 149 170 150 171 [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)] 152 177 public class StringPrintExpression : PrintExpression<string> { 153 178 public StringPrintExpression() { } … … 165 190 166 191 [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)] 168 197 public class IntegerVectorPrintExpression : PrintExpression<long> { 169 198 public IntegerVectorPrintExpression() { } … … 181 210 182 211 [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)] 184 217 public class FloatVectorPrintExpression : PrintExpression<double> { 185 218 public FloatVectorPrintExpression() { } … … 197 230 198 231 [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)] 200 237 public class StringVectorPrintExpression : PrintExpression<string> { 201 238 public StringVectorPrintExpression() { } … … 213 250 214 251 [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)] 216 257 public class BooleanVectorPrintExpression : PrintExpression<bool> { 217 258 public BooleanVectorPrintExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.