Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/StackdepthExpressions.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/StackdepthExpressions.cs
r15017 r15032 30 30 31 31 [StorableClass] 32 [PushExpression(StackTypes.Integer, "INTEGER.STACKDEPTH")] 32 [PushExpression( 33 StackTypes.Integer, 34 "INTEGER.STACKDEPTH", 35 "Pushes the stack depth onto the INTEGER stack.")] 33 36 public class IntegerStackdepthExpression : StackdepthExpression<long> { 34 37 public IntegerStackdepthExpression() { } … … 42 45 43 46 [StorableClass] 44 [PushExpression(StackTypes.Float, "FLOAT.STACKDEPTH", StackTypes.Integer)] 47 [PushExpression( 48 StackTypes.Float, 49 "FLOAT.STACKDEPTH", 50 "Pushes the stack depth onto the INTEGER stack.", 51 StackTypes.Integer)] 45 52 public class FloatStackdepthExpression : StackdepthExpression<double> { 46 53 public FloatStackdepthExpression() { } … … 54 61 55 62 [StorableClass] 56 [PushExpression(StackTypes.Boolean, "BOOLEAN.STACKDEPTH", StackTypes.Integer)] 63 [PushExpression( 64 StackTypes.Boolean, 65 "BOOLEAN.STACKDEPTH", 66 "Pushes the stack depth onto the INTEGER stack.", 67 StackTypes.Integer)] 57 68 public class BooleanStackdepthExpression : StackdepthExpression<bool> { 58 69 public BooleanStackdepthExpression() { } … … 66 77 67 78 [StorableClass] 68 [PushExpression(StackTypes.Name, "NAME.STACKDEPTH", StackTypes.Integer)] 79 [PushExpression( 80 StackTypes.Name, 81 "NAME.STACKDEPTH", 82 "Pushes the stack depth onto the INTEGER stack.", 83 StackTypes.Integer)] 69 84 public class NameStackdepthExpression : StackdepthExpression<string> { 70 85 public NameStackdepthExpression() { } … … 78 93 79 94 [StorableClass] 80 [PushExpression(StackTypes.Exec, "EXEC.STACKDEPTH", StackTypes.Integer)] 95 [PushExpression( 96 StackTypes.Exec, 97 "EXEC.STACKDEPTH", 98 "Pushes the stack depth onto the INTEGER stack.", 99 StackTypes.Integer)] 81 100 public class ExecStackdepthExpression : StackdepthExpression<Expression> { 82 101 public ExecStackdepthExpression() { } … … 90 109 91 110 [StorableClass] 92 [PushExpression(StackTypes.Code, "CODE.STACKDEPTH", StackTypes.Integer)] 111 [PushExpression( 112 StackTypes.Code, 113 "CODE.STACKDEPTH", 114 "Pushes the stack depth onto the INTEGER stack.", 115 StackTypes.Integer)] 93 116 public class CodeStackdepthExpression : StackdepthExpression<Expression> { 94 117 public CodeStackdepthExpression() { } … … 102 125 103 126 [StorableClass] 104 [PushExpression(StackTypes.Char, "CHAR.STACKDEPTH", StackTypes.Integer)] 127 [PushExpression( 128 StackTypes.Char, 129 "CHAR.STACKDEPTH", 130 "Pushes the stack depth onto the INTEGER stack.", 131 StackTypes.Integer)] 105 132 public class CharStackdepthExpression : StackdepthExpression<char> { 106 133 public CharStackdepthExpression() { } … … 114 141 115 142 [StorableClass] 116 [PushExpression(StackTypes.String, "STRING.STACKDEPTH", StackTypes.Integer)] 143 [PushExpression( 144 StackTypes.String, 145 "STRING.STACKDEPTH", 146 "Pushes the stack depth onto the INTEGER stack.", 147 StackTypes.Integer)] 117 148 public class StringStackdepthExpression : StackdepthExpression<string> { 118 149 public StringStackdepthExpression() { } … … 126 157 127 158 [StorableClass] 128 [PushExpression(StackTypes.IntegerVector, "INTEGER[].STACKDEPTH", StackTypes.Integer)] 159 [PushExpression( 160 StackTypes.IntegerVector, 161 "INTEGER[].STACKDEPTH", 162 "Pushes the stack depth onto the INTEGER stack.", 163 StackTypes.Integer)] 129 164 public class IntegerVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<long>> { 130 165 public IntegerVectorStackdepthExpression() { } … … 138 173 139 174 [StorableClass] 140 [PushExpression(StackTypes.FloatVector, "FLOAT[].STACKDEPTH", StackTypes.Integer)] 175 [PushExpression( 176 StackTypes.FloatVector, 177 "FLOAT[].STACKDEPTH", 178 "Pushes the stack depth onto the INTEGER stack.", 179 StackTypes.Integer)] 141 180 public class FloatVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<double>> { 142 181 public FloatVectorStackdepthExpression() { } … … 149 188 150 189 [StorableClass] 151 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].STACKDEPTH", StackTypes.Integer)] 190 [PushExpression( 191 StackTypes.BooleanVector, 192 "BOOLEAN[].STACKDEPTH", 193 "Pushes the stack depth onto the INTEGER stack.", 194 StackTypes.Integer)] 152 195 public class BooleanVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<bool>> { 153 196 public BooleanVectorStackdepthExpression() { } … … 161 204 162 205 [StorableClass] 163 [PushExpression(StackTypes.StringVector, "STRING[].STACKDEPTH", StackTypes.Integer)] 206 [PushExpression( 207 StackTypes.StringVector, 208 "STRING[].STACKDEPTH", 209 "Pushes the stack depth onto the INTEGER stack.", 210 StackTypes.Integer)] 164 211 public class StringVectorStackdepthExpression : StackdepthExpression<IReadOnlyList<string>> { 165 212 public StringVectorStackdepthExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.