Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/RotateExpressions.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/RotateExpressions.cs
r15017 r15032 20 20 21 21 22 [PushExpression(StackTypes.Integer, "INTEGER.ROT")] 22 [PushExpression( 23 StackTypes.Integer, 24 "INTEGER.ROT", 25 "Rotates the top 3 items of the INTEGER stack clockwise.")] 23 26 [StorableClass] 24 27 public class IntegerRotateExpression : RotateExpression<long> { … … 36 39 } 37 40 38 [PushExpression(StackTypes.Float, "FLOAT.ROT")] 41 [PushExpression( 42 StackTypes.Float, 43 "FLOAT.ROT", 44 "Rotates the top 3 items of the FLOAT stack clockwise.")] 39 45 [StorableClass] 40 46 public class FloatRotateExpression : RotateExpression<double> { … … 52 58 } 53 59 54 [PushExpression(StackTypes.Boolean, "BOOLEAN.ROT")] 60 [PushExpression( 61 StackTypes.Boolean, 62 "BOOLEAN.ROT", 63 "Rotates the top 3 items of the BOOLEAN stack clockwise.")] 55 64 [StorableClass] 56 65 public class BooleanRotateExpression : RotateExpression<bool> { … … 68 77 } 69 78 70 [PushExpression(StackTypes.Name, "NAME.ROT")] 79 [PushExpression( 80 StackTypes.Name, 81 "NAME.ROT", 82 "Rotates the top 3 items of the NAME stack clockwise.")] 71 83 [StorableClass] 72 84 public class NameRotateExpression : RotateExpression<string> { … … 84 96 } 85 97 86 [PushExpression(StackTypes.Exec, "EXEC.ROT", execIn: 3)] 98 [PushExpression( 99 StackTypes.Exec, 100 "EXEC.ROT", 101 "Rotates the top 3 items of the EXEC stack clockwise.", 102 execIn: 3)] 87 103 [StorableClass] 88 104 public class ExecRotateExpression : RotateExpression<Expression> { … … 100 116 } 101 117 102 [PushExpression(StackTypes.Code, "CODE.ROT")] 118 [PushExpression( 119 StackTypes.Code, 120 "CODE.ROT", 121 "Rotates the top 3 items of the CODE stack clockwise.")] 103 122 [StorableClass] 104 123 public class CodeRotateExpression : RotateExpression<Expression> { … … 116 135 } 117 136 118 [PushExpression(StackTypes.Char, "CHAR.ROT")] 137 [PushExpression( 138 StackTypes.Char, 139 "CHAR.ROT", 140 "Rotates the top 3 items of the CHAR stack clockwise.")] 119 141 [StorableClass] 120 142 public class CharRotateExpression : RotateExpression<char> { … … 132 154 } 133 155 134 [PushExpression(StackTypes.String, "STRING.ROT")] 156 [PushExpression( 157 StackTypes.String, 158 "STRING.ROT", 159 "Rotates the top 3 items of the STRING stack clockwise.")] 135 160 [StorableClass] 136 161 public class StringRotateExpression : RotateExpression<string> { … … 148 173 } 149 174 150 [PushExpression(StackTypes.IntegerVector, "INTEGER[].ROT")] 175 [PushExpression( 176 StackTypes.IntegerVector, 177 "INTEGER[].ROT", 178 "Rotates the top 3 items of the INTEGER[] stack clockwise.")] 151 179 [StorableClass] 152 180 public class IntegerVectorRotateExpression : RotateExpression<IReadOnlyList<long>> { … … 164 192 } 165 193 166 [PushExpression(StackTypes.FloatVector, "FLOAT[].ROT")] 194 [PushExpression( 195 StackTypes.FloatVector, 196 "FLOAT[].ROT", 197 "Rotates the top 3 items of the FLOAT[] stack clockwise.")] 167 198 [StorableClass] 168 199 public class FloatVectorRotateExpression : RotateExpression<IReadOnlyList<double>> { … … 180 211 } 181 212 182 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].ROT")] 213 [PushExpression( 214 StackTypes.BooleanVector, 215 "BOOLEAN[].ROT", 216 "Rotates the top 3 items of the BOOLEAN[] stack clockwise.")] 183 217 [StorableClass] 184 218 public class BooleanVectorRotateExpression : RotateExpression<IReadOnlyList<bool>> { … … 196 230 } 197 231 198 [PushExpression(StackTypes.StringVector, "STRING[].ROT")] 232 [PushExpression( 233 StackTypes.StringVector, 234 "STRING[].ROT", 235 "Rotates the top 3 items of the STRING[] stack clockwise.")] 199 236 [StorableClass] 200 237 public class StringVectorRotateExpression : RotateExpression<IReadOnlyList<string>> {
Note: See TracChangeset
for help on using the changeset viewer.