Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorLengthExpressions.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/VectorLengthExpressions.cs
r15017 r15032 28 28 29 29 [StorableClass] 30 [PushExpression(StackTypes.IntegerVector, "INTEGER[].LENGTH", StackTypes.Integer)] 30 [PushExpression( 31 StackTypes.IntegerVector, 32 "INTEGER[].LENGTH", 33 "Pushes the length of the top INTEGER[] on the INTEGER stack", 34 StackTypes.Integer)] 31 35 public class IntegerVectorLengthExpression : VectorLengthExpression<long> { 32 36 public IntegerVectorLengthExpression() { } … … 44 48 45 49 [StorableClass] 46 [PushExpression(StackTypes.FloatVector, "FLOAT[].LENGTH", StackTypes.Integer)] 50 [PushExpression( 51 StackTypes.FloatVector, 52 "FLOAT[].LENGTH", 53 "Pushes the length of the top FLOAT[] on the INTEGER stack", 54 StackTypes.Integer)] 47 55 public class FloatVectorLengthExpression : VectorLengthExpression<double> { 48 56 public FloatVectorLengthExpression() { } … … 60 68 61 69 [StorableClass] 62 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].LENGTH", StackTypes.Integer)] 70 [PushExpression( 71 StackTypes.BooleanVector, 72 "BOOLEAN[].LENGTH", 73 "Pushes the length of the top BOOLEAN[] on the INTEGER stack", 74 StackTypes.Integer)] 63 75 public class BooleanVectorLengthExpression : VectorLengthExpression<bool> { 64 76 public BooleanVectorLengthExpression() { } … … 76 88 77 89 [StorableClass] 78 [PushExpression(StackTypes.StringVector, "STRING[].LENGTH", StackTypes.Integer)] 90 [PushExpression( 91 StackTypes.StringVector, 92 "STRING[].LENGTH", 93 "Pushes the length of the top STRING[] on the INTEGER stack", 94 StackTypes.Integer)] 79 95 public class StringVectorLengthExpression : VectorLengthExpression<string> { 80 96 public StringVectorLengthExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.