Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/ShoveExpressions.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/ShoveExpressions.cs
r15017 r15032 23 23 } 24 24 25 [PushExpression(StackTypes.Integer, "INTEGER.SHOVE")] 25 [PushExpression( 26 StackTypes.Integer, 27 "INTEGER.SHOVE", 28 "Moves the top INTEGER item to a specific stack index, whereby the index is taken from the INTEGER stack.")] 26 29 [StorableClass] 27 30 public class IntegerShoveExpression : ShoveExpression<long> { … … 39 42 } 40 43 41 [PushExpression(StackTypes.Float, "FLOAT.SHOVE", StackTypes.Integer)] 44 [PushExpression( 45 StackTypes.Float, 46 "FLOAT.SHOVE", 47 "Moves the top FLOAT item to a specific stack index, whereby the index is taken from the INTEGER stack.", 48 StackTypes.Integer)] 42 49 [StorableClass] 43 50 public class FloatShoveExpression : ShoveExpression<double> { … … 55 62 } 56 63 57 [PushExpression(StackTypes.Boolean, "BOOLEAN.SHOVE", StackTypes.Integer)] 64 [PushExpression( 65 StackTypes.Boolean, 66 "BOOLEAN.SHOVE", 67 "Moves the top BOOLEAN item to a specific stack index, whereby the index is taken from the INTEGER stack.", 68 StackTypes.Integer)] 58 69 [StorableClass] 59 70 public class BooleanShoveExpression : ShoveExpression<bool> { … … 71 82 } 72 83 73 [PushExpression(StackTypes.Name, "NAME.SHOVE", StackTypes.Integer)] 84 [PushExpression( 85 StackTypes.Name, 86 "NAME.SHOVE", 87 "Moves the top NAME item to a specific stack index, whereby the index is taken from the INTEGER stack.", 88 StackTypes.Integer)] 74 89 [StorableClass] 75 90 public class NameShoveExpression : ShoveExpression<string> { … … 87 102 } 88 103 89 [PushExpression(StackTypes.Exec, "EXEC.SHOVE", StackTypes.Integer, execIn: 1)] 104 [PushExpression( 105 StackTypes.Exec, 106 "EXEC.SHOVE", 107 "Moves the top EXEC item to a specific stack index, whereby the index is taken from the INTEGER stack.", 108 StackTypes.Integer, 109 execIn: 1)] 90 110 [StorableClass] 91 111 public class ExecShoveExpression : ShoveExpression<Expression> { … … 103 123 } 104 124 105 [PushExpression(StackTypes.Code, "CODE.SHOVE", StackTypes.Integer)] 125 [PushExpression( 126 StackTypes.Code, 127 "CODE.SHOVE", 128 "Moves the top CODE item to a specific stack index, whereby the index is taken from the INTEGER stack.", 129 StackTypes.Integer)] 106 130 [StorableClass] 107 131 public class CodeShoveExpression : ShoveExpression<Expression> { … … 119 143 } 120 144 121 [PushExpression(StackTypes.Char, "CHAR.SHOVE", StackTypes.Integer)] 145 [PushExpression( 146 StackTypes.Char, 147 "CHAR.SHOVE", 148 "Moves the top CHAR item to a specific stack index, whereby the index is taken from the INTEGER stack.", 149 StackTypes.Integer)] 122 150 [StorableClass] 123 151 public class CharShoveExpression : ShoveExpression<char> { … … 135 163 } 136 164 137 [PushExpression(StackTypes.String, "STRING.SHOVE", StackTypes.Integer)] 165 [PushExpression( 166 StackTypes.String, 167 "STRING.SHOVE", 168 "Moves the top STRING item to a specific stack index, whereby the index is taken from the INTEGER stack.", 169 StackTypes.Integer)] 138 170 [StorableClass] 139 171 public class StringShoveExpression : ShoveExpression<string> { … … 151 183 } 152 184 153 [PushExpression(StackTypes.IntegerVector, "INTEGER[].SHOVE", StackTypes.Integer)] 185 [PushExpression( 186 StackTypes.IntegerVector, 187 "INTEGER[].SHOVE", 188 "Moves the top INTEGER[] item to a specific stack index, whereby the index is taken from the INTEGER stack.", 189 StackTypes.Integer)] 154 190 [StorableClass] 155 191 public class IntegerVectorShoveExpression : ShoveExpression<IReadOnlyList<long>> { … … 167 203 } 168 204 169 [PushExpression(StackTypes.FloatVector, "FLOAT[].SHOVE", StackTypes.Integer)] 205 [PushExpression( 206 StackTypes.FloatVector, 207 "FLOAT[].SHOVE", 208 "Moves the top FLOAT[] item to a specific stack index, whereby the index is taken from the INTEGER stack.", 209 StackTypes.Integer)] 170 210 [StorableClass] 171 211 public class FloatVectorShoveExpression : ShoveExpression<IReadOnlyList<double>> { … … 183 223 } 184 224 185 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].SHOVE", StackTypes.Integer)] 225 [PushExpression( 226 StackTypes.BooleanVector, 227 "BOOLEAN[].SHOVE", 228 "Moves the top BOOLEAN[] item to a specific stack index, whereby the index is taken from the INTEGER stack.", 229 StackTypes.Integer)] 186 230 [StorableClass] 187 231 public class BooleanVectorShoveExpression : ShoveExpression<IReadOnlyList<bool>> { … … 199 243 } 200 244 201 [PushExpression(StackTypes.StringVector, "STRING[].SHOVE", StackTypes.Integer)] 245 [PushExpression( 246 StackTypes.StringVector, 247 "STRING[].SHOVE", 248 "Moves the top STRING[] item to a specific stack index, whereby the index is taken from the INTEGER stack.", 249 StackTypes.Integer)] 202 250 [StorableClass] 203 251 public class StringVectorShoveExpression : ShoveExpression<IReadOnlyList<string>> {
Note: See TracChangeset
for help on using the changeset viewer.