Changeset 15032 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorIndexOfExpressions.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/VectorIndexOfExpressions.cs
r15017 r15032 43 43 44 44 [StorableClass] 45 [PushExpression(StackTypes.IntegerVector, "INTEGER[].INDEXOF", StackTypes.Integer)] 45 [PushExpression( 46 StackTypes.IntegerVector, 47 "INTEGER[].INDEXOF", 48 "Pushes the index of the top INTEGER in the top INTEGER[] onto the INTEGER stack.", 49 StackTypes.Integer)] 46 50 public class IntegerVectorIndexOfExpression : VectorIndexOfExpression<long> { 47 51 public IntegerVectorIndexOfExpression() { } … … 59 63 60 64 [StorableClass] 61 [PushExpression(StackTypes.FloatVector, "FLOAT[].INDEXOF", StackTypes.Float | StackTypes.Integer)] 65 [PushExpression( 66 StackTypes.FloatVector, 67 "FLOAT[].INDEXOF", 68 "Pushes the index of the top FLOAT in the top FLOAT[] onto the INTEGER stack.", 69 StackTypes.Float | StackTypes.Integer)] 62 70 public class FloatVectorIndexOfExpression : VectorIndexOfExpression<double> { 63 71 public FloatVectorIndexOfExpression() { } … … 75 83 76 84 [StorableClass] 77 [PushExpression(StackTypes.BooleanVector, "BOOLEAN[].INDEXOF", StackTypes.Boolean | StackTypes.Integer)] 85 [PushExpression( 86 StackTypes.BooleanVector, 87 "BOOLEAN[].INDEXOF", 88 "Pushes the index of the top BOOLEAN in the top BOOLEAN[] onto the INTEGER stack.", 89 StackTypes.Boolean | StackTypes.Integer)] 78 90 public class BooleanVectorIndexOfExpression : VectorIndexOfExpression<bool> { 79 91 public BooleanVectorIndexOfExpression() { } … … 91 103 92 104 [StorableClass] 93 [PushExpression(StackTypes.StringVector, "STRING[].INDEXOF", StackTypes.String | StackTypes.String)] 105 [PushExpression( 106 StackTypes.StringVector, 107 "STRING[].INDEXOF", 108 "Pushes the index of the top STRING in the top STRING[] onto the INTEGER stack.", 109 StackTypes.String | StackTypes.Integer)] 94 110 public class StringVectorIndexOfExpression : VectorIndexOfExpression<string> { 95 111 public StringVectorIndexOfExpression() { }
Note: See TracChangeset
for help on using the changeset viewer.