Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/FlushExpressions.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/FlushExpressions.cs
r15017 r15032 9 9 10 10 /// <summary> 11 /// 11 /// Empties the given stack. 12 12 /// </summary> 13 13 /// <typeparam name="T">Stacktype</typeparam> … … 23 23 } 24 24 25 [PushExpression(StackTypes.Integer, "INTEGER.FLUSH")] 25 [PushExpression( 26 StackTypes.Integer, 27 "INTEGER.FLUSH", 28 "Empties the INTEGER stack.")] 26 29 [StorableClass] 27 30 public class IntegerFlushExpression : FlushExpression<long> { … … 39 42 } 40 43 41 [PushExpression(StackTypes.Float, "FLOAT.FLUSH")] 44 [PushExpression( 45 StackTypes.Float, 46 "FLOAT.FLUSH", 47 "Empties the FLOAT stack.")] 42 48 [StorableClass] 43 49 public class FloatFlushExpression : FlushExpression<double> { … … 55 61 } 56 62 57 [PushExpression(StackTypes.Boolean, "BOOLEAN.FLUSH")] 63 [PushExpression( 64 StackTypes.Boolean, 65 "BOOLEAN.FLUSH", 66 "Empties the BOOLEAN stack.")] 58 67 [StorableClass] 59 68 public class BooleanFlushExpression : FlushExpression<bool> { … … 71 80 } 72 81 73 [PushExpression(StackTypes.Name, "NAME.FLUSH")] 82 [PushExpression( 83 StackTypes.Name, 84 "NAME.FLUSH", 85 "Empties the NAME stack.")] 74 86 [StorableClass] 75 87 public class NameFlushExpression : FlushExpression<string> { … … 87 99 } 88 100 89 [PushExpression(StackTypes.Exec, "EXEC.FLUSH")] 101 [PushExpression( 102 StackTypes.Exec, 103 "EXEC.FLUSH", 104 "Empties the EXEC stack.")] 90 105 [StorableClass] 91 106 public class ExecFlushExpression : FlushExpression<Expression> { … … 103 118 } 104 119 105 [PushExpression(StackTypes.Code, "CODE.FLUSH")] 120 [PushExpression( 121 StackTypes.Code, 122 "CODE.FLUSH", 123 "Empties the CODE stack.")] 106 124 [StorableClass] 107 125 public class CodeFlushExpression : FlushExpression<Expression> { … … 119 137 } 120 138 121 [PushExpression(StackTypes.Char, "CHAR.FLUSH")] 139 [PushExpression( 140 StackTypes.Char, 141 "CHAR.FLUSH", 142 "Empties the CHAR stack.")] 122 143 [StorableClass] 123 144 public class CharFlushExpression : FlushExpression<char> { … … 135 156 } 136 157 137 [PushExpression(StackTypes.String, "STRING.FLUSH")] 158 [PushExpression( 159 StackTypes.String, 160 "STRING.FLUSH", 161 "Empties the STRING stack.")] 138 162 [StorableClass] 139 163 public class StringFlushExpression : FlushExpression<string> { … … 151 175 } 152 176 153 [PushExpression(StackTypes.IntegerVector, "INTEGER[].FLUSH")] 177 [PushExpression( 178 StackTypes.IntegerVector, 179 "INTEGER[].FLUSH", 180 "Empties the INTEGER[] stack.")] 154 181 [StorableClass] 155 182 public class IntegerVectorFlushExpression : FlushExpression<IReadOnlyList<long>> { … … 167 194 } 168 195 169 [PushExpression(StackTypes.FloatVector, "FLOAT[].FLUSH")] 196 [PushExpression( 197 StackTypes.FloatVector, 198 "FLOAT[].FLUSH", 199 "Empties the FLOAT[] stack.")] 170 200 [StorableClass] 171 201 public class FloatVectorFlushExpression : FlushExpression<IReadOnlyList<double>> { … … 183 213 } 184 214 185 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].FLUSH")] 215 [PushExpression( 216 StackTypes.BooleanVector, 217 "BOOLEAN[].FLUSH", 218 "Empties the BOOLEAN[] stack.")] 186 219 [StorableClass] 187 220 public class BooleanVectorFlushExpression : FlushExpression<IReadOnlyList<bool>> { … … 199 232 } 200 233 201 [PushExpression(StackTypes.StringVector, "STRING[].FLUSH")] 234 [PushExpression( 235 StackTypes.StringVector, 236 "STRING[].FLUSH", 237 "Empties the STRING[] stack.")] 202 238 [StorableClass] 203 239 public class StringVectorFlushExpression : FlushExpression<IReadOnlyList<string>> {
Note: See TracChangeset
for help on using the changeset viewer.