Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/RandExpressions.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/RandExpressions.cs
r15017 r15032 11 11 12 12 /// <summary> 13 /// Pushes a random NAME. 14 /// </summary> 15 [PushExpression(StackTypes.Name, "NAME.RAND")] 13 /// Pushes a random already defined name or a new one onto the NAME stack. 14 /// </summary> 15 [PushExpression( 16 StackTypes.Name, 17 "NAME.RAND", 18 "Pushes a random already defined name or a new one based on the Name-ERC-Options onto the NAME stack.")] 16 19 [StorableClass] 17 20 public class NameRandExpression : StatelessExpression { … … 31 34 32 35 /// <summary> 33 /// Pushes a random integer. 34 /// </summary> 35 [PushExpression(StackTypes.Integer, "INTEGER.RAND")] 36 /// Pushes a random integer. 37 /// </summary> 38 [PushExpression( 39 StackTypes.Integer, 40 "INTEGER.RAND", 41 "Pushes a random integer based on the Integer-ERC-Options onto the INTEGER stack.")] 36 42 [StorableClass] 37 43 public class IntegerRandExpression : StatelessExpression { … … 51 57 52 58 /// <summary> 53 /// Pushes a random float. 54 /// </summary> 55 [PushExpression(StackTypes.Float, "FLOAT.RAND")] 59 /// Pushes a random float. 60 /// </summary> 61 [PushExpression( 62 StackTypes.Float, 63 "FLOAT.RAND", 64 "Pushes a random float based on the Float-ERC-Options onto the FLOAT stack.")] 56 65 [StorableClass] 57 66 public class FloatRandExpression : StatelessExpression { … … 73 82 /// Pushes a random boolean. 74 83 /// </summary> 75 [PushExpression(StackTypes.Boolean, "BOOLEAN.RAND")] 84 [PushExpression( 85 StackTypes.Boolean, 86 "BOOLEAN.RAND", 87 "Pushes a random boolean based on the Boolean-ERC-Options onto the BOOLEAN stack.")] 76 88 [StorableClass] 77 89 public class BooleanRandExpression : StatelessExpression { … … 93 105 /// Pushes random expressions onto the code stack. 94 106 /// </summary> 95 [PushExpression(StackTypes.Code, "CODE.RAND")] 107 [PushExpression( 108 StackTypes.Code, 109 "CODE.RAND", 110 "Pushes a random code onto the CODE stack.")] 96 111 [StorableClass] 97 112 public class CodeRandExpression : StatelessExpression { … … 121 136 /// Pushes a random char. 122 137 /// </summary> 123 [PushExpression(StackTypes.Char, "CHAR.RAND")] 138 [PushExpression( 139 StackTypes.Char, 140 "CHAR.RAND", 141 "Pushes a random char based on the Char-ERC-Options onto the CHAR stack.")] 124 142 [StorableClass] 125 143 public class CharRandExpression : StatelessExpression { … … 140 158 /// Pushes a random string. 141 159 /// </summary> 142 [PushExpression(StackTypes.String, "STRING.RAND")] 160 [PushExpression( 161 StackTypes.String, 162 "STRING.RAND", 163 "Pushes a random string based on the String-ERC-Options onto the STRING stack.")] 143 164 [StorableClass] 144 165 public class StringRandExpression : StatelessExpression { … … 159 180 /// Pushes a random interger vector. 160 181 /// </summary> 161 [PushExpression(StackTypes.IntegerVector, "INTEGER[].RAND")] 182 [PushExpression( 183 StackTypes.IntegerVector, 184 "INTEGER[].RAND", 185 "Pushes a random integer vector based on the Integer-Vector-ERC-Options onto the INTEGER[] stack.")] 162 186 [StorableClass] 163 187 public class IntegerVectorRandExpression : StatelessExpression { … … 179 203 /// Pushes a random float vector. 180 204 /// </summary> 181 [PushExpression(StackTypes.FloatVector, "FLOAT[].RAND")] 205 [PushExpression( 206 StackTypes.FloatVector, 207 "FLOAT[].RAND", 208 "Pushes a random float vector based on the Float-Vector-ERC-Options onto the FLOAT[] stack.")] 182 209 [StorableClass] 183 210 public class FloatVectorRandExpression : StatelessExpression { … … 199 226 /// Pushes a random boolean vector. 200 227 /// </summary> 201 [PushExpression(StackTypes.StringVector, "STRING[].RAND")] 228 [PushExpression( 229 StackTypes.StringVector, 230 "STRING[].RAND", 231 "Pushes a random string vector based on the String-Vector-ERC-Options onto the STRING[] stack.")] 202 232 [StorableClass] 203 233 public class StringVectorRandExpression : StatelessExpression {
Note: See TracChangeset
for help on using the changeset viewer.